diff --git a/gfss/z80/gfssb97c.sz b/gfss/z80/gfssb97c.sz index fa75021..79ee306 100644 --- a/gfss/z80/gfssb97c.sz +++ b/gfss/z80/gfssb97c.sz @@ -13,12 +13,16 @@ SOUND_DRIVER_INTERRUPT_ENTRY: ; 1B00 SPRITE ATTIBUTE TABLE 1 ; 1B80 SPRITE ATTIBUTE TABLE 2 -; MSX2 DOUBLE BUFFER +; MSX2 MODE 2 DOUBLE BUFFER ; 4C00 SPRITE COLOR TABLE 1 ; 4E00 SPRITE ATTIBUTE TABLE 1 ; 5C00 SPRITE COLOR TABLE 2 ; 5E00 SPRITE ATTIBUTE TABLE 2 +; MSX2 MODE 1 DOUBLE BUFFER +; 1B80 SPRITE ATTIBUTE TABLE 2 +; 1F80 SPRITE ATTIBUTE TABLE 1 + ; CALLED FROM 8182/8240 ; ???? <- BCEB .patched_sprite_update: @@ -29,7 +33,7 @@ SOUND_DRIVER_INTERRUPT_ENTRY: AND A JR NZ, .bufferc1 .bufferc2: - LD DE, 5C00H + LD DE, 1C00H + 4000H EXX LD HL, 0D15AH+3 @@ -37,7 +41,7 @@ SOUND_DRIVER_INTERRUPT_ENTRY: JP .updatec .bufferc1: - LD DE, 4C00H + LD DE, 0C00H + 4000H EXX LD HL, 0D0DAH+3 @@ -63,11 +67,11 @@ SOUND_DRIVER_INTERRUPT_ENTRY: LD HL, 0D15AH IFDEF GRAPHIC3 - LD DE, 5E00H + LD DE, 1E00H + 4000H CALL .updaten LD BC, 0BF05H ELSE - LD DE, 5B80H + LD DE, 1B80H + 4000H CALL .updaten LD BC, 3705H ENDIF @@ -77,11 +81,11 @@ SOUND_DRIVER_INTERRUPT_ENTRY: LD HL, 0D0DAH IFDEF GRAPHIC3 - LD DE, 4E00H + LD DE, 0E00H + 4000H CALL .updaten - LD BC,09F05H + LD BC, 9F05H ELSE - LD DE, 5F80H + LD DE, 1F80H + 4000H CALL .updaten LD BC, 3F05H ENDIF