[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[no subject]
I think there are some free block editors out there if you just want to
read and write disks. I use a commercial program called Salvation Supreme
that allows reading and writing of blocks.
A simple program would be this:
JSR $BF00
DFB function_code
DW address_of_parameters
$BF00 is the entry point for ProDOS, function_code is what you want done
($80 is read a block & $81 is write a block) and the address_of_parameters
contains a pointer to information like which block to read or write, where
to put or get the information, etc.
I am sure this has been done from Applesoft. The routine would be put in a
free part of memory and then called from Applesoft.
It is usually done on a block level. I think a sector is half a block.
- James - [IMAGE]