~rabbits/dexe

f45ee52af514e99db60ceeaf66858fb0ba94c61f — Devine Lu Linvega 1 year, 1 month ago d8c2752
Fixed issue with clear tile
3 files changed, 7 insertions(+), 10 deletions(-)

M build.sh
M src/dexe.tal
M src/manifest.tal
M build.sh => build.sh +3 -9
@@ 1,41 1,35 @@
#!/bin/sh -e

ID="dexe"
ASM="uxncli $HOME/roms/drifblim.rom"
EMU="uxnemu"
LIN="uxncli $HOME/roms/uxnlin.rom"
APP="$HOME/Applications/butler push"

SRC="src/dexe.tal"
DST="bin/dexe.rom"
SRC="src/${ID}.tal"
DST="bin/${ID}.rom"

CPY="$HOME/roms"
ARG="etc/hello.rom"
APPID="hundredrabbits/dexe:uxn"

echo ">> Cleaning"
rm -rf bin
mkdir bin

if [[ "$*" == *"--lint"* ]]
then
    echo ">> Linting $SRC"
	$LIN $SRC
fi

echo ">> Assembling $SRC"
$ASM $SRC $DST

if [[ "$*" == *"--save"* ]]
then
    echo ">> Saving $DST"
	cp $DST $CPY
fi

if [[ "$*" == *"--push"* ]]
then
    echo ">> Pushing $DST"
	$APP $DST $APPID
fi

echo ">> Running $DST"
$EMU $DST $ARG

M src/dexe.tal => src/dexe.tal +1 -0
@@ 255,6 255,7 @@ BRK
	#00 .Screen/auto DEO
	.cursor/x LDZ2 .Screen/x DEO2
	.cursor/y LDZ2 .Screen/y DEO2
	;fill-icn .Screen/addr DEO2
	#40 .Screen/sprite DEO
	( draw new cursor )
	.Mouse/x DEI2 DUP2 .cursor/x STZ2 .Screen/x DEO2

M src/manifest.tal => src/manifest.tal +3 -1
@@ 260,7 260,7 @@ JMP2r
	.Screen/y DEI2
		.Screen/auto DEI
			#f2 .Screen/auto DEO
			;blank-icn .Screen/addr DEO2
			;fill-icn ;blank-icn ;draw-chr/color LDA #00 EQU [ JMP SWP2 POP2 ] .Screen/addr DEO2
			;draw-chr/color LDA .Screen/sprite DEOk DEO
		.Screen/auto DEO
	.Screen/y DEO2


@@ 367,5 367,7 @@ JMP2r
	2020 20b8 7c7c 3838
@blank-icn
	0000 0000 0000 0000
@fill-icn
	ffff ffff ffff ffff

~src/assets.tal