import: backbuffer blit code (separated out rectangular, palette, SCB, or full screen blits)
This commit is contained in:
parent
f52cc8a434
commit
f68595821f
2 changed files with 29446 additions and 0 deletions
29445
joeylib/src/iigs/blit.asm
Normal file
29445
joeylib/src/iigs/blit.asm
Normal file
File diff suppressed because it is too large
Load diff
1
joeylib/src/iigs/unroll.macros
Normal file
1
joeylib/src/iigs/unroll.macros
Normal file
|
@ -0,0 +1 @@
|
||||||
|
MACRO
&lab _pushpage
&lab lcla &addr
&addr seta 254
lcla &loop
&loop seta 128
.ploop
pei &addr
&addr seta &addr-2
&loop seta &loop-1
aif &loop,^ploop
MEND
macro
&lab asl4
&lab lcla &ct
&ct seta 4
.top
asl a
&ct seta &ct-1
aif &ct>0,^top
mend
macro
&lab _auxON
&lab lda >$00C068
ora #$0030
sta >$00C068
mend
macro
&lab _auxOFF
&lab lda >$00C068
and #$FFCF
sta >$00C068
mend
macro
&lab _shadowON
&lab lda >$00C035
and #$FFF7
sta >$00C035
mend
macro
&lab _shadowOFF
&lab lda >$00C035
ora #$0008
sta >$00C035
mend
|
Loading…
Add table
Reference in a new issue