Msg: 6422 *Conference*
04-08-96 17:38:23
From: RON WIESEN
To : ANTHONY FEST
Subj: REPLY TO MSG #6419 (FIXING RAMPAC)
Whoops! It's not byte 227 of the Directory that you want to change (BUT YOU HAVE CHANGED IT), but a Directory byte related to Sector 227. There are a PAIR OF DIRECTORY BYTES for each sector. Ignoring byte 000 and 001 which belong to the Directory (Sector 000), the byte number to Sector relationship is shown below: 002 and 003 Sector 001 004 and 005 Sector 002 006 and 007 Sector 003 008 and 009 Sector 004 010 and 011 Sector 005 ... ... ... 454 and 455 Sector 227 ... ... ... 502 and 503 Sector 251 504 and 505 Sector 252 506 and 507 Sector 253 508 and 509 Sector 254 510 and 511 Sector 255 Note that you have changed byte 227 which is related to Sector 113. Off hand I don't remember exactly how the bytes of a pair are formatted. I think it's as follows: Even-numbered byte is flag that identifies Sector status: Free, 1st of a chain, various other states. Odd-numbered byte is "chain to next sector" and it is zero for the last sector of a chain. What you need to change is byte number 454. Change its content so a sector status of "Free" is set. Then run N-DKTR.BA and see how things go. Because you changed an odd-numbered Directory byte (227), you may have affected the "chain" of one file at Sector 113 in the chain. But if Sector 113 is in Free state (per even-numbered byte 226 of Directory) then no harm has been done. Better look over the Rampac documentation regarding the status value. I don't remember if zero status means "Free sector".