35 lines
672 B
Plaintext
35 lines
672 B
Plaintext
( sprite )
|
|
|
|
:dev/w fff9 ( const write port )
|
|
|
|
|0100 @RESET
|
|
|
|
#01 =dev/w ( set dev/write to screen )
|
|
#02 =dev/w ( set dev/write to sprite )
|
|
|
|
#0110 ,cursor_icn #0020 #0038 ,drawsprite JSR
|
|
#0010 ,rounds_chr #0028 #0038 ,drawsprite JSR
|
|
#3210 ,cursor_icn #0020 #0040 ,drawsprite JSR
|
|
#0010 ,rounds_chr #0028 #0040 ,drawsprite JSR
|
|
|
|
BRK
|
|
|
|
@drawsprite
|
|
IOW2 ( y short )
|
|
IOW2 ( x short )
|
|
IOW2 ( sprite address )
|
|
IOW2 ( redraw byte )
|
|
RTS
|
|
|
|
|0200 @SPRITESHEET
|
|
|
|
@cursor_icn [ 80c0 e0f0 f8e0 1000 ]
|
|
@rounds_chr [ 3844 92aa 9244 3800 0038 7c7c 7c38 0000 ]
|
|
|
|
BRK
|
|
|
|
|c000 @FRAME BRK
|
|
|d000 @ERROR BRK
|
|
|
|
|FFFA .RESET .FRAME .ERROR
|