diff --git a/demos/wargames/ssi263_detect.s b/demos/wargames/ssi263_detect.s index df8f608f..8294346b 100644 --- a/demos/wargames/ssi263_detect.s +++ b/demos/wargames/ssi263_detect.s @@ -10,6 +10,7 @@ ;============================= ;============================= ; A = slot of mockingboard + ; carry set if found detect_ssi263: and #$7 @@ -68,9 +69,13 @@ wait_irq: bne wait_irq inx ; bne wait_irq + sei + clc ; not found + rts got_irq: sei ; disable interrupts + sec ; found rts diff --git a/demos/wargames/wargames.dsk b/demos/wargames/wargames.dsk new file mode 100644 index 00000000..827f2cbf Binary files /dev/null and b/demos/wargames/wargames.dsk differ diff --git a/demos/wargames/wargames.s b/demos/wargames/wargames.s index cc0fcda3..c568515d 100644 --- a/demos/wargames/wargames.s +++ b/demos/wargames/wargames.s @@ -13,6 +13,7 @@ VGI_CX = P1 VGI_CY = P2 VGI_CR = P3 +SSI_FOUND = $08 NIBCOUNT = $09 CH = $24 CV = $25 @@ -68,6 +69,9 @@ wargames: ; jmp exchange ; debug + lda #0 + sta DRAW_PAGE + jsr HOME lda #