From 6b895d07456e5776c1b3506e1ba46b9595cb5ffb Mon Sep 17 00:00:00 2001 From: Virgil Dupras Date: Sat, 10 Oct 2020 13:31:54 -0400 Subject: [PATCH] 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... --- recipes/sms/xcomp.fs | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/recipes/sms/xcomp.fs b/recipes/sms/xcomp.fs index d66a66f..6dd3d6b 100644 --- a/recipes/sms/xcomp.fs +++ b/recipes/sms/xcomp.fs @@ -19,7 +19,7 @@ SYSVARS 0x72 + CONSTANT PAD_MEM 282 LOAD ( boot.z80.decl ) 270 LOAD ( xcomp overrides ) -0x100 JP, 0x63 ZFILL, ( 0x66 ) +DI, 0x100 JP, 0x62 ZFILL, ( 0x66 ) RETN, 0x98 ZFILL, ( 0x100 ) ( All set, carry on! ) CURRENT @ XCURRENT ! @@ -33,6 +33,6 @@ CREATE ~FNT CPFNT7x7 (entry) _ ( Update LATEST ) PC ORG @ 8 + ! -," VDP$ PAD$ " EOT, +," VDP$ PAD$ (im1) " EOT, ORG @ 0x100 - 256 /MOD 2 PC! 2 PC! H@ 256 /MOD 2 PC! 2 PC!