From e28f00bacb8a480ceec01c5510c65854cc01ab3e Mon Sep 17 00:00:00 2001 From: Devine Lu Linvega Date: Sun, 25 Aug 2024 20:17:17 -0700 Subject: [PATCH] (m291) Put placeolders --- gui/m291/src/m291.tal | 17 +++++++++++++++-- 1 file changed, 15 insertions(+), 2 deletions(-) diff --git a/gui/m291/src/m291.tal b/gui/m291/src/m291.tal index 2921507..3f3205a 100644 --- a/gui/m291/src/m291.tal +++ b/gui/m291/src/m291.tal @@ -332,6 +332,14 @@ [ LIT2 36 -Screen/auto ] DEO ;button-icn .Screen/addr DEO2 [ LIT2 01 -Screen/sprite ] DEOk DEOk DEOk DEO + ( | .. ) + #0008 .Screen/x DEO2 + #0080 .Screen/y DEO2 + ;placeholder/time-a #01 + ( | .. ) + .Screen/width DEI2 #0008 SUB2 .Screen/x DEO2 + #0080 .Screen/y DEO2 + ;placeholder/time-b #01 JMP2r @ ( addr* -- ) @@ -389,6 +397,11 @@ ADD2r INC2 LDAk ?&>while POP2 STH2r JMP2r +@ ( text* color -- ) + STH + .Screen/x DEI2 OVR2 get-uf2-width SUB2 .Screen/x DEO2 + STHr ! + @ ( text* color -- ) STH .Screen/x DEI2 OVR2 get-uf2-width #01 SFT2 SUB2 .Screen/x DEO2 @@ -506,8 +519,8 @@ &artist "Blood 20 "Girl $1 &track "Always 20 "Wrong $1 &album "Unknown 20 "Album $1 - &time-a "0:23 $1 - &time-b "-3:46 $1 + &time-a "0:31 $1 + &time-b "2:25 $1 @touch-chr [ 0000 0000 0814 1417 0000 0000 0008 0808