From d9b530495cab5facb9b044472fd7c4b9b565d176 Mon Sep 17 00:00:00 2001 From: Devine Lu Linvega Date: Sat, 10 Feb 2024 19:09:42 -0800 Subject: [PATCH] Drawing layout --- gui/shaviankb/assets.tal | 2 +- gui/shaviankb/cream12.uf2 | Bin 0 -> 8448 bytes gui/shaviankb/shaviankb.tal | 52 ++++++++++++++++++------------------ 3 files changed, 27 insertions(+), 27 deletions(-) create mode 100644 gui/shaviankb/cream12.uf2 diff --git a/gui/shaviankb/assets.tal b/gui/shaviankb/assets.tal index 64b18b5..e48077c 100644 --- a/gui/shaviankb/assets.tal +++ b/gui/shaviankb/assets.tal @@ -104,7 +104,7 @@ &four 0000 0000 0000 0000 0000 0000 0000 0000 ={ "4 } &five 0000 0000 0000 0000 0000 0000 0000 0000 ={ "5 } &six 0000 0000 0000 0000 0000 0000 0000 0000 ={ "6 } -&seven 0000 0000 0000 0000 0000 0000 0000 0000 ={ "7 } +&seven 0000 00fc 0404 0808 1010 2020 0000 0000 ={ "7 } &eight 0000 0000 0000 0000 0000 0000 0000 0000 ={ "8 } &nine 0000 0000 0000 0000 0000 0000 0000 0000 ={ "9 } diff --git a/gui/shaviankb/cream12.uf2 b/gui/shaviankb/cream12.uf2 new file mode 100644 index 0000000000000000000000000000000000000000..1c67710b9f733b925e03f7b49a545ed72de356ad GIT binary patch literal 8448 zcmeHMziT5$6kej$?)YNJo+}kD24RA@N~99R#b7pJiz`&faHR_8NVyy-TpVOjmasWo zh{G2yaD_O|APfQj0V#Bc3l}a@CY_2aQU#SNgf8#R?v8iX`$kn7<0ngc?|t*VnR)Yb zWyW&(LVa%)CSx9|TW+Jd<$0{pY%;F_FTdgE(rCDz>uoVGJ(7+!dlJf<43)n_Y4R}nCG?UFc*f2R|LN$vQX71dfI6Gzmdj??e=2_$##?EJX5 zw~ivB6pyEqxHFA8fk)GeKJR}&9TWI)Jf4WjY5D_!L-PqlxdYC#4su?bVF7+6P_8~s zFzEf;8`P3B0_RK4>$xSbulviu0st*z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Eyl literal 0 HcmV?d00001 diff --git a/gui/shaviankb/shaviankb.tal b/gui/shaviankb/shaviankb.tal index 0b708b5..3be1d0d 100644 --- a/gui/shaviankb/shaviankb.tal +++ b/gui/shaviankb/shaviankb.tal @@ -12,51 +12,51 @@ #f0ef .System/r DEO2 #f0e6 .System/g DEO2 #f0e2 .System/b DEO2 - #0100 .Screen/width DEO2 - #0080 .Screen/height DEO2 + #0120 .Screen/width DEO2 + #00c0 .Screen/height DEO2 ( #010e DEO ) BRK -@ ( -- ) - [ LITr -Screen/x ] DEI2r - ( ) [ LITr -Screen/y ] DEI2r ROT2r JMP2r - -@ ( -- ) - SWP2r STH2r .Screen/y DEO2 - SWP2r STH2r .Screen/y DEO2 +@ ( id* -- ) + DUP2 #0009 DIV2 #0030 MUL2 .Screen/y DEO2 + DUP #1e NEQ ?{ POP2 #0007 } + DUP #1f NEQ ?{ POP2 #0008 } + #0009 DIV2k MUL2 SUB2 #0020 MUL2 .Screen/x DEO2 JMP2r @ ( -- ) - ( ;shavian ;shavian #0010 ADD2 ;shavian #0020 ADD2 - ;shavian ;shavian #0010 ADD2 ;shavian #0020 ADD2 ) - JMP2r + #0020 #0000 + &l ( -- ) + DUP2 + DUP2 #0006 MUL2 ;layout ADD2 + ( ) STH2k #0004 ADD2 LDA2 + ( ) STH2kr #0002 ADD2 LDA2 + ( ) STH2r LDA2 + ( ) INC2 GTH2k ?&l + POP2 POP2 JMP2r @ ( addr* -- ) - STH2k .Screen/addr DEO2 + .Screen/addr DEO2 [ LIT2 15 -Screen/auto ] DEO - [ LIT2 05 -Screen/sprite ] DEOk - ( ) STH2r .Screen/addr DEO2 - ( ) .Screen/x DEI2k #0007 SUB2 ROT DEO2 - DEO + [ LIT2 05 -Screen/sprite ] DEO JMP2r -@ ( a* b* c* -- ) - +@ ( a* b* c* -- ) - .Screen/x DEI2k #0004 ADD2 ROT DEO2 + .Screen/x DEI2k #0006 ADD2 ROT DEO2 .Screen/y DEI2k #0004 ADD2 ROT DEO2 ( | a ) - .Screen/x DEI2k #0004 SUB2 ROT DEO2 - .Screen/y DEI2k #0008 ADD2 ROT DEO2 + .Screen/x DEI2k #0002 SUB2 ROT DEO2 + .Screen/y DEI2k #000c ADD2 ROT DEO2 ( | b ) - .Screen/x DEI2k #0004 SUB2 ROT DEO2 - .Screen/y DEI2k #0008 ADD2 ROT DEO2 + .Screen/x DEI2k #0002 SUB2 ROT DEO2 + .Screen/y DEI2k #000c ADD2 ROT DEO2 ( | c ) - - .Screen/x DEI2k #0008 ADD2 ROT DEO2 + .Screen/x DEI2k #0006 ADD2 ROT DEO2 + .Screen/y DEI2k #001c SUB2 ROT DEO2 JMP2r @ ( -- )