Skip to content

Commit 48df1f6

Browse files
SSC Bug Fixes (#857)
* Fix for SSC bug * use correct CN to MSLOT
1 parent fe0452e commit 48df1f6

File tree

3 files changed

+7
-0
lines changed

3 files changed

+7
-0
lines changed

desk.acc/print.catalog.s

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -870,6 +870,9 @@ fail:
870870
stx vector+1
871871
ldx #>SLOT1 ; X = $Cn
872872
ldy #((>SLOT1)<<4)&%11110000 ; Y = $n0
873+
;; A2MISC TechNote #3 SSC C800 space
874+
stx MSLOT
875+
stx $CFFF
873876
vector: jsr SLOT1 ; self-modified
874877

875878
;; Back to what DeskTop expects

desk.acc/print.screen.s

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -242,6 +242,9 @@ loop: jsr SendRow
242242
stx vector+1
243243
ldx #>SLOT1 ; X = $Cn
244244
ldy #((>SLOT1)<<4)&%11110000 ; Y = $n0
245+
;; A2MISC TechNote #3 SSC C800 space
246+
stx MSLOT
247+
stx $CFFF
245248
vector: jmp SLOT1 ; self-modified
246249
.endproc ; GoCard
247250

inc/apple2.inc

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -133,6 +133,7 @@ CON_QUARTER := $F070 ; 1/4
133133

134134
;;; Other
135135
FBUFFR := $100
136+
MSLOT := $7F8 ; Slot in use, in case of IRQ
136137

137138

138139
;;; ============================================================

0 commit comments

Comments
 (0)