2023-06-05 16:29:18 -04:00
|
|
|
ZX02 = ~/research/6502_compression/zx02.git/build/zx02 -f
|
|
|
|
|
2023-06-14 16:56:30 -04:00
|
|
|
all: asplode.btc.zx02 asplode_sound.btc.zx02 back_off.btc.zx02
|
2023-06-05 16:29:18 -04:00
|
|
|
|
|
|
|
asplode.btc.zx02: asplode.btc
|
|
|
|
$(ZX02) asplode.btc asplode.btc.zx02
|
2023-06-07 13:52:12 -04:00
|
|
|
|
2023-06-11 02:06:45 -04:00
|
|
|
|
|
|
|
asplode_sound.btc.zx02: asplode_sound.btc
|
|
|
|
$(ZX02) asplode_sound.btc asplode_sound.btc.zx02
|
|
|
|
|
|
|
|
asplode_sound.btc: asplode.btc bim.btc boom.btc twang.btc
|
|
|
|
dd if=/dev/zero of=empty.btc bs=1 count=966
|
|
|
|
cat asplode.btc > asplode_sound.btc
|
|
|
|
cat empty.btc >> asplode_sound.btc
|
|
|
|
dd if=bim.btc bs=1 count=1024 >> asplode_sound.btc
|
|
|
|
dd if=boom.btc bs=1 count=1024 >> asplode_sound.btc
|
|
|
|
dd if=twang.btc bs=1 count=2048 >> asplode_sound.btc
|
|
|
|
|
|
|
|
|
2023-06-14 16:56:30 -04:00
|
|
|
back_off.btc.zx02: back_off.btc
|
|
|
|
$(ZX02) back_off.btc back_off.btc.zx02
|
|
|
|
|
|
|
|
|
|
|
|
|
2023-06-07 13:52:12 -04:00
|
|
|
clean:
|
2023-06-11 02:06:45 -04:00
|
|
|
rm -f *~ asplode_sound.btc
|