sms: explicitly set ourselves in IM 1

I'm not sure if not setting IM 1 explicitly can be the source of bugs,
but SMS Power's tutorial mentions that everyone is doing it, so...
This commit is contained in:
Virgil Dupras 2020-10-10 13:31:54 -04:00
parent 0d172cc2c4
commit 6b895d0745

View File

@ -19,7 +19,7 @@ SYSVARS 0x72 + CONSTANT PAD_MEM
282 LOAD ( boot.z80.decl ) 282 LOAD ( boot.z80.decl )
270 LOAD ( xcomp overrides ) 270 LOAD ( xcomp overrides )
0x100 JP, 0x63 ZFILL, ( 0x66 ) DI, 0x100 JP, 0x62 ZFILL, ( 0x66 )
RETN, 0x98 ZFILL, ( 0x100 ) RETN, 0x98 ZFILL, ( 0x100 )
( All set, carry on! ) ( All set, carry on! )
CURRENT @ XCURRENT ! CURRENT @ XCURRENT !
@ -33,6 +33,6 @@ CREATE ~FNT CPFNT7x7
(entry) _ (entry) _
( Update LATEST ) ( Update LATEST )
PC ORG @ 8 + ! PC ORG @ 8 + !
," VDP$ PAD$ " EOT, ," VDP$ PAD$ (im1) " EOT,
ORG @ 0x100 - 256 /MOD 2 PC! 2 PC! ORG @ 0x100 - 256 /MOD 2 PC! 2 PC!
H@ 256 /MOD 2 PC! 2 PC! H@ 256 /MOD 2 PC! 2 PC!