Added drawing routines for each block
This commit is contained in:
parent
ef2dfe53eb
commit
3e100de392
|
@ -87,81 +87,23 @@ JMP2r
|
||||||
|
|
||||||
@to-screen ( x y -- )
|
@to-screen ( x y -- )
|
||||||
|
|
||||||
#00 SWP #03 MUL #0008 ADD2 .Screen/y DEO2
|
#00 SWP #0018 MUL2 #0008 ADD2 .Screen/y DEO2
|
||||||
#00 SWP #03 MUL #0008 ADD2 .Screen/x DEO2
|
#00 SWP #0018 MUL2 #0008 ADD2 .Screen/x DEO2
|
||||||
|
|
||||||
JMP2r
|
JMP2r
|
||||||
|
|
||||||
@draw-a ( -- )
|
@draw-a ( -- ) ;blocks-chr/a .Screen/addr DEO2 #56 .Screen/auto DEO #06 !draw-times
|
||||||
|
@draw-x ( -- ) ;blocks-chr/x !draw-11
|
||||||
#56 .Screen/auto DEO
|
@draw-w ( -- ) ;blocks-chr/w
|
||||||
;blocks-chr/a .Screen/addr DEO2
|
@draw-11 ( addr* -- ) .Screen/addr DEO2 #26 .Screen/auto DEO #03 !draw-times
|
||||||
#06 draw-times
|
@draw-c ( -- ) ;blocks-chr/c !draw-21
|
||||||
|
@draw-v ( -- ) ;blocks-chr/v !draw-21
|
||||||
JMP2r
|
@draw-z ( -- ) ;blocks-chr/z !draw-21
|
||||||
|
@draw-b ( -- ) ;blocks-chr/b
|
||||||
@draw-c ( -- )
|
@draw-21 ( addr* -- ) .Screen/addr DEO2 #56 .Screen/auto DEO #03 !draw-times
|
||||||
|
@draw-y ( -- ) ;blocks-chr/y !draw-12
|
||||||
#56 .Screen/auto DEO
|
@draw-d ( -- ) ;blocks-chr/d
|
||||||
;blocks-chr/c .Screen/addr DEO2
|
@draw-12 ( addr* -- ) .Screen/addr DEO2 #26 .Screen/auto DEO #06 !draw-times
|
||||||
#03 draw-times
|
|
||||||
|
|
||||||
JMP2r
|
|
||||||
|
|
||||||
@draw-z ( -- )
|
|
||||||
|
|
||||||
#56 .Screen/auto DEO
|
|
||||||
;blocks-chr/z .Screen/addr DEO2
|
|
||||||
#03 draw-times
|
|
||||||
|
|
||||||
JMP2r
|
|
||||||
|
|
||||||
@draw-y ( -- )
|
|
||||||
|
|
||||||
#56 .Screen/auto DEO
|
|
||||||
;blocks-chr/y .Screen/addr DEO2
|
|
||||||
#03 draw-times
|
|
||||||
|
|
||||||
JMP2r
|
|
||||||
@draw-x ( -- )
|
|
||||||
|
|
||||||
#56 .Screen/auto DEO
|
|
||||||
;blocks-chr/x .Screen/addr DEO2
|
|
||||||
#03 draw-times
|
|
||||||
|
|
||||||
JMP2r
|
|
||||||
|
|
||||||
@draw-v ( -- )
|
|
||||||
|
|
||||||
#56 .Screen/auto DEO
|
|
||||||
;blocks-chr/v .Screen/addr DEO2
|
|
||||||
#03 draw-times
|
|
||||||
|
|
||||||
JMP2r
|
|
||||||
|
|
||||||
@draw-b ( -- )
|
|
||||||
|
|
||||||
#56 .Screen/auto DEO
|
|
||||||
;blocks-chr/b .Screen/addr DEO2
|
|
||||||
#03 draw-times
|
|
||||||
|
|
||||||
JMP2r
|
|
||||||
|
|
||||||
@draw-d ( -- )
|
|
||||||
|
|
||||||
#26 .Screen/auto DEO
|
|
||||||
;blocks-chr/d .Screen/addr DEO2
|
|
||||||
#06 draw-times
|
|
||||||
|
|
||||||
JMP2r
|
|
||||||
|
|
||||||
@draw-w ( -- )
|
|
||||||
|
|
||||||
#26 .Screen/auto DEO
|
|
||||||
;blocks-chr/w .Screen/addr DEO2
|
|
||||||
#03 draw-times
|
|
||||||
|
|
||||||
JMP2r
|
|
||||||
|
|
||||||
@draw-times ( times -- )
|
@draw-times ( times -- )
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue