(romviz) Draw size at the top
This commit is contained in:
parent
a2be85d2b1
commit
07cc62a712
|
@ -95,6 +95,7 @@ JMP2r
|
||||||
@redraw ( -- )
|
@redraw ( -- )
|
||||||
|
|
||||||
( bytes )
|
( bytes )
|
||||||
|
#00 .Screen/auto DEO
|
||||||
;src .File/name DEO2
|
;src .File/name DEO2
|
||||||
#0001 .File/length DEO2
|
#0001 .File/length DEO2
|
||||||
;pixel-icn .Screen/addr DEO2
|
;pixel-icn .Screen/addr DEO2
|
||||||
|
@ -103,8 +104,13 @@ JMP2r
|
||||||
;&buf .File/read DEO2
|
;&buf .File/read DEO2
|
||||||
.File/success DEI2 #0000 EQU2 ?&eof
|
.File/success DEI2 #0000 EQU2 ?&eof
|
||||||
[ LIT &buf $1 ] STH2kr draw-cell INC2r
|
[ LIT &buf $1 ] STH2kr draw-cell INC2r
|
||||||
|
STH2kr #0000 EQU2 ?&eof
|
||||||
!&stream &eof
|
!&stream &eof
|
||||||
POP2r
|
( size )
|
||||||
|
#0200 .Screen/x DEO2
|
||||||
|
#0010 .Screen/y DEO2
|
||||||
|
#01 .Screen/auto DEO
|
||||||
|
STH2r draw-short
|
||||||
( filename )
|
( filename )
|
||||||
#0020 .Screen/x DEO2
|
#0020 .Screen/x DEO2
|
||||||
#0010 .Screen/y DEO2
|
#0010 .Screen/y DEO2
|
||||||
|
@ -164,7 +170,7 @@ JMP2r
|
||||||
|
|
||||||
addr-pos .Screen/y DEO2 .Screen/x DEO2
|
addr-pos .Screen/y DEO2 .Screen/x DEO2
|
||||||
DUP ?&no-null
|
DUP ?&no-null
|
||||||
.Screen/sprite DEO JMP2r
|
POP ( .Screen/sprite DEO ) JMP2r
|
||||||
&no-null
|
&no-null
|
||||||
DUP #20 GTH ?&no-low
|
DUP #20 GTH ?&no-low
|
||||||
POP #05 .Screen/sprite DEO JMP2r
|
POP #05 .Screen/sprite DEO JMP2r
|
||||||
|
|
Loading…
Reference in New Issue