Skip to content

Commit

Permalink
Updated comments.
Browse files Browse the repository at this point in the history
  • Loading branch information
uniabis committed Jun 29, 2023
1 parent abb1f13 commit 8db33cc
Showing 1 changed file with 12 additions and 8 deletions.
20 changes: 12 additions & 8 deletions gfss/z80/gfssb97c.sz
Original file line number Diff line number Diff line change
Expand Up @@ -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:
Expand All @@ -29,15 +33,15 @@ SOUND_DRIVER_INTERRUPT_ENTRY:
AND A
JR NZ, .bufferc1
.bufferc2:
LD DE, 5C00H
LD DE, 1C00H + 4000H

EXX
LD HL, 0D15AH+3

JP .updatec

.bufferc1:
LD DE, 4C00H
LD DE, 0C00H + 4000H

EXX
LD HL, 0D0DAH+3
Expand All @@ -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
Expand All @@ -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
Expand Down

0 comments on commit 8db33cc

Please sign in to comment.