rm pushover.zip
rm example01.asm
rm pushover/*
rmdir pushover
mkdir pushover





dd bs=$((0x8000)) count=1 if=/dev/zero of=dummy32k.bin





#- zxb.py example01.zxb --asm --org=$((0x0000))
#- zxb.py example01.zxb --org=$((0x0000))
zxb.py library/smsboot.bas --org=1024
dd ibs=1 count=$((0x0069)) skip=$((0x0000)) if=smsboot.bin of=smsboot2.bin
zxb.py example01.zxb --heap-size=128 --asm --org=$((0x0069))
zxb.py example01.zxb --heap-size=128 --org=$((0x0069))
cat example01.bin >> smsboot2.bin
rm example01.bin
mv smsboot2.bin example01.bin
cat dummy32k.bin >> example01.bin
dd ibs=1 count=$((0x0800)) skip=$((0x0000)) if=example01.bin of=pushover/po40.bin
dd ibs=1 count=$((0x0800)) skip=$((0x0800)) if=example01.bin of=pushover/po41.bin
dd ibs=1 count=$((0x0800)) skip=$((0x1000)) if=example01.bin of=pushover/po42.bin

#ROM_START( pushover )
#ROM_REGION( 0x10000, "maincpu", 0 )
#ROM_LOAD( "po40.bin", 0x0000, 0x0800, CRC(eb612cf7) SHA1(93d6b4d5a3c275cc27bece6f1fb1e8be7c6997bf) )
#ROM_LOAD( "po41.bin", 0x0800, 0x0800, CRC(268fd1b2) SHA1(a2421807cb38901ec7c24a8c6eecb34677235c21) )
#ROM_LOAD( "po42.bin", 0x1000, 0x0800, CRC(c0bb3f19) SHA1(8e773cc9503755a24428f9b0bbad1721a38e2c54) )



















zxb.py library/b1r1f1_charmapbeaminvader01.zxi --org=$((0x0000))
cat dummy32k.bin >> b1r1f1_charmapbeaminvader01.bin
dd ibs=1 count=$((0x2000)) skip=$((0x0010)) if=b1r1f1_charmapbeaminvader01.bin of=pushover/pu5.bin
dd ibs=1 count=$((0x2000)) skip=$((0x0010)) if=b1r1f1_charmapbeaminvader01.bin of=pushover/pu6.bin
dd ibs=1 count=$((0x2000)) skip=$((0x0010)) if=b1r1f1_charmapbeaminvader01.bin of=pushover/pu7.bin
dd ibs=1 count=$((0x2000)) skip=$((0x0010)) if=b1r1f1_charmapbeaminvader01.bin of=pushover/pu8.bin
rm b1r1f1_charmapbeaminvader01.bin

#ROM_REGION( 0x2000, "gfx1", 0 )
#ROM_LOAD( "pu5.bin", 0x0000, 0x0800, CRC(79c07fbd) SHA1(9c36fa5d369dc5a177501ec302ced1ebaba1102a) )
#ROM_LOAD( "pu6.bin", 0x0800, 0x0800, CRC(3049e8b2) SHA1(becb09c8d3a25e5e2104aa46f8142e1954b1fede) )
#ROM_LOAD( "pu7.bin", 0x1000, 0x0800, CRC(d84fe540) SHA1(de7e66bc2f1d82a2db6a48525ed1802ec20cea44) )
#ROM_LOAD( "pu8.bin", 0x1800, 0x0800, CRC(e7da3be6) SHA1(b02aceef84860cdc9190b73ffe3fa8173e210682) )


















#zxb.py library/palette01.bas --org=$((0x0000))
#cat dummy32k.bin >> palette01.bin
#dd ibs=1 count=$((0x0020)) skip=$((0x0010)) if=palette01.bin of=pushover/pushover.3j
#rm palette01.bin
#dd bs=$((0x0020)) count=1 if=/dev/urandom of=pushover/pushover.3j
#- clut01.zxi might need to be different files
#zxb.py library/clut01.zxi --org=$((0x0000))
#cat dummy32k.bin >> clut01.bin
#dd ibs=1 count=$((0x0200)) skip=$((0x0010)) if=clut01.bin of=clut01b.bin
#rm clut01.bin
#dd ibs=1 count=$((0x0100)) skip=$((0x0000)) if=clut01b.bin of=pushover/pushover.5h
#dd ibs=1 count=$((0x0100)) skip=$((0x0100)) if=clut01b.bin of=pushover/pushover.11j
#rm clut01b.bin
#dd bs=256 count=1 if=/dev/zero of=pushover/82s126.1m

dd bs=$((0x0400)) count=1 if=/dev/urandom of=pushover/prom1.bin
dd bs=$((0x0400)) count=1 if=/dev/urandom of=pushover/prom2.bin
dd bs=$((0x0400)) count=1 if=/dev/urandom of=pushover/prom3.bin
dd bs=$((0x0400)) count=1 if=/dev/urandom of=pushover/prom4.bin

#ROM_REGION( 0x1000, "proms", 0 )
#ROM_LOAD( "prom1.bin", 0x0000, 0x0400, CRC(2d947698) SHA1(85405a005fa6108e8d5ef5a7a12745ba05109661) )
#ROM_LOAD( "prom2.bin", 0x0400, 0x0400, CRC(87e11191) SHA1(59da09621f1a3c827bb0c158295ac1744a960aa4) )
#ROM_LOAD( "prom3.bin", 0x0800, 0x0400, CRC(fe0fb97a) SHA1(05c41988bd1fe18725023a1a67c1b3cae01b2028) )
#ROM_LOAD( "prom4.bin", 0x0c00, 0x0400, CRC(ce26b2c4) SHA1(a44b7a05c0c72592fe6083244c785e9ed1149909) )
#ROM_END








rm smsboot.bin dummy32k.bin example01.bin

zip -r pushover pushover
rm pushover/*
rmdir pushover

mame -w -video soft -resolution0 512x512 -rp ./ pushover






#ROM_START( pushover )
#ROM_REGION( 0x10000, "maincpu", 0 )
#ROM_LOAD( "po40.bin", 0x0000, 0x0800, CRC(eb612cf7) SHA1(93d6b4d5a3c275cc27bece6f1fb1e8be7c6997bf) )
#ROM_LOAD( "po41.bin", 0x0800, 0x0800, CRC(268fd1b2) SHA1(a2421807cb38901ec7c24a8c6eecb34677235c21) )
#ROM_LOAD( "po42.bin", 0x1000, 0x0800, CRC(c0bb3f19) SHA1(8e773cc9503755a24428f9b0bbad1721a38e2c54) )

#ROM_REGION( 0x2000, "gfx1", 0 )
#ROM_LOAD( "pu5.bin", 0x0000, 0x0800, CRC(79c07fbd) SHA1(9c36fa5d369dc5a177501ec302ced1ebaba1102a) )
#ROM_LOAD( "pu6.bin", 0x0800, 0x0800, CRC(3049e8b2) SHA1(becb09c8d3a25e5e2104aa46f8142e1954b1fede) )
#ROM_LOAD( "pu7.bin", 0x1000, 0x0800, CRC(d84fe540) SHA1(de7e66bc2f1d82a2db6a48525ed1802ec20cea44) )
#ROM_LOAD( "pu8.bin", 0x1800, 0x0800, CRC(e7da3be6) SHA1(b02aceef84860cdc9190b73ffe3fa8173e210682) )

#ROM_REGION( 0x1000, "proms", 0 )
#ROM_LOAD( "prom1.bin", 0x0000, 0x0400, CRC(2d947698) SHA1(85405a005fa6108e8d5ef5a7a12745ba05109661) )
#ROM_LOAD( "prom2.bin", 0x0400, 0x0400, CRC(87e11191) SHA1(59da09621f1a3c827bb0c158295ac1744a960aa4) )
#ROM_LOAD( "prom3.bin", 0x0800, 0x0400, CRC(fe0fb97a) SHA1(05c41988bd1fe18725023a1a67c1b3cae01b2028) )
#ROM_LOAD( "prom4.bin", 0x0c00, 0x0400, CRC(ce26b2c4) SHA1(a44b7a05c0c72592fe6083244c785e9ed1149909) )
#ROM_END








