Restore correct offsets for disk writing

This commit is contained in:
hkz 2025-09-11 15:42:46 +02:00
commit 2855ba5209

View file

@ -523,11 +523,11 @@ wr_err_return:
lda #0x10 ; This will be the error code
rts
dii_write_sector:
RETRIES$: .equ 0xff
RETRIES$: .equ 0xff
; Note that the following buffers MUST be at the start of a page for write timing to be respected
__BUF2S: .equ 0xBD00 ; Default to this, it'll be overwritten when modifying this code. 86 entries.
__BUF6S: .equ 0xBC00 ; 256 entries.
__NIBTAB: .equ 0xBD56 ; This will contain the translation table for writing nibbles. 63 entries.
__BUF2S: .equ 0x9D00 ; Default to this, it'll be overwritten when modifying this code. 86 entries.
__BUF6S: .equ 0x9C00 ; 256 entries.
__NIBTAB: .equ 0x9D56
__OFFSETP6 .equ 0x0678
__T_RETRYC2:.equ _Zp+10