[abc80] Kompilera ABC Disk

juhasz juhasz at abc.se
Sat Feb 9 23:39:53 PST 2019


bra initiativ! bara så alla vet så pratas det om ABCBus! ;)

såhär brukar jag beräkna offset o sektorer etc  för abc832....
Robert
 if (mfcmd[0] == 3)            {       // / a read command                mfdrive=mfcmd [1]&3;                mfsec=(mfcmd[3] & 2)+(mfcmd[3]>>5)*4; // abc832 has cluster size 4. bit0-1 sec within cluster, bit 5-7 cluster no                if (mffile [mfdrive]) mffile[mfdrive].seek(((mfcmd[2]<<5)+((mfcmd[3]>>5)<<2)+(mfcmd[3] & 3))*256);              if (mffile [mfdrive])                   mffile[mfdrive].read(mffilebuf,256);
Skickat från min Samsung Galaxy-smartphone.
null


More information about the ABC80 mailing list