From 2855ba5209fc6e88e4842ed22753e6d999bcedf0 Mon Sep 17 00:00:00 2001 From: hkz Date: Thu, 11 Sep 2025 15:42:46 +0200 Subject: [PATCH] Restore correct offsets for disk writing --- src/disk2.s | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/src/disk2.s b/src/disk2.s index 320c135..e27c09c 100644 --- a/src/disk2.s +++ b/src/disk2.s @@ -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