| retrohackers.org https://retrohackers.org/ |
|
| How to show SCRATCHED files? https://retrohackers.org/viewtopic.php?f=15&t=562 |
Page 1 of 1 |
| Author: | MIRKOSOFT [ Tue Feb 23, 2010 6:10 am ] |
| Post subject: | How to show SCRATCHED files? |
Hi! As everybody know, if file is scratched, it's only not visible in directory, it's disk-allocated space is free until is overwritten. So, I want to ask that how to show SCRATCHED files which are still not overwritten in directory? Commodore has standard files PRG, SEQ, USR, REL, DEL, CBM files, but I want to show these files as SCR - scratched, of course locked files have < char as indicator. Can anybody help me? Thanks for every help. Miro |
|
| Author: | Diddl [ Tue Feb 23, 2010 10:15 am ] |
| Post subject: | Re: How to show SCRATCHED files? |
You have to read blocks directly from disc (directory blocks). For a 1571 you have to read sector at track 18 sector 1 and further on (next sector from first two bytes) To read blocks directly you open a buffer "#" and send "U1" command. (Alternatively burst read commands ... - not nessecary here). Each directory entry has 32 bytes if I correctly remember it. But this is very good documented, look for D64 description. |
|
| Page 1 of 1 | All times are UTC [ DST ] |
| Powered by phpBB® Forum Software © phpBB Group https://www.phpbb.com/ |
|