support the Mockingboard 4C

This commit is contained in:
Peter Ferrie 2022-04-27 21:48:02 -07:00
parent 35cbdc6fcf
commit e9c20bd549
2 changed files with 11 additions and 1 deletions

View File

@ -28,6 +28,16 @@
;------------------------------------------------------------------------------
GetMockingboardStuff
+ST16 @callback+1
lda ROM_MACHINEID
cmp #$06
bne @not_iic
ldx ROM_MACHINE2C
bne @not_iic
dex ; enable Mockingboard 4C support
stx $C403
stx $C404
@not_iic
lda #$00
sta $80
sta $82 ; type

View File

@ -80,7 +80,7 @@ call :compress
goto :EOF
)
echo usage: %0 clean / asm / dsk
echo usage: %0 clean / dsk
goto :EOF
:index