Skip to content

Commit dbdb9af

Browse files
committed
use JS instead of flips binaries
1 parent 67b7cdb commit dbdb9af

File tree

7 files changed

+821
-5
lines changed

7 files changed

+821
-5
lines changed

build.bat

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -17,7 +17,7 @@ ld65 -m tetris.map -Ln tetris.lbl --dbgfile tetris.dbg -o tetris.nes -C src/tetr
1717

1818
: create patch
1919

20-
"./tools/flips-windows" --create clean.nes tetris.nes tetris.bps
20+
node ./tools/patch/create.js clean.nes tetris.nes tetris.bps
2121

2222
: show some stats
2323

build.sh

Lines changed: 2 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -89,10 +89,8 @@ ca65 ${compile_flags[*]} -l tetris.lst -g src/main.asm -o main.o
8989
ld65 -m tetris.map -Ln tetris.lbl --dbgfile tetris.dbg -o tetris.nes -C src/tetris.nes.cfg main.o header.o
9090

9191
# create patch
92-
if [[ -f clean.nes ]] && [[ $(uname) == "Darwin" ]]; then
93-
echo "Unable to create patch on mac"
94-
elif [[ -f clean.nes ]]; then
95-
./tools/flips-linux --create clean.nes tetris.nes tetris.bps
92+
if [[ -f clean.nes ]]; then
93+
node ./tools/patch/create.js clean.nes tetris.nes tetris.bps
9694
else
9795
echo "clean.nes not found. Skipping patch creation."
9896
fi

tools/flips-linux

-95.1 KB
Binary file not shown.

tools/flips-windows.exe

-241 KB
Binary file not shown.

0 commit comments

Comments
 (0)