From 3d0b4f7e0e1afea553582409df70a06f60fcea43 Mon Sep 17 00:00:00 2001 From: Joshua Bell Date: Mon, 5 Oct 2020 19:30:59 -0700 Subject: [PATCH] disasm wip --- clock.system.s | 65 +++++++++++++++++++++++++++++++++++++------------- 1 file changed, 48 insertions(+), 17 deletions(-) diff --git a/clock.system.s b/clock.system.s index 64490b3..b886309 100644 --- a/clock.system.s +++ b/clock.system.s @@ -31,10 +31,18 @@ has_80col := $09 ; 1 = has 80 column card month := $0A ; month from current date msg_num := $0B ; stashed message number +digits_buffer := $200 ; temporary usage during clock read + PRODOS_SYS_START := $2000 SLOT3_FIRMWARE := $C300 +;;; SSC in Slot 1 +PORT1_ACIA_STATUS := $C099 +PORT1_ACIA_COMMAND := $C09A +PORT1_ACIA_CONTROL := $C09B + +;;; SSC in Slot 2 PORT2_ACIA_STATUS := $C0A9 PORT2_ACIA_COMMAND := $C0AA PORT2_ACIA_CONTROL := $C0AB @@ -264,14 +272,15 @@ tries: .byte 0 L2110: .byte 0 -L2111: lda mach_type - bne L2135 ; not IIc +.proc L2111 + lda mach_type + bne skip ; not IIc lda L2110 - bne L2135 + bne skip inc L2110 - ldy #$99 + ldy #