mirror of
https://github.com/a2-4am/4cade.git
synced 2025-02-09 02:31:05 +00:00
.
This commit is contained in:
parent
3d056af2ca
commit
66b33dfd2f
@ -31,7 +31,7 @@ coord = $FE
|
||||
@exit rts
|
||||
|
||||
@coords
|
||||
!source "src/fx/fx.hgr.common.blockcoords.a"
|
||||
!source "src/fx/fx.hgr.block.fizzle.data.a"
|
||||
|
||||
!source "src/wait.a"
|
||||
!source "src/fx/fx.hgr.common.a"
|
||||
|
@ -56,7 +56,7 @@ coord = $FE
|
||||
@exit rts
|
||||
|
||||
@coords
|
||||
!source "src/fx/fx.hgr.common.blockcoords.a"
|
||||
!source "src/fx/fx.hgr.block.fizzle.data.a"
|
||||
|
||||
!source "src/wait.a"
|
||||
!source "src/fx/fx.hgr.common.a"
|
||||
|
@ -32,14 +32,19 @@ HGRCalc
|
||||
HGRBlockCopy
|
||||
; in: A = HGR row / 8 (0x00..0x17)
|
||||
; Y = HGR column (0x00..0x27)
|
||||
; out: all flags and registers clobbered
|
||||
sty @loop+1
|
||||
; out: Y preserved
|
||||
; X = #$FF
|
||||
; Z set
|
||||
; all other flags and registers clobbered
|
||||
sty @y
|
||||
asl
|
||||
asl
|
||||
asl
|
||||
jsr HGRCalc
|
||||
ldx #$08
|
||||
@loop ldy #$FD ; modified at runtime
|
||||
@y=*+1
|
||||
ldy #$FD ; modified at runtime
|
||||
@loop
|
||||
lda ($3c),y
|
||||
sta ($26),y
|
||||
lda $27
|
||||
@ -55,14 +60,19 @@ HGRBlockCopy
|
||||
HGRBlockToWhite
|
||||
; in: A = HGR row / 8 (0x00..0x17)
|
||||
; Y = HGR column (0x00..0x27)
|
||||
; out: all flags and registers clobbered
|
||||
sty @loop+1
|
||||
; out: Y preserved
|
||||
; X = #$FF
|
||||
; Z set
|
||||
; all other flags and registers clobbered
|
||||
sty @y
|
||||
asl
|
||||
asl
|
||||
asl
|
||||
jsr HGRCalc
|
||||
ldx #$08
|
||||
@loop ldy #$FD ; modified at runtime
|
||||
@y=*+1
|
||||
ldy #$FD ; modified at runtime
|
||||
@loop
|
||||
lda #$7F
|
||||
sta ($26),y
|
||||
lda $27
|
||||
|
Loading…
x
Reference in New Issue
Block a user