mirror of
https://github.com/Michaelangel007/apple2_fantavision_reloaded.git
synced 2024-12-27 17:29:17 +00:00
Cleanup RWTS_ReadSector
This commit is contained in:
parent
b8dc9f0cef
commit
72b5a6b89a
15
README.md
15
README.md
@ -751,11 +751,22 @@ I'll use the prefix:
|
|||||||
B00F:38 SEC ; Error TODO: Who calls us???
|
B00F:38 SEC ; Error TODO: Who calls us???
|
||||||
B010:60 RTS
|
B010:60 RTS
|
||||||
|
|
||||||
|
; The main "workhorse" -- read one sector
|
||||||
|
; Called internally at $B366
|
||||||
|
; Called externally by the user indirectly via:
|
||||||
|
;
|
||||||
|
; * RWTS_ReadTrack
|
||||||
|
; * RWTS_LoadCode
|
||||||
|
; * RWTS_LoadBlocks
|
||||||
|
; * RWTS_ReadTrackQuiet
|
||||||
|
;
|
||||||
; ====================
|
; ====================
|
||||||
; X = Slot * $10
|
; X = Slot * $10
|
||||||
|
; E6 = Pointer to Dest Address Low
|
||||||
|
; E7 = Pointer to Dest Address High
|
||||||
; ====================
|
; ====================
|
||||||
RWTS_ReadSector
|
RWTS_ReadSector
|
||||||
B011:86 FD STX rwts_SlotX16 ; $E6 = Pointer to Dest Address
|
B011:86 FD STX rwts_SlotX16
|
||||||
B013:8A TXA
|
B013:8A TXA
|
||||||
B014:09 8C ORA #<DRIVE_DATA ; DRIVE_DATA = $C08C
|
B014:09 8C ORA #<DRIVE_DATA ; DRIVE_DATA = $C08C
|
||||||
B016:8D 70 B0 STA FixupA+1 ; *** SELF-MODIFYING CODE: LDX $C0xC
|
B016:8D 70 B0 STA FixupA+1 ; *** SELF-MODIFYING CODE: LDX $C0xC
|
||||||
|
Loading…
Reference in New Issue
Block a user