From f692c193bb64ceed8a57c4b6054e8e68a4351038 Mon Sep 17 00:00:00 2001 From: nino-porcino Date: Thu, 13 Jan 2022 17:20:27 +0100 Subject: [PATCH 01/11] compile for two different SID base addresses --- demos/montyr/montyr_apple1.asm | 8 +++++++- 1 file changed, 7 insertions(+), 1 deletion(-) diff --git a/demos/montyr/montyr_apple1.asm b/demos/montyr/montyr_apple1.asm index c6a676f..b163f44 100644 --- a/demos/montyr/montyr_apple1.asm +++ b/demos/montyr/montyr_apple1.asm @@ -10,8 +10,14 @@ // jsr music+6 to stop the music and quieten SID // - +#if SID_CC00 .var sid = $cc00 // $d400 on the C64 +#endif + +#if SID_C800 +.var sid = $c800 // $d400 on the C64 +#endif + .var dsp = $d012 // apple1 display device port //rob hubbard From 91880cf2e9682fd586e3deedc44046f5b727588a Mon Sep 17 00:00:00 2001 From: nino-porcino Date: Thu, 13 Jan 2022 17:20:55 +0100 Subject: [PATCH 02/11] Delete prg2bin.js --- demos/montyr/prg2bin.js | 9 --------- 1 file changed, 9 deletions(-) delete mode 100644 demos/montyr/prg2bin.js diff --git a/demos/montyr/prg2bin.js b/demos/montyr/prg2bin.js deleted file mode 100644 index 8d9d96a..0000000 --- a/demos/montyr/prg2bin.js +++ /dev/null @@ -1,9 +0,0 @@ -const fs = require('fs'); - -let prg = fs.readFileSync("montyr_apple1.prg"); - -prg = prg.slice(2); - -fs.writeFileSync("montyr.0280R.bin",prg); - -console.log("bin written"); From 2ac271342913cfcbadec4245123629916e58ff56 Mon Sep 17 00:00:00 2001 From: nino-porcino Date: Thu, 13 Jan 2022 17:22:21 +0100 Subject: [PATCH 03/11] update wavconv path --- demos/tapemon/packets_wav/mw.bat | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/demos/tapemon/packets_wav/mw.bat b/demos/tapemon/packets_wav/mw.bat index 003d956..d5b6eca 100644 --- a/demos/tapemon/packets_wav/mw.bat +++ b/demos/tapemon/packets_wav/mw.bat @@ -1,2 +1,2 @@ call node mkpackets -call node ..\..\..\..\apple1-wav\prg2wav.js -i packets.bin -o packets -b 00 +call node ../../../tools/wavconv/prg2wav.js -i packets.bin -o packets -b 00 From ac1000c1b704cb82937030a47d89e1bb30f1b4c6 Mon Sep 17 00:00:00 2001 From: nino-porcino Date: Thu, 13 Jan 2022 17:32:55 +0100 Subject: [PATCH 04/11] turn hexdump into prg2woz --- tools/hexdump.js | 32 -------------------------------- tools/prg2woz.js | 42 ++++++++++++++++++++++++++++++++++++++++++ 2 files changed, 42 insertions(+), 32 deletions(-) delete mode 100644 tools/hexdump.js create mode 100644 tools/prg2woz.js diff --git a/tools/hexdump.js b/tools/hexdump.js deleted file mode 100644 index e704541..0000000 --- a/tools/hexdump.js +++ /dev/null @@ -1,32 +0,0 @@ -const fs = require('fs'); - -let prg = fs.readFileSync("test_apple1.prg"); - -prg = prg.slice(2); // skip header - -let s = appledump(prg, 0x4000); - -console.log(s); - -function appledump(bytes, start) { - let rows=16; - let s="\r\n"; - for(let r=0;r Date: Thu, 13 Jan 2022 17:36:08 +0100 Subject: [PATCH 05/11] add binaries for "Monty On The Run" demo --- .gitignore | 4 + demos/montyr/montyr.sid_c800.0280R.bin | Bin 0 -> 4404 bytes demos/montyr/montyr.sid_c800.0280R.woz | 277 +++++++++++++++++++++++++ demos/montyr/montyr.sid_cc00.0280R.bin | Bin 0 -> 4404 bytes demos/montyr/montyr.sid_cc00.0280R.woz | 277 +++++++++++++++++++++++++ 5 files changed, 558 insertions(+) create mode 100644 demos/montyr/montyr.sid_c800.0280R.bin create mode 100644 demos/montyr/montyr.sid_c800.0280R.woz create mode 100644 demos/montyr/montyr.sid_cc00.0280R.bin create mode 100644 demos/montyr/montyr.sid_cc00.0280R.woz diff --git a/.gitignore b/.gitignore index 666a374..09d8077 100644 --- a/.gitignore +++ b/.gitignore @@ -13,6 +13,10 @@ cc65/* *.sym !demos/tapemon/out/tapemon.0280.bin !demos/tapemon/out/tapemon_apple1.prg +!demos/montyr/montyr.sid_cc00.0280R.bin +!demos/montyr/montyr.sid_cc00.0280R.woz +!demos/montyr/montyr.sid_c800.0280R.bin +!demos/montyr/montyr.sid_c800.0280R.woz node_modules/ packets*.wav package-lock.json diff --git a/demos/montyr/montyr.sid_c800.0280R.bin b/demos/montyr/montyr.sid_c800.0280R.bin new file mode 100644 index 0000000000000000000000000000000000000000..b65d34088d746c2fe721a4c3bdc633f63b6ea755 GIT binary patch literal 4404 zcmb_fe{5679e?-k`JSI&u$?%;CMGye(|}2W9p{H*$JlY)1UHx;?WR(#(^B=12~1LOzlqbrUcr{T zz-*qa7uf!Mr97d^bA=5JOrnTHzc1W5$#d7CZzz6A;b8I*{e}c`NW6sLLA<4-gnf(Ku{D^@H z0z$X#n{~3>c{W?g4!p-ENMTZAGw0caP?!|u?BD6Jvz(s)h&_X(*=+msi(R>k40G#Q zHX#-A)vgJ#kgst~&_dqrny?h|9@hjbyncbrTx64HxFf`NNII$&t%&pln?KI7if;21 z3)B~D@+Vo*nLon<^Ds9pzyj3a56<>IeVxsET{){fTkFbw!e*Daa+g@?u^F2jkdI2^ z;=OY2GRyNrbkA0?FL96(n{}}-E7{<-5<7N@Ilst#%J>04;|I)r&hl{TJ8B(Ydf+m9 zDzw-$^BLP(;_R8v+15|FM0US~1A~qffQXFDe8NhP9Jmg}(^r`D!O1HOl)#ysBImEN zV(p9~dwyQ+%FNcdwg>@7=BT|`H-D978!X+k)vk+*%sFRujzaw!@373veK04aI9^P+t50>h_3G?B7yCM*X~tGH#>~FDA=LH(5)D$m8VK`}M_!_Zywde-QXb^N&|` zw>5S2MV^jX6K|&W_P=>={rb1=Kd|Ya-yeP?yZOm&o}W5@IXv3CYxud|mwxu@g9i(< zXWn_CXgw7=SATWYbwRcZ|7jz_k=sRg7njPib?>nc&o#w2|K*E4^zpGL_ka27Ra?#S z!L84{eYvKt@d|UVQEHpx>z+S(>WBFc9(_W1?vE#x```HUT;S2)*_F6RjsI~tE+R~wyy(|_X_;GOI5W| zAwm))L08iRO=ECeNa+K$pAL`=833l~TC$F;rGqr1`3AKc^g%~jJIpe229-U?2VG0o zVGJg3r)82^IZHN>^?c9`^gfLB-$2W1qf!$M&=nX>w3BwwFm0tF8pLR&aoR(pSha)N z4oo8MI5lF7ffJ#tAobtscR;TTgJX>6LQcp@8J6Y5CT*7xBQX*OIf)Th;YN;)FrJb1 z#;~j%flQp35-<_<#?&6t14@GS^7N`bG$!|qu&i-@o&!sEM1TZ7f-ZrB#k@VcESAsTjs)Ej$WXqOO&mjvQS@q??Yp`CrGArm!N?AERFq;p|o80#=?(@;+_!kOGSW)dY4 zpjm4st|q;D6=FuRc<8;fm!t_l24);6jU%P89w599F%!(ZCQ+OB^7;ftr$SoSKvJSS z^%_h@5qh+Y$PhQ!%X1F5T#UQd(R7;9Ieg|?CeoDdG!0qqf@|;)4IIFV2XK!;xy`9= zYC#a#$B^CF9r2dHbT6f70LUPx<@&Y5zT>A1Wal@^UqVG*GBQ;yXZ3N!~8#?wp;DqppDwYa##+^LE5}i9T>H@ z(3ah5SWAPBn;k@N*{ODGqxj+*$U{46@c*+i!}pot12tNM?xX%PYP1%8DS93HGP=wl zG~)LeCzhe$L2pDaV?C{>h##|#8eM{ZH+mWUu#P&wtfOJD2?n_*jywd;EMwVn8F{=Y zD9i?y^~zY*D`Q!&jQlh!&`lhby5uf7B6sm$?M=vumwM@PbQ86*U>P+%7XdtOJSV{0 zlA!TS(Us^XYNM7WT(k~IXYmBLVKmYP{N{v^m<)alTQM5pyL<){HNCFta8O=fKy9a3 z%fG*fL;*FqcEcJ?&jdb+>{_E8c7z?_-Q%HT*u`t7lSYyeTtkzqh@z;JAdF{n+nLiHLdvDp}snXwCV05A6!ST2+ z!T)yxz6MB4&2h;)FAhGN_NBOj{$$Yf)ZEt={WLRmy`S=*>J)@vE0{R^!c7l@ba3iw z2I(y?G;$yL?zat%Y{aEnhp%JI{0EW$Os4hsfWIGbg&D6l1|C5C5x}3*usMgcp`oEQ z<_)H}!+X>i2)oKxca5*E2fkk{4WJ@L{S96B3M(_jiMk4B$YfOf^JPoy#^`*M^kJxOmhka5bAB)f%FOfNp%%m?F7WctVN*U*Ngi71L41W>Bex*DN`o95B Chrhl6 literal 0 HcmV?d00001 diff --git a/demos/montyr/montyr.sid_c800.0280R.woz b/demos/montyr/montyr.sid_c800.0280R.woz new file mode 100644 index 0000000..f3f77d4 --- /dev/null +++ b/demos/montyr/montyr.sid_c800.0280R.woz @@ -0,0 +1,277 @@ + +0280: A9 00 20 95 02 2C 12 D0 30 FB A9 20 8D 12 D0 20 +0290: 98 02 4C 85 02 4C 9E 02 4C D7 02 4C D1 02 A9 00 +02A0: A0 00 0A 8D EC 06 0A 18 6D EC 06 AA BD 11 07 99 +02B0: 0B 07 E8 C8 C0 06 D0 F4 A9 00 8D 04 C8 8D 0B C8 +02C0: 8D 12 C8 8D 17 C8 A9 0F 8D 18 C8 A9 40 8D FE 06 +02D0: 60 A9 C0 8D FE 06 60 EE 0A 07 2C FE 06 30 1E 50 +02E0: 36 A9 00 8D 0A 07 A2 02 9D D4 06 9D D7 06 9D DA +02F0: 06 9D E3 06 CA 10 F1 8D FE 06 4C 17 03 50 15 A9 +0300: 00 8D 04 C8 8D 0B C8 8D 12 C8 A9 0F 8D 18 C8 A9 +0310: 80 8D FE 06 4C 0F 06 A2 02 CE FB 06 10 06 AD FC +0320: 06 8D FB 06 BD D0 06 8D D3 06 A8 AD FB 06 CD FC +0330: 06 F0 03 4C 45 04 BD 0B 07 85 02 BD 0E 07 85 03 +0340: DE DA 06 30 03 4C 26 04 BC D4 06 B1 02 C9 FF F0 +0350: 07 C9 FE D0 11 4C 0F 06 A9 00 9D DA 06 9D D4 06 +0360: 9D D7 06 4C 48 03 A8 B9 17 07 85 04 B9 53 07 85 +0370: 05 A9 00 9D 05 07 BC D7 06 A9 FF 8D E9 06 B1 04 +0380: 9D DD 06 8D EA 06 29 1F 9D DA 06 2C EA 06 70 3F +0390: FE D7 06 AD EA 06 10 11 C8 B1 04 10 06 9D 05 07 +03A0: 4C A6 03 9D E6 06 FE D7 06 C8 B1 04 9D E3 06 0A +03B0: A8 B9 10 06 8D EB 06 B9 11 06 AC D3 06 99 01 C8 +03C0: 9D FF 06 AD EB 06 99 00 C8 9D 02 07 4C D2 03 CE +03D0: E9 06 AC D3 06 BD E6 06 8E EC 06 0A 0A 0A AA BD +03E0: 16 13 8D ED 06 BD 16 13 2D E9 06 99 04 C8 BD 14 +03F0: 13 99 02 C8 BD 15 13 99 03 C8 BD 17 13 99 05 C8 +0400: BD 18 13 99 06 C8 AE EC 06 AD ED 06 9D E0 06 FE +0410: D7 06 BC D7 06 B1 04 C9 FF D0 08 A9 00 9D D7 06 +0420: FE D4 06 4C 09 06 AC D3 06 BD DD 06 29 20 D0 15 +0430: BD DA 06 D0 10 BD E0 06 29 FE 99 04 C8 A9 00 99 +0440: 05 C8 99 06 C8 BD E6 06 0A 0A 0A A8 8C FD 06 B9 +0450: 1B 13 8D 08 07 B9 1A 13 8D EF 06 B9 19 13 8D EE +0460: 06 F0 6F AD 0A 07 29 07 C9 04 90 02 49 07 8D F4 +0470: 06 BD E3 06 0A A8 38 B9 12 06 F9 10 06 8D F0 06 +0480: B9 13 06 F9 11 06 4A 6E F0 06 CE EE 06 10 F7 8D +0490: F1 06 B9 10 06 8D F2 06 B9 11 06 8D F3 06 BD DD +04A0: 06 29 1F C9 08 90 1C AC F4 06 88 30 16 18 AD F2 +04B0: 06 6D F0 06 8D F2 06 AD F3 06 6D F1 06 8D F3 06 +04C0: 4C AA 04 AC D3 06 AD F2 06 99 00 C8 AD F3 06 99 +04D0: 01 C8 AD EF 06 F0 62 AC FD 06 29 1F DE F5 06 10 +04E0: 58 9D F5 06 AD EF 06 29 E0 8D 09 07 BD F8 06 D0 +04F0: 1A AD 09 07 18 79 14 13 48 B9 15 13 69 00 29 0F +0500: 48 C9 0E D0 1D FE F8 06 4C 22 05 38 B9 14 13 ED +0510: 09 07 48 B9 15 13 E9 00 29 0F 48 C9 08 D0 03 DE +0520: F8 06 8E EC 06 AE D3 06 68 99 15 13 9D 03 C8 68 +0530: 99 14 13 9D 02 C8 AE EC 06 AC D3 06 BD 05 07 F0 +0540: 3F 29 7E 8D EC 06 BD 05 07 29 01 F0 1B 38 BD 02 +0550: 07 ED EC 06 9D 02 07 99 00 C8 BD FF 06 E9 00 9D +0560: FF 06 99 01 C8 4C 80 05 18 BD 02 07 6D EC 06 9D +0570: 02 07 99 00 C8 BD FF 06 69 00 9D FF 06 99 01 C8 +0580: AD 08 07 29 01 F0 35 BD FF 06 F0 30 BD DA 06 F0 +0590: 2B BD DD 06 29 1F 38 E9 01 DD DA 06 AC D3 06 90 +05A0: 10 BD FF 06 DE FF 06 99 01 C8 BD E0 06 29 FE D0 +05B0: 08 BD FF 06 99 01 C8 A9 80 99 04 C8 AD 08 07 29 +05C0: 02 F0 15 AD 0A 07 29 01 F0 0E BD FF 06 F0 09 DE +05D0: FF 06 AC D3 06 99 01 C8 AD 08 07 29 04 F0 2A AD +05E0: 0A 07 29 01 F0 09 BD E3 06 18 69 0C 4C F2 05 BD +05F0: E3 06 0A A8 B9 10 06 8D EB 06 B9 11 06 AC D3 06 +0600: 99 01 C8 AD EB 06 99 00 C8 CA 30 03 4C 24 03 60 +0610: 16 01 27 01 38 01 4B 01 5F 01 73 01 8A 01 A1 01 +0620: BA 01 D4 01 F0 01 0E 02 2D 02 4E 02 71 02 96 02 +0630: BD 02 E7 02 13 03 42 03 74 03 A9 03 E0 03 1B 04 +0640: 5A 04 9B 04 E2 04 2C 05 7B 05 CE 05 27 06 85 06 +0650: E8 06 51 07 C1 07 37 08 B4 08 37 09 C4 09 57 0A +0660: F5 0A 9C 0B 4E 0C 09 0D D0 0D A3 0E 82 0F 6E 10 +0670: 68 11 6E 12 88 13 AF 14 EB 15 39 17 9C 18 13 1A +0680: A1 1B 46 1D 04 1F DC 20 D0 22 DC 24 10 27 5E 29 +0690: D6 2B 72 2E 38 31 26 34 42 37 8C 3A 08 3E B8 41 +06A0: A0 45 B8 49 20 4E BC 52 AC 57 E4 5C 70 62 4C 68 +06B0: 84 6E 18 75 10 7C 70 83 40 8B 70 93 40 9C 78 A5 +06C0: 58 AF C8 B9 E0 C4 98 D0 08 DD 30 EA 20 F8 2E FD +06D0: 00 07 0E 00 00 00 00 00 00 00 00 00 00 00 00 00 +06E0: 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 +06F0: 00 00 00 00 00 00 00 00 00 00 00 00 01 00 C0 00 +0700: 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 +0710: 00 8F D0 1C 07 07 08 A0 CE E3 EA 26 3C 68 CB F7 +0720: 97 03 73 85 84 AA F9 A5 F8 0A 15 27 4A 6D 8E C1 +0730: F4 15 1D 24 F5 06 17 47 09 1A 2B 3C 4D 96 DA DD +0740: 66 BD E2 6B 82 00 93 B6 DA 09 52 B4 C7 E8 29 6B +0750: 92 BD E8 08 0E 0E 08 0F 09 0F 09 0F 0A 0B 10 10 +0760: 0B 10 0B 10 0C 0D 0D 0D 0D 0D 0D 0D 0D 0E 0E 0E +0770: 0E 0F 0F 0F 10 10 10 10 10 10 08 08 0E 0A 0A 0E +0780: 0E 00 12 10 10 11 11 11 11 11 12 12 0E 09 0F 11 +0790: 14 17 1A 00 27 00 28 03 05 00 27 00 28 03 05 07 +07A0: 3A 14 17 00 27 00 28 2F 30 31 31 32 33 33 34 34 +07B0: 34 34 34 34 34 34 35 35 35 35 35 35 36 12 37 38 +07C0: 09 2A 09 2B 09 0A 09 2A 09 2B 09 0A 0D 0D 0F FF +07D0: 12 15 18 1B 2D 39 39 39 39 39 39 2C 39 39 39 39 +07E0: 39 39 2C 39 39 39 01 01 29 29 2C 15 18 39 39 39 +07F0: 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 +0800: 39 39 39 39 39 39 39 39 39 39 39 39 01 01 01 29 +0810: 39 39 39 01 01 01 29 39 39 39 39 FF 13 16 19 1C +0820: 02 02 1D 1E 02 02 1D 1F 04 04 20 20 06 02 02 1D +0830: 1E 02 02 1D 1F 04 04 20 20 06 08 08 08 08 21 21 +0840: 21 21 22 22 22 23 22 24 25 3B 26 26 26 26 26 26 +0850: 26 26 26 26 26 26 26 26 26 26 02 02 1D 1E 02 02 +0860: 1D 1F 2F 2F 2F 2F 2F 2F 2F 2F 2F 2F 2F 2F 2F 0B +0870: 0B 1D 1D 0B 0B 1D 0B 0B 0B 0C 0C 1D 1D 1D 10 0B +0880: 0B 1D 1D 0B 0B 1D 0B 0B 0B 0C 0C 1D 1D 1D 10 0B +0890: 1D 0B 1D 0B 1D 0B 1D 0B 0C 1D 0B 0C 23 0B 0B FF +08A0: 83 00 37 01 3E 01 3E 03 3D 03 3E 03 43 03 3E 03 +08B0: 3D 03 3E 03 37 01 3E 01 3E 03 3D 03 3E 03 43 03 +08C0: 42 03 43 03 45 03 46 01 48 01 46 03 45 03 43 03 +08D0: 4B 01 4D 01 4B 03 4A 03 48 FF 1F 4A FF 03 46 01 +08E0: 48 01 46 03 45 03 4A 0F 43 FF BF 06 48 07 48 01 +08F0: 4B 01 4A 01 4B 01 4A 03 4B 03 4D 03 4B 03 4A 3F +0900: 48 07 48 01 4B 01 4A 01 4B 01 4A 03 4B 03 4D 03 +0910: 4B 03 48 3F 4C 07 4C 01 4F 01 4E 01 4F 01 4E 03 +0920: 4F 03 51 03 4F 03 4E 3F 4C 07 4C 01 4F 01 4E 01 +0930: 4F 01 4E 03 4F 03 51 03 4F 03 4C FF 83 04 26 03 +0940: 29 03 28 03 29 03 26 03 35 03 34 03 32 03 2D 03 +0950: 30 03 2F 03 30 03 2D 03 3C 03 3B 03 39 03 30 03 +0960: 33 03 32 03 33 03 30 03 3F 03 3E 03 3C 03 46 03 +0970: 45 03 43 03 3A 03 39 03 37 03 2E 03 2D 03 26 03 +0980: 29 03 28 03 29 03 26 03 35 03 34 03 32 03 2D 03 +0990: 30 03 2F 03 30 03 2D 03 3C 03 3B 03 39 03 30 03 +09A0: 33 03 32 03 33 03 30 03 3F 03 3E 03 3C 03 34 03 +09B0: 37 03 36 03 37 03 34 03 37 03 3A 03 3D 03 3E 07 +09C0: 3E 07 3F 07 3E 03 3C 07 3E 57 FF 8B 00 3A 01 3A +09D0: 01 3C 03 3D 03 3F 03 3D 03 3C 0B 3A 03 39 07 3A +09E0: 81 06 4B 01 4D 01 4E 01 4D 01 4E 01 4D 05 4B 81 +09F0: 00 3A 01 3C 01 3D 03 3F 03 3D 03 3C 03 3A 03 39 +0A00: 1B 3A 0B 3B 01 3B 01 3D 03 3E 03 40 03 3E 03 3D +0A10: 0B 3B 03 3A 07 3B 81 06 4C 01 4E 01 4F 01 4E 01 +0A20: 4F 01 4E 05 4C 81 00 3B 01 3D 01 3E 03 40 03 3E +0A30: 03 3D 03 3B 03 3A 1B 3B 8B 05 35 03 33 07 32 03 +0A40: 30 03 2F 0B 30 03 32 0F 30 0B 35 03 33 07 32 03 +0A50: 30 03 2F 1F 30 8B 00 3C 01 3C 01 3E 03 3F 03 41 +0A60: 03 3F 03 3E 0B 3D 01 3D 01 3F 03 40 03 42 03 40 +0A70: 03 3F 03 3E 01 3E 01 40 03 41 03 40 03 3E 03 3D +0A80: 03 3E 03 3C 03 3A 01 3A 01 3C 03 3D 03 3C 03 3A +0A90: 03 39 03 3A 03 3C FF 83 00 32 01 35 01 34 03 32 +0AA0: 03 35 03 34 03 32 03 35 01 34 01 32 03 32 03 3A +0AB0: 03 39 03 3A 03 32 03 3A 03 39 03 3A FF 03 34 01 +0AC0: 37 01 35 03 34 03 37 03 35 03 34 03 37 01 35 01 +0AD0: 34 03 34 03 3A 03 39 03 3A 03 34 03 3A 03 39 03 +0AE0: 3A FF 03 39 03 38 03 39 03 3A 03 39 03 37 03 35 +0AF0: 03 34 03 35 03 34 03 35 03 37 03 35 03 34 03 32 +0B00: 03 31 FF 03 37 01 3A 01 39 03 37 03 3A 03 39 03 +0B10: 37 03 3A 01 39 01 37 03 37 03 3E 03 3D 03 3E 03 +0B20: 37 03 3E 03 3D 03 3E 03 3D 01 40 01 3E 03 3D 03 +0B30: 40 01 3E 01 3D 03 40 03 3E 03 40 03 40 01 43 01 +0B40: 41 03 40 03 43 01 41 01 40 03 43 03 41 03 43 03 +0B50: 43 01 46 01 45 03 43 03 46 01 45 01 43 03 46 03 +0B60: 45 03 43 01 48 01 49 01 48 01 46 01 45 01 46 01 +0B70: 45 01 43 01 41 01 43 01 41 01 40 01 3D 01 39 01 +0B80: 3B 01 3D FF 01 3E 01 39 01 35 01 39 01 3E 01 39 +0B90: 01 35 01 39 03 3E 01 41 01 40 03 40 01 3D 01 3E +0BA0: 01 40 01 3D 01 39 01 3D 01 40 01 3D 01 39 01 3D +0BB0: 03 40 01 43 01 41 03 41 01 3E 01 40 01 41 01 3E +0BC0: 01 39 01 3E 01 41 01 3E 01 39 01 3E 03 41 01 45 +0BD0: 01 43 03 43 01 40 01 41 01 43 01 40 01 3D 01 40 +0BE0: 01 43 01 40 01 3D 01 40 01 46 01 43 01 45 01 46 +0BF0: 01 44 01 43 01 40 01 3D FF 01 3E 01 39 01 35 01 +0C00: 39 01 3E 01 39 01 35 01 39 01 3E 01 39 01 35 01 +0C10: 39 01 3E 01 39 01 35 01 39 01 3E 01 3A 01 37 01 +0C20: 3A 01 3E 01 3A 01 37 01 3A 01 3E 01 3A 01 37 01 +0C30: 3A 01 3E 01 3A 01 37 01 3A 01 40 01 3D 01 39 01 +0C40: 3D 01 40 01 3D 01 39 01 3D 01 40 01 3D 01 39 01 +0C50: 3D 01 40 01 3D 01 39 01 3D 01 41 01 3E 01 39 01 +0C60: 3E 01 41 01 3E 01 39 01 3E 01 41 01 3E 01 39 01 +0C70: 3E 01 41 01 3E 01 39 01 3E 01 43 01 3E 01 3A 01 +0C80: 3E 01 43 01 3E 01 3A 01 3E 01 43 01 3E 01 3A 01 +0C90: 3E 01 43 01 3E 01 3A 01 3E 01 43 01 3F 01 3C 01 +0CA0: 3F 01 43 01 3F 01 3C 01 3F 01 43 01 3F 01 3C 01 +0CB0: 3F 01 43 01 3F 01 3C 01 3F 01 45 01 42 01 3C 01 +0CC0: 42 01 45 01 42 01 3C 01 42 01 48 01 45 01 42 01 +0CD0: 45 01 4B 01 48 01 45 01 48 01 4B 01 4A 01 48 01 +0CE0: 4A 01 4B 01 4A 01 48 01 4A 01 4B 01 4A 01 48 01 +0CF0: 4A 01 4C 01 4E 03 4F FF BF 06 56 1F 57 1F 56 1F +0D00: 5B 1F 56 1F 57 1F 56 1F 4F FF BF 0C 68 7F 7F 7F +0D10: 7F 7F 7F 7F FF BF 08 13 3F 13 3F 13 3F 13 3F 13 +0D20: 3F 13 3F 13 1F 13 FF 97 09 2E 03 2E 1B 32 03 32 +0D30: 1B 31 03 31 1F 34 43 17 32 03 32 1B 35 03 35 1B +0D40: 34 03 34 0F 37 8F 0A 37 43 FF 97 09 2B 03 2B 1B +0D50: 2E 03 2E 1B 2D 03 2D 1F 30 43 17 2E 03 2E 1B 32 +0D60: 03 32 1B 31 03 31 0F 34 8F 0A 34 43 FF 0F 1F 0F +0D70: 1F 0F 1F 0F 1F 0F 1F 0F 1F 0F 1F 0F 1F 0F 1F 0F +0D80: 1F 0F 1F 0F 1F 0F 1F 0F 1F 0F 1F 0F 1F FF 97 09 +0D90: 33 03 33 1B 37 03 37 1B 36 03 36 1F 39 43 17 37 +0DA0: 03 37 1B 3A 03 3A 1B 39 03 39 2F 3C 21 3C 21 3D +0DB0: 21 3E 21 3F 21 40 21 41 21 42 21 43 21 44 01 45 +0DC0: FF 97 09 30 03 30 1B 33 03 33 1B 32 03 32 1F 36 +0DD0: 43 17 33 03 33 1B 37 03 37 1B 36 03 36 2F 39 21 +0DE0: 39 21 3A 21 3B 21 3C 21 3D 21 3E 21 3F 21 40 21 +0DF0: 41 01 42 FF 0F 1A 0F 1A 0F 1A 0F 1A 0F 1A 0F 1A +0E00: 0F 1A 0F 1A 0F 1A 0F 1A 0F 1A 0F 1A 0F 1A 0F 1A +0E10: 0F 1A 0F 1A FF 1F 46 BF 0A 46 7F 7F FF 1F 43 BF +0E20: 0A 43 7F FF 83 02 13 03 13 03 1E 03 1F 03 13 03 +0E30: 13 03 1E 03 1F 03 13 03 13 03 1E 03 1F 03 13 03 +0E40: 13 03 1E 03 1F 03 13 03 13 03 1E 03 1F 03 13 03 +0E50: 13 03 1E 03 1F 03 13 03 13 03 1E 03 1F 03 13 03 +0E60: 13 03 1E 03 1F FF 8F 0B 38 4F FF 83 0E 32 07 32 +0E70: 07 2F 07 2F 03 2B 87 0B 46 83 0E 2C 03 2C 8F 0B +0E80: 32 FF 43 83 0E 32 03 32 03 2F 03 2F 03 2C 87 0B +0E90: 38 FF 83 01 43 01 4F 01 5B 87 03 2F 83 01 43 01 +0EA0: 4F 01 5B 87 03 2F 83 01 43 01 4F 01 5B 87 03 2F +0EB0: 83 01 43 01 4F 01 5B 87 03 2F 83 01 43 01 4F 01 +0EC0: 5B 87 03 2F 83 01 43 01 4F 01 5B 87 03 2F 83 01 +0ED0: 43 01 4F 01 5B 87 03 2F 83 01 43 01 4F 01 5B 87 +0EE0: 03 2F FF 83 02 13 03 13 03 1F 03 1F 03 13 03 13 +0EF0: 03 1F 03 1F FF 03 15 03 15 03 1F 03 21 03 15 03 +0F00: 15 03 1F 03 21 FF 03 1A 03 1A 03 1C 03 1C 03 1D +0F10: 03 1D 03 1E 03 1E FF 03 1A 03 1A 03 24 03 26 03 +0F20: 13 03 13 07 1F FF 03 18 03 18 03 24 03 24 03 18 +0F30: 03 18 03 24 03 24 03 20 03 20 03 2C 03 2C 03 20 +0F40: 03 20 03 2C 03 2C FF 03 19 03 19 03 25 03 25 03 +0F50: 19 03 19 03 25 03 25 03 21 03 21 03 2D 03 2D 03 +0F60: 21 03 21 03 2D 03 2D FF 03 1A 03 1A 03 26 03 26 +0F70: 03 1A 03 1A 03 26 03 26 03 15 03 15 03 21 03 21 +0F80: 03 15 03 15 03 21 03 21 03 18 03 18 03 24 03 24 +0F90: 03 18 03 18 03 24 03 24 03 1F 03 1F 03 2B 03 2B +0FA0: 03 1F 03 1F 03 2B 03 2B 03 1A 03 1A 03 26 03 26 +0FB0: 03 1A 03 1A 03 26 03 26 03 15 03 15 03 21 03 21 +0FC0: 03 15 03 15 03 21 03 21 03 18 03 18 03 24 03 24 +0FD0: 03 18 03 18 03 24 03 24 03 1C 03 1C 03 28 03 28 +0FE0: 03 1C 03 1C 03 28 03 28 83 04 36 07 36 07 37 07 +0FF0: 36 03 33 07 32 57 FF 83 02 1B 03 1B 03 27 03 27 +1000: 03 1B 03 1B 03 27 03 27 FF 03 1C 03 1C 03 28 03 +1010: 28 03 1C 03 1C 03 28 03 28 FF 03 1D 03 1D 03 29 +1020: 03 29 03 1D 03 1D 03 29 03 29 FF 03 18 03 18 03 +1030: 24 03 24 03 18 03 18 03 24 03 24 FF 03 1E 03 1E +1040: 03 2A 03 2A 03 1E 03 1E 03 2A 03 2A FF 83 05 26 +1050: 01 4A 01 34 03 29 03 4C 03 4A 03 31 03 4A 03 24 +1060: 03 22 01 46 01 30 03 25 03 48 03 46 03 2D 03 46 +1070: 03 24 FF 83 02 1A 03 1A 03 26 03 26 03 1A 03 1A +1080: 03 26 03 26 FF 03 13 03 13 03 1D 03 1F 03 13 03 +1090: 13 03 1D 03 1F FF 87 02 1A 87 03 2F 83 02 26 03 +10A0: 26 87 03 2F FF 07 1A 4F 47 FF 03 1F 03 1F 03 24 +10B0: 03 26 07 13 47 FF BF 0F 32 0F 32 8F 90 30 3F 32 +10C0: 13 32 03 32 03 35 03 37 3F 37 0F 37 8F 90 30 3F +10D0: 32 13 32 03 2D 03 30 03 32 FF 0F 32 AF 90 35 0F +10E0: 37 A7 99 37 07 35 3F 32 13 32 03 32 A3 E8 35 03 +10F0: 37 0F 35 AF 90 37 0F 37 A7 99 37 07 35 3F 32 13 +1100: 32 03 2D A3 E8 30 03 32 FF 07 32 03 39 13 3C A7 +1110: 9A 37 A7 9B 38 07 37 03 35 03 32 03 39 1B 3C A7 +1120: 9A 37 A7 9B 38 07 37 03 35 03 32 03 39 03 3C 03 +1130: 3E 03 3C 07 3E 03 3C 03 39 A7 9A 37 A7 9B 38 07 +1140: 37 03 35 03 32 AF 90 3C 1F 3E 43 03 3E 03 3C 03 +1150: 3E FF 03 3E 03 3E A3 E8 3C 03 3E 03 3E 03 3E A3 +1160: E8 3C 03 3E 03 3E 03 3E A3 E8 3C 03 3E 03 3E 03 +1170: 3E A3 E8 3C 03 3E AF 91 43 1F 41 43 03 3E 03 41 +1180: 03 43 03 43 03 43 A3 E8 41 03 43 03 43 03 43 A3 +1190: E8 41 03 43 03 45 03 48 A3 FD 45 03 44 01 43 01 +11A0: 41 03 3E 03 3C 03 3E 2F 3E BF 98 3E 43 03 3E 03 +11B0: 3C 03 3E FF 03 4A 03 4A A3 F8 48 03 4A 03 4A 03 +11C0: 4A A3 F8 48 03 4A FF 01 51 01 54 01 51 01 54 01 +11D0: 51 01 54 01 51 01 54 01 51 01 54 01 51 01 54 01 +11E0: 51 01 54 01 51 01 54 FF 01 50 01 4F 01 4D 01 4A +11F0: 01 4F 01 4D 01 4A 01 48 01 4A 01 48 01 45 01 43 +1200: 01 44 01 43 01 41 01 3E 01 43 01 41 01 3E 01 3C +1210: 01 3E 01 3C 01 39 01 37 01 38 01 37 01 35 01 32 +1220: 01 37 01 35 01 32 01 30 FF 5F 5F 5F 47 83 0E 32 +1230: 07 32 07 2F 03 2F 07 2F 97 0B 3A 5F 5F 47 8B 0E +1240: 32 03 32 03 2F 03 2F 47 97 0B 3A 5F 5F 47 83 0E +1250: 2F 0B 2F 03 2F 03 2F 87 0B 30 17 3A 5F 8B 0E 32 +1260: 0B 32 0B 2F 0B 2F 07 2C 07 2C FF 87 0B 34 17 3A +1270: 5F 5F 84 0E 32 04 32 05 32 04 2F 04 2F 05 2F 47 +1280: 97 0B 3A 5F 5F 84 0E 32 04 32 05 32 04 2F 04 2F +1290: 05 2F FF 03 1A 03 1A 03 24 03 26 03 1A 03 1A 03 +12A0: 18 03 19 03 1A 03 1A 03 24 03 26 03 1A 03 1A 03 +12B0: 18 03 19 03 18 03 18 03 22 03 24 03 18 03 18 03 +12C0: 16 03 17 03 18 03 18 03 22 03 24 03 18 03 18 03 +12D0: 16 03 17 03 13 03 13 03 1D 03 1F 03 13 03 13 03 +12E0: 1D 03 1E 03 13 03 13 03 1D 03 1F 03 13 03 13 03 +12F0: 1D 03 1E 03 1A 03 1A 03 24 03 26 03 1A 03 1A 03 +1300: 18 03 19 03 1A 03 1A 03 24 03 26 03 1A 03 1A 03 +1310: 18 03 19 FF 80 09 41 48 60 03 81 00 00 08 81 02 +1320: 08 00 00 01 A0 02 41 09 80 00 00 00 00 02 81 09 +1330: 09 00 00 05 00 08 41 08 50 02 00 04 00 01 41 3F +1340: C0 02 00 00 00 08 41 04 40 02 00 00 00 08 41 09 +1350: 00 02 00 00 00 09 41 09 70 02 5F 04 00 09 41 4A +1360: 69 02 81 00 00 09 41 40 6F 00 81 02 80 07 81 0A +1370: 0A 00 00 01 00 09 41 3F FF 01 E7 02 00 08 41 90 +1380: F0 01 E8 02 00 08 41 06 0A 00 00 01 00 09 41 19 +1390: 70 02 A8 00 00 02 41 09 90 02 00 00 00 00 11 0A +13A0: FA 00 00 05 00 08 41 37 40 02 00 00 00 08 11 07 +13B0: 70 02 00 00 diff --git a/demos/montyr/montyr.sid_cc00.0280R.bin b/demos/montyr/montyr.sid_cc00.0280R.bin new file mode 100644 index 0000000000000000000000000000000000000000..c6f2f4c41e8fb7cf4cea7687992b4b60aa648fd3 GIT binary patch literal 4404 zcmb_fe{5679e?-k`JSI&u$?%;CMGye(}0@1RQzlqbrUcr{T zz-*pv7uf!Mr97d^b8jDE#Y@vdPAcToLawTia~Gx^IZt7_H#g5VPaom)$2PfTo`sfe z=z^e4eo34>!6r|#$y03defEy?Q^;i9bVJPoGlq?woa10GiN~%oC!6_-<*u@Pk>!rF zeKS|tU%z4{n(deJsyrsg<{7E)*o;fSuJ|sCAB(r~@lOHfp zK|tuXeX~xM`-sg}vIEE21Sw2vY~~|2ArvM>Is12d>>Q`(KVVNHX*S#b{9;$`BE#Hz zj!j5~e6?#rEaYok6SRb}MJpmb$>vY6tfJdI z%>wnsn*1qNbmq^pz&y-N3$Orn_=B^3Ph4ZOURTa4&(^wfpRm~_uH470^ze*L4#-EP zaq%8GcZucsA-ZR)*q1m+iOss$mz8XAdx;(Um^r`5eaiR&KjR0?ea`Z5>N{#3UwYsY zdpxw*GxHhSR^sfL&)K$5xkPrqgad<)6o80~%zVO14<5J%#WRJPip)9ZbdI%1&s^b|eDyfnGEw82 zq=hXL)vigA=L=r*7P*uR{0jAnRe+Sd-FZ>Ic!A+lAey|!&I$ND2r0YM;sFaae4Vw` zWX)K)W+#M8A>_8ytRK1i965c8yBK$Zb4E9!C%tIJ9u}u}BK=%fEY%PL(xV1=uhZ0JxjgP_oU~g_oNofFD%C_%h?#4V;ki+<%sn)YeacV*<`zH zdqG`Sp)4vcnzBFY*zVj?xxMOf*TL$KYNGBJJg(Xoy#sZU@7?-h!@G^nF8rsB2uE%e-BVmD%htWe-ap?I-}09)o~4hBJ+}YLm#^4r zmJe=w^36*%b&Z#qd$m&A9AEp)snb8qzxU9i!qa~|rQG}4pXUM({U$$WwcD)@1>L4P zoho|8BD2}i91e$5Z&s__X0zLcDyOrOx2h_;;;5{4*9yyp71UzPa;)0TSHVzQTe!Ww z!)%>;>#B-$D|ac)ip`i8Eplj8H6CwkRBtUefRI3-rN(0rZaWi*foVcib1h!7R21u$ zVfZAezMg$;V@30$H8eEb(a?BjPt#4UEF4_eRJE=SLsiv^in_Ww=Pmm>FnO=QzdKY_ z8xW_VnU%9-Jz2*GT~9Y+tosI9RvVR?Xn?N3Xri68gNA7<4bdP*D~;108pWy| z)OKJJamT3CpKxjg&2vEILJwixC%FNY=rTQ ztTTpX%?M=T#FT)Es5hqekRDJHw3nw>?V&NbXM|;q^Ya{7vLgZ{@DX$g94zMT*=^~h z?Q)o(R}ImyBcxv6`$D^gIJ_hfM~WX@T?OqVwEHly#|P~N$FRoJQjQxdq$Wn=`0QcQ zNq9<)#9~dt*cp5iHQGTUgbPG;F|47|VG5b3!D6>=l_#AG8^c(KX`6<6iV@D_#xav9 zi2%)7GjSE^)vFLQlEp*srM)Cg_%Sf!KxrH)jr9QGb%>c@<~51hyoc8(C^{9=x(1RG z<*CGxfMU({po3Wqtf!~Ki8JN*m{kYwH zW!&_Paoe%eZ@rGFY`Px52KV_k`R?;QfWZ-ziY+^grX9Ark_)=er9G>xq$|CsKyMpu z^L3=%eA!7my{I=wWRES9hDbAQ_HwaS+Ug6X-3v4v9eZpYY0csL_6{5EwB3v9^LEiL zUo`FJ%NXukltzPbf84*ypYSLBz5bNH&!6_+P5Pk{q9HF=LrA`^w0nVtVALP=$NW7D z6-l4wsQvb?`34T#26pVweCfls^bTzlFTRT|qdv_46KZ?Z?)BQJJuHXipd6&lyVQYE zdkbyZqlUFK=(yQI^p;&}w>F9|zMed=iw6HcD>Hnb89q>>HRwL-FQZ0l(U+pvp)aG$ z3_>G*pK)Rt3Lf-E^fK1ddW!fl>!{Hs=y#%*(GTmW1I#)a2Ag1zd*aAL;LI|XEtiqU zi-N*zU|Fw>WxX<%^~%UkvjW}3QK?Jrk|S~#|JB}voOr31E=M;}D+`uU({mBP>kFvu z5^MSQ7m+BSCfBZCt?8M-Cy`yNwZo3EBfMuklnlFg?R3&eGJ{^Z`Ojope-HTk0auvuYGdF5#2*3tISre0NE;d& zT5aB7iaY$Q8UtZ>`RcAV_M`To$}e(oml|@%hQL-^KEtmw1DD85dKxekm93%_=ghX<50duJ3QQchg?msiZQS z>4+d$M?|Y2kiB9`*~$M>5Jwb65G;ZV5l+$Sa literal 0 HcmV?d00001 diff --git a/demos/montyr/montyr.sid_cc00.0280R.woz b/demos/montyr/montyr.sid_cc00.0280R.woz new file mode 100644 index 0000000..1e75c5e --- /dev/null +++ b/demos/montyr/montyr.sid_cc00.0280R.woz @@ -0,0 +1,277 @@ + +0280: A9 00 20 95 02 2C 12 D0 30 FB A9 20 8D 12 D0 20 +0290: 98 02 4C 85 02 4C 9E 02 4C D7 02 4C D1 02 A9 00 +02A0: A0 00 0A 8D EC 06 0A 18 6D EC 06 AA BD 11 07 99 +02B0: 0B 07 E8 C8 C0 06 D0 F4 A9 00 8D 04 CC 8D 0B CC +02C0: 8D 12 CC 8D 17 CC A9 0F 8D 18 CC A9 40 8D FE 06 +02D0: 60 A9 C0 8D FE 06 60 EE 0A 07 2C FE 06 30 1E 50 +02E0: 36 A9 00 8D 0A 07 A2 02 9D D4 06 9D D7 06 9D DA +02F0: 06 9D E3 06 CA 10 F1 8D FE 06 4C 17 03 50 15 A9 +0300: 00 8D 04 CC 8D 0B CC 8D 12 CC A9 0F 8D 18 CC A9 +0310: 80 8D FE 06 4C 0F 06 A2 02 CE FB 06 10 06 AD FC +0320: 06 8D FB 06 BD D0 06 8D D3 06 A8 AD FB 06 CD FC +0330: 06 F0 03 4C 45 04 BD 0B 07 85 02 BD 0E 07 85 03 +0340: DE DA 06 30 03 4C 26 04 BC D4 06 B1 02 C9 FF F0 +0350: 07 C9 FE D0 11 4C 0F 06 A9 00 9D DA 06 9D D4 06 +0360: 9D D7 06 4C 48 03 A8 B9 17 07 85 04 B9 53 07 85 +0370: 05 A9 00 9D 05 07 BC D7 06 A9 FF 8D E9 06 B1 04 +0380: 9D DD 06 8D EA 06 29 1F 9D DA 06 2C EA 06 70 3F +0390: FE D7 06 AD EA 06 10 11 C8 B1 04 10 06 9D 05 07 +03A0: 4C A6 03 9D E6 06 FE D7 06 C8 B1 04 9D E3 06 0A +03B0: A8 B9 10 06 8D EB 06 B9 11 06 AC D3 06 99 01 CC +03C0: 9D FF 06 AD EB 06 99 00 CC 9D 02 07 4C D2 03 CE +03D0: E9 06 AC D3 06 BD E6 06 8E EC 06 0A 0A 0A AA BD +03E0: 16 13 8D ED 06 BD 16 13 2D E9 06 99 04 CC BD 14 +03F0: 13 99 02 CC BD 15 13 99 03 CC BD 17 13 99 05 CC +0400: BD 18 13 99 06 CC AE EC 06 AD ED 06 9D E0 06 FE +0410: D7 06 BC D7 06 B1 04 C9 FF D0 08 A9 00 9D D7 06 +0420: FE D4 06 4C 09 06 AC D3 06 BD DD 06 29 20 D0 15 +0430: BD DA 06 D0 10 BD E0 06 29 FE 99 04 CC A9 00 99 +0440: 05 CC 99 06 CC BD E6 06 0A 0A 0A A8 8C FD 06 B9 +0450: 1B 13 8D 08 07 B9 1A 13 8D EF 06 B9 19 13 8D EE +0460: 06 F0 6F AD 0A 07 29 07 C9 04 90 02 49 07 8D F4 +0470: 06 BD E3 06 0A A8 38 B9 12 06 F9 10 06 8D F0 06 +0480: B9 13 06 F9 11 06 4A 6E F0 06 CE EE 06 10 F7 8D +0490: F1 06 B9 10 06 8D F2 06 B9 11 06 8D F3 06 BD DD +04A0: 06 29 1F C9 08 90 1C AC F4 06 88 30 16 18 AD F2 +04B0: 06 6D F0 06 8D F2 06 AD F3 06 6D F1 06 8D F3 06 +04C0: 4C AA 04 AC D3 06 AD F2 06 99 00 CC AD F3 06 99 +04D0: 01 CC AD EF 06 F0 62 AC FD 06 29 1F DE F5 06 10 +04E0: 58 9D F5 06 AD EF 06 29 E0 8D 09 07 BD F8 06 D0 +04F0: 1A AD 09 07 18 79 14 13 48 B9 15 13 69 00 29 0F +0500: 48 C9 0E D0 1D FE F8 06 4C 22 05 38 B9 14 13 ED +0510: 09 07 48 B9 15 13 E9 00 29 0F 48 C9 08 D0 03 DE +0520: F8 06 8E EC 06 AE D3 06 68 99 15 13 9D 03 CC 68 +0530: 99 14 13 9D 02 CC AE EC 06 AC D3 06 BD 05 07 F0 +0540: 3F 29 7E 8D EC 06 BD 05 07 29 01 F0 1B 38 BD 02 +0550: 07 ED EC 06 9D 02 07 99 00 CC BD FF 06 E9 00 9D +0560: FF 06 99 01 CC 4C 80 05 18 BD 02 07 6D EC 06 9D +0570: 02 07 99 00 CC BD FF 06 69 00 9D FF 06 99 01 CC +0580: AD 08 07 29 01 F0 35 BD FF 06 F0 30 BD DA 06 F0 +0590: 2B BD DD 06 29 1F 38 E9 01 DD DA 06 AC D3 06 90 +05A0: 10 BD FF 06 DE FF 06 99 01 CC BD E0 06 29 FE D0 +05B0: 08 BD FF 06 99 01 CC A9 80 99 04 CC AD 08 07 29 +05C0: 02 F0 15 AD 0A 07 29 01 F0 0E BD FF 06 F0 09 DE +05D0: FF 06 AC D3 06 99 01 CC AD 08 07 29 04 F0 2A AD +05E0: 0A 07 29 01 F0 09 BD E3 06 18 69 0C 4C F2 05 BD +05F0: E3 06 0A A8 B9 10 06 8D EB 06 B9 11 06 AC D3 06 +0600: 99 01 CC AD EB 06 99 00 CC CA 30 03 4C 24 03 60 +0610: 16 01 27 01 38 01 4B 01 5F 01 73 01 8A 01 A1 01 +0620: BA 01 D4 01 F0 01 0E 02 2D 02 4E 02 71 02 96 02 +0630: BD 02 E7 02 13 03 42 03 74 03 A9 03 E0 03 1B 04 +0640: 5A 04 9B 04 E2 04 2C 05 7B 05 CE 05 27 06 85 06 +0650: E8 06 51 07 C1 07 37 08 B4 08 37 09 C4 09 57 0A +0660: F5 0A 9C 0B 4E 0C 09 0D D0 0D A3 0E 82 0F 6E 10 +0670: 68 11 6E 12 88 13 AF 14 EB 15 39 17 9C 18 13 1A +0680: A1 1B 46 1D 04 1F DC 20 D0 22 DC 24 10 27 5E 29 +0690: D6 2B 72 2E 38 31 26 34 42 37 8C 3A 08 3E B8 41 +06A0: A0 45 B8 49 20 4E BC 52 AC 57 E4 5C 70 62 4C 68 +06B0: 84 6E 18 75 10 7C 70 83 40 8B 70 93 40 9C 78 A5 +06C0: 58 AF C8 B9 E0 C4 98 D0 08 DD 30 EA 20 F8 2E FD +06D0: 00 07 0E 00 00 00 00 00 00 00 00 00 00 00 00 00 +06E0: 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 +06F0: 00 00 00 00 00 00 00 00 00 00 00 00 01 00 C0 00 +0700: 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 +0710: 00 8F D0 1C 07 07 08 A0 CE E3 EA 26 3C 68 CB F7 +0720: 97 03 73 85 84 AA F9 A5 F8 0A 15 27 4A 6D 8E C1 +0730: F4 15 1D 24 F5 06 17 47 09 1A 2B 3C 4D 96 DA DD +0740: 66 BD E2 6B 82 00 93 B6 DA 09 52 B4 C7 E8 29 6B +0750: 92 BD E8 08 0E 0E 08 0F 09 0F 09 0F 0A 0B 10 10 +0760: 0B 10 0B 10 0C 0D 0D 0D 0D 0D 0D 0D 0D 0E 0E 0E +0770: 0E 0F 0F 0F 10 10 10 10 10 10 08 08 0E 0A 0A 0E +0780: 0E 00 12 10 10 11 11 11 11 11 12 12 0E 09 0F 11 +0790: 14 17 1A 00 27 00 28 03 05 00 27 00 28 03 05 07 +07A0: 3A 14 17 00 27 00 28 2F 30 31 31 32 33 33 34 34 +07B0: 34 34 34 34 34 34 35 35 35 35 35 35 36 12 37 38 +07C0: 09 2A 09 2B 09 0A 09 2A 09 2B 09 0A 0D 0D 0F FF +07D0: 12 15 18 1B 2D 39 39 39 39 39 39 2C 39 39 39 39 +07E0: 39 39 2C 39 39 39 01 01 29 29 2C 15 18 39 39 39 +07F0: 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 +0800: 39 39 39 39 39 39 39 39 39 39 39 39 01 01 01 29 +0810: 39 39 39 01 01 01 29 39 39 39 39 FF 13 16 19 1C +0820: 02 02 1D 1E 02 02 1D 1F 04 04 20 20 06 02 02 1D +0830: 1E 02 02 1D 1F 04 04 20 20 06 08 08 08 08 21 21 +0840: 21 21 22 22 22 23 22 24 25 3B 26 26 26 26 26 26 +0850: 26 26 26 26 26 26 26 26 26 26 02 02 1D 1E 02 02 +0860: 1D 1F 2F 2F 2F 2F 2F 2F 2F 2F 2F 2F 2F 2F 2F 0B +0870: 0B 1D 1D 0B 0B 1D 0B 0B 0B 0C 0C 1D 1D 1D 10 0B +0880: 0B 1D 1D 0B 0B 1D 0B 0B 0B 0C 0C 1D 1D 1D 10 0B +0890: 1D 0B 1D 0B 1D 0B 1D 0B 0C 1D 0B 0C 23 0B 0B FF +08A0: 83 00 37 01 3E 01 3E 03 3D 03 3E 03 43 03 3E 03 +08B0: 3D 03 3E 03 37 01 3E 01 3E 03 3D 03 3E 03 43 03 +08C0: 42 03 43 03 45 03 46 01 48 01 46 03 45 03 43 03 +08D0: 4B 01 4D 01 4B 03 4A 03 48 FF 1F 4A FF 03 46 01 +08E0: 48 01 46 03 45 03 4A 0F 43 FF BF 06 48 07 48 01 +08F0: 4B 01 4A 01 4B 01 4A 03 4B 03 4D 03 4B 03 4A 3F +0900: 48 07 48 01 4B 01 4A 01 4B 01 4A 03 4B 03 4D 03 +0910: 4B 03 48 3F 4C 07 4C 01 4F 01 4E 01 4F 01 4E 03 +0920: 4F 03 51 03 4F 03 4E 3F 4C 07 4C 01 4F 01 4E 01 +0930: 4F 01 4E 03 4F 03 51 03 4F 03 4C FF 83 04 26 03 +0940: 29 03 28 03 29 03 26 03 35 03 34 03 32 03 2D 03 +0950: 30 03 2F 03 30 03 2D 03 3C 03 3B 03 39 03 30 03 +0960: 33 03 32 03 33 03 30 03 3F 03 3E 03 3C 03 46 03 +0970: 45 03 43 03 3A 03 39 03 37 03 2E 03 2D 03 26 03 +0980: 29 03 28 03 29 03 26 03 35 03 34 03 32 03 2D 03 +0990: 30 03 2F 03 30 03 2D 03 3C 03 3B 03 39 03 30 03 +09A0: 33 03 32 03 33 03 30 03 3F 03 3E 03 3C 03 34 03 +09B0: 37 03 36 03 37 03 34 03 37 03 3A 03 3D 03 3E 07 +09C0: 3E 07 3F 07 3E 03 3C 07 3E 57 FF 8B 00 3A 01 3A +09D0: 01 3C 03 3D 03 3F 03 3D 03 3C 0B 3A 03 39 07 3A +09E0: 81 06 4B 01 4D 01 4E 01 4D 01 4E 01 4D 05 4B 81 +09F0: 00 3A 01 3C 01 3D 03 3F 03 3D 03 3C 03 3A 03 39 +0A00: 1B 3A 0B 3B 01 3B 01 3D 03 3E 03 40 03 3E 03 3D +0A10: 0B 3B 03 3A 07 3B 81 06 4C 01 4E 01 4F 01 4E 01 +0A20: 4F 01 4E 05 4C 81 00 3B 01 3D 01 3E 03 40 03 3E +0A30: 03 3D 03 3B 03 3A 1B 3B 8B 05 35 03 33 07 32 03 +0A40: 30 03 2F 0B 30 03 32 0F 30 0B 35 03 33 07 32 03 +0A50: 30 03 2F 1F 30 8B 00 3C 01 3C 01 3E 03 3F 03 41 +0A60: 03 3F 03 3E 0B 3D 01 3D 01 3F 03 40 03 42 03 40 +0A70: 03 3F 03 3E 01 3E 01 40 03 41 03 40 03 3E 03 3D +0A80: 03 3E 03 3C 03 3A 01 3A 01 3C 03 3D 03 3C 03 3A +0A90: 03 39 03 3A 03 3C FF 83 00 32 01 35 01 34 03 32 +0AA0: 03 35 03 34 03 32 03 35 01 34 01 32 03 32 03 3A +0AB0: 03 39 03 3A 03 32 03 3A 03 39 03 3A FF 03 34 01 +0AC0: 37 01 35 03 34 03 37 03 35 03 34 03 37 01 35 01 +0AD0: 34 03 34 03 3A 03 39 03 3A 03 34 03 3A 03 39 03 +0AE0: 3A FF 03 39 03 38 03 39 03 3A 03 39 03 37 03 35 +0AF0: 03 34 03 35 03 34 03 35 03 37 03 35 03 34 03 32 +0B00: 03 31 FF 03 37 01 3A 01 39 03 37 03 3A 03 39 03 +0B10: 37 03 3A 01 39 01 37 03 37 03 3E 03 3D 03 3E 03 +0B20: 37 03 3E 03 3D 03 3E 03 3D 01 40 01 3E 03 3D 03 +0B30: 40 01 3E 01 3D 03 40 03 3E 03 40 03 40 01 43 01 +0B40: 41 03 40 03 43 01 41 01 40 03 43 03 41 03 43 03 +0B50: 43 01 46 01 45 03 43 03 46 01 45 01 43 03 46 03 +0B60: 45 03 43 01 48 01 49 01 48 01 46 01 45 01 46 01 +0B70: 45 01 43 01 41 01 43 01 41 01 40 01 3D 01 39 01 +0B80: 3B 01 3D FF 01 3E 01 39 01 35 01 39 01 3E 01 39 +0B90: 01 35 01 39 03 3E 01 41 01 40 03 40 01 3D 01 3E +0BA0: 01 40 01 3D 01 39 01 3D 01 40 01 3D 01 39 01 3D +0BB0: 03 40 01 43 01 41 03 41 01 3E 01 40 01 41 01 3E +0BC0: 01 39 01 3E 01 41 01 3E 01 39 01 3E 03 41 01 45 +0BD0: 01 43 03 43 01 40 01 41 01 43 01 40 01 3D 01 40 +0BE0: 01 43 01 40 01 3D 01 40 01 46 01 43 01 45 01 46 +0BF0: 01 44 01 43 01 40 01 3D FF 01 3E 01 39 01 35 01 +0C00: 39 01 3E 01 39 01 35 01 39 01 3E 01 39 01 35 01 +0C10: 39 01 3E 01 39 01 35 01 39 01 3E 01 3A 01 37 01 +0C20: 3A 01 3E 01 3A 01 37 01 3A 01 3E 01 3A 01 37 01 +0C30: 3A 01 3E 01 3A 01 37 01 3A 01 40 01 3D 01 39 01 +0C40: 3D 01 40 01 3D 01 39 01 3D 01 40 01 3D 01 39 01 +0C50: 3D 01 40 01 3D 01 39 01 3D 01 41 01 3E 01 39 01 +0C60: 3E 01 41 01 3E 01 39 01 3E 01 41 01 3E 01 39 01 +0C70: 3E 01 41 01 3E 01 39 01 3E 01 43 01 3E 01 3A 01 +0C80: 3E 01 43 01 3E 01 3A 01 3E 01 43 01 3E 01 3A 01 +0C90: 3E 01 43 01 3E 01 3A 01 3E 01 43 01 3F 01 3C 01 +0CA0: 3F 01 43 01 3F 01 3C 01 3F 01 43 01 3F 01 3C 01 +0CB0: 3F 01 43 01 3F 01 3C 01 3F 01 45 01 42 01 3C 01 +0CC0: 42 01 45 01 42 01 3C 01 42 01 48 01 45 01 42 01 +0CD0: 45 01 4B 01 48 01 45 01 48 01 4B 01 4A 01 48 01 +0CE0: 4A 01 4B 01 4A 01 48 01 4A 01 4B 01 4A 01 48 01 +0CF0: 4A 01 4C 01 4E 03 4F FF BF 06 56 1F 57 1F 56 1F +0D00: 5B 1F 56 1F 57 1F 56 1F 4F FF BF 0C 68 7F 7F 7F +0D10: 7F 7F 7F 7F FF BF 08 13 3F 13 3F 13 3F 13 3F 13 +0D20: 3F 13 3F 13 1F 13 FF 97 09 2E 03 2E 1B 32 03 32 +0D30: 1B 31 03 31 1F 34 43 17 32 03 32 1B 35 03 35 1B +0D40: 34 03 34 0F 37 8F 0A 37 43 FF 97 09 2B 03 2B 1B +0D50: 2E 03 2E 1B 2D 03 2D 1F 30 43 17 2E 03 2E 1B 32 +0D60: 03 32 1B 31 03 31 0F 34 8F 0A 34 43 FF 0F 1F 0F +0D70: 1F 0F 1F 0F 1F 0F 1F 0F 1F 0F 1F 0F 1F 0F 1F 0F +0D80: 1F 0F 1F 0F 1F 0F 1F 0F 1F 0F 1F 0F 1F FF 97 09 +0D90: 33 03 33 1B 37 03 37 1B 36 03 36 1F 39 43 17 37 +0DA0: 03 37 1B 3A 03 3A 1B 39 03 39 2F 3C 21 3C 21 3D +0DB0: 21 3E 21 3F 21 40 21 41 21 42 21 43 21 44 01 45 +0DC0: FF 97 09 30 03 30 1B 33 03 33 1B 32 03 32 1F 36 +0DD0: 43 17 33 03 33 1B 37 03 37 1B 36 03 36 2F 39 21 +0DE0: 39 21 3A 21 3B 21 3C 21 3D 21 3E 21 3F 21 40 21 +0DF0: 41 01 42 FF 0F 1A 0F 1A 0F 1A 0F 1A 0F 1A 0F 1A +0E00: 0F 1A 0F 1A 0F 1A 0F 1A 0F 1A 0F 1A 0F 1A 0F 1A +0E10: 0F 1A 0F 1A FF 1F 46 BF 0A 46 7F 7F FF 1F 43 BF +0E20: 0A 43 7F FF 83 02 13 03 13 03 1E 03 1F 03 13 03 +0E30: 13 03 1E 03 1F 03 13 03 13 03 1E 03 1F 03 13 03 +0E40: 13 03 1E 03 1F 03 13 03 13 03 1E 03 1F 03 13 03 +0E50: 13 03 1E 03 1F 03 13 03 13 03 1E 03 1F 03 13 03 +0E60: 13 03 1E 03 1F FF 8F 0B 38 4F FF 83 0E 32 07 32 +0E70: 07 2F 07 2F 03 2B 87 0B 46 83 0E 2C 03 2C 8F 0B +0E80: 32 FF 43 83 0E 32 03 32 03 2F 03 2F 03 2C 87 0B +0E90: 38 FF 83 01 43 01 4F 01 5B 87 03 2F 83 01 43 01 +0EA0: 4F 01 5B 87 03 2F 83 01 43 01 4F 01 5B 87 03 2F +0EB0: 83 01 43 01 4F 01 5B 87 03 2F 83 01 43 01 4F 01 +0EC0: 5B 87 03 2F 83 01 43 01 4F 01 5B 87 03 2F 83 01 +0ED0: 43 01 4F 01 5B 87 03 2F 83 01 43 01 4F 01 5B 87 +0EE0: 03 2F FF 83 02 13 03 13 03 1F 03 1F 03 13 03 13 +0EF0: 03 1F 03 1F FF 03 15 03 15 03 1F 03 21 03 15 03 +0F00: 15 03 1F 03 21 FF 03 1A 03 1A 03 1C 03 1C 03 1D +0F10: 03 1D 03 1E 03 1E FF 03 1A 03 1A 03 24 03 26 03 +0F20: 13 03 13 07 1F FF 03 18 03 18 03 24 03 24 03 18 +0F30: 03 18 03 24 03 24 03 20 03 20 03 2C 03 2C 03 20 +0F40: 03 20 03 2C 03 2C FF 03 19 03 19 03 25 03 25 03 +0F50: 19 03 19 03 25 03 25 03 21 03 21 03 2D 03 2D 03 +0F60: 21 03 21 03 2D 03 2D FF 03 1A 03 1A 03 26 03 26 +0F70: 03 1A 03 1A 03 26 03 26 03 15 03 15 03 21 03 21 +0F80: 03 15 03 15 03 21 03 21 03 18 03 18 03 24 03 24 +0F90: 03 18 03 18 03 24 03 24 03 1F 03 1F 03 2B 03 2B +0FA0: 03 1F 03 1F 03 2B 03 2B 03 1A 03 1A 03 26 03 26 +0FB0: 03 1A 03 1A 03 26 03 26 03 15 03 15 03 21 03 21 +0FC0: 03 15 03 15 03 21 03 21 03 18 03 18 03 24 03 24 +0FD0: 03 18 03 18 03 24 03 24 03 1C 03 1C 03 28 03 28 +0FE0: 03 1C 03 1C 03 28 03 28 83 04 36 07 36 07 37 07 +0FF0: 36 03 33 07 32 57 FF 83 02 1B 03 1B 03 27 03 27 +1000: 03 1B 03 1B 03 27 03 27 FF 03 1C 03 1C 03 28 03 +1010: 28 03 1C 03 1C 03 28 03 28 FF 03 1D 03 1D 03 29 +1020: 03 29 03 1D 03 1D 03 29 03 29 FF 03 18 03 18 03 +1030: 24 03 24 03 18 03 18 03 24 03 24 FF 03 1E 03 1E +1040: 03 2A 03 2A 03 1E 03 1E 03 2A 03 2A FF 83 05 26 +1050: 01 4A 01 34 03 29 03 4C 03 4A 03 31 03 4A 03 24 +1060: 03 22 01 46 01 30 03 25 03 48 03 46 03 2D 03 46 +1070: 03 24 FF 83 02 1A 03 1A 03 26 03 26 03 1A 03 1A +1080: 03 26 03 26 FF 03 13 03 13 03 1D 03 1F 03 13 03 +1090: 13 03 1D 03 1F FF 87 02 1A 87 03 2F 83 02 26 03 +10A0: 26 87 03 2F FF 07 1A 4F 47 FF 03 1F 03 1F 03 24 +10B0: 03 26 07 13 47 FF BF 0F 32 0F 32 8F 90 30 3F 32 +10C0: 13 32 03 32 03 35 03 37 3F 37 0F 37 8F 90 30 3F +10D0: 32 13 32 03 2D 03 30 03 32 FF 0F 32 AF 90 35 0F +10E0: 37 A7 99 37 07 35 3F 32 13 32 03 32 A3 E8 35 03 +10F0: 37 0F 35 AF 90 37 0F 37 A7 99 37 07 35 3F 32 13 +1100: 32 03 2D A3 E8 30 03 32 FF 07 32 03 39 13 3C A7 +1110: 9A 37 A7 9B 38 07 37 03 35 03 32 03 39 1B 3C A7 +1120: 9A 37 A7 9B 38 07 37 03 35 03 32 03 39 03 3C 03 +1130: 3E 03 3C 07 3E 03 3C 03 39 A7 9A 37 A7 9B 38 07 +1140: 37 03 35 03 32 AF 90 3C 1F 3E 43 03 3E 03 3C 03 +1150: 3E FF 03 3E 03 3E A3 E8 3C 03 3E 03 3E 03 3E A3 +1160: E8 3C 03 3E 03 3E 03 3E A3 E8 3C 03 3E 03 3E 03 +1170: 3E A3 E8 3C 03 3E AF 91 43 1F 41 43 03 3E 03 41 +1180: 03 43 03 43 03 43 A3 E8 41 03 43 03 43 03 43 A3 +1190: E8 41 03 43 03 45 03 48 A3 FD 45 03 44 01 43 01 +11A0: 41 03 3E 03 3C 03 3E 2F 3E BF 98 3E 43 03 3E 03 +11B0: 3C 03 3E FF 03 4A 03 4A A3 F8 48 03 4A 03 4A 03 +11C0: 4A A3 F8 48 03 4A FF 01 51 01 54 01 51 01 54 01 +11D0: 51 01 54 01 51 01 54 01 51 01 54 01 51 01 54 01 +11E0: 51 01 54 01 51 01 54 FF 01 50 01 4F 01 4D 01 4A +11F0: 01 4F 01 4D 01 4A 01 48 01 4A 01 48 01 45 01 43 +1200: 01 44 01 43 01 41 01 3E 01 43 01 41 01 3E 01 3C +1210: 01 3E 01 3C 01 39 01 37 01 38 01 37 01 35 01 32 +1220: 01 37 01 35 01 32 01 30 FF 5F 5F 5F 47 83 0E 32 +1230: 07 32 07 2F 03 2F 07 2F 97 0B 3A 5F 5F 47 8B 0E +1240: 32 03 32 03 2F 03 2F 47 97 0B 3A 5F 5F 47 83 0E +1250: 2F 0B 2F 03 2F 03 2F 87 0B 30 17 3A 5F 8B 0E 32 +1260: 0B 32 0B 2F 0B 2F 07 2C 07 2C FF 87 0B 34 17 3A +1270: 5F 5F 84 0E 32 04 32 05 32 04 2F 04 2F 05 2F 47 +1280: 97 0B 3A 5F 5F 84 0E 32 04 32 05 32 04 2F 04 2F +1290: 05 2F FF 03 1A 03 1A 03 24 03 26 03 1A 03 1A 03 +12A0: 18 03 19 03 1A 03 1A 03 24 03 26 03 1A 03 1A 03 +12B0: 18 03 19 03 18 03 18 03 22 03 24 03 18 03 18 03 +12C0: 16 03 17 03 18 03 18 03 22 03 24 03 18 03 18 03 +12D0: 16 03 17 03 13 03 13 03 1D 03 1F 03 13 03 13 03 +12E0: 1D 03 1E 03 13 03 13 03 1D 03 1F 03 13 03 13 03 +12F0: 1D 03 1E 03 1A 03 1A 03 24 03 26 03 1A 03 1A 03 +1300: 18 03 19 03 1A 03 1A 03 24 03 26 03 1A 03 1A 03 +1310: 18 03 19 FF 80 09 41 48 60 03 81 00 00 08 81 02 +1320: 08 00 00 01 A0 02 41 09 80 00 00 00 00 02 81 09 +1330: 09 00 00 05 00 08 41 08 50 02 00 04 00 01 41 3F +1340: C0 02 00 00 00 08 41 04 40 02 00 00 00 08 41 09 +1350: 00 02 00 00 00 09 41 09 70 02 5F 04 00 09 41 4A +1360: 69 02 81 00 00 09 41 40 6F 00 81 02 80 07 81 0A +1370: 0A 00 00 01 00 09 41 3F FF 01 E7 02 00 08 41 90 +1380: F0 01 E8 02 00 08 41 06 0A 00 00 01 00 09 41 19 +1390: 70 02 A8 00 00 02 41 09 90 02 00 00 00 00 11 0A +13A0: FA 00 00 05 00 08 41 37 40 02 00 00 00 08 11 07 +13B0: 70 02 00 00 From 5d24b53f2319487685e9fbd044ec649178140aaf Mon Sep 17 00:00:00 2001 From: nino-porcino Date: Thu, 13 Jan 2022 17:36:38 +0100 Subject: [PATCH 06/11] Create m.bat --- demos/montyr/m.bat | 19 +++++++++++++++++++ 1 file changed, 19 insertions(+) create mode 100644 demos/montyr/m.bat diff --git a/demos/montyr/m.bat b/demos/montyr/m.bat new file mode 100644 index 0000000..cd79fb2 --- /dev/null +++ b/demos/montyr/m.bat @@ -0,0 +1,19 @@ +@set JAVAEXE="c:\Program Files\Java\jdk1.8.0_161\bin\java.exe" +@set JAVAEXE="C:\Program Files\Java\jre1.8.0_311\bin\java.exe" + +@set KICKASSJAR="C:\Users\Nino1\Desktop\USB\Retro stuff 2\KickAssembler\KickAss.jar" + +@set PRG2BIN=call node ..\..\tools\prg2bin.js +@set PRG2WOZ=call node ..\..\tools\prg2woz.js + +%JAVAEXE% -jar %KICKASSJAR% montyr_apple1.asm -define SID_CC00 +%PRG2BIN% -i montyr_apple1.prg -o montyr.sid_cc00.0280R.bin +%PRG2WOZ% -i montyr_apple1.prg -o montyr.sid_cc00.0280R.woz + +%JAVAEXE% -jar %KICKASSJAR% montyr_apple1.asm -define SID_C800 +%PRG2BIN% -i montyr_apple1.prg -o montyr.sid_c800.0280R.bin +%PRG2WOZ% -i montyr_apple1.prg -o montyr.sid_c800.0280R.woz + + + + From 5900dc4cb9206cbd58558eff3d494ec2db980f4c Mon Sep 17 00:00:00 2001 From: nino-porcino Date: Thu, 13 Jan 2022 17:39:18 +0100 Subject: [PATCH 07/11] remove old file --- demos/montyr/montyr.asm | 1514 --------------------------------------- 1 file changed, 1514 deletions(-) delete mode 100644 demos/montyr/montyr.asm diff --git a/demos/montyr/montyr.asm b/demos/montyr/montyr.asm deleted file mode 100644 index ebf3eb1..0000000 --- a/demos/montyr/montyr.asm +++ /dev/null @@ -1,1514 +0,0 @@ -//====================================================================================== -//taken from https://codebase64.org/doku.php?id=magazines:chacking5#rob_hubbard_s_musicdisassembled_commented_and_explained -//====================================================================================== -// -//How to use the sourcecode: -//************************* -// -// jsr music+0 to initialize the music number in the accumulator -// jsr music+3 to play the music -// jsr music+6 to stop the music and quieten SID -// -// The music is supposed to run at 50Hz, or 50 times per second. Therefore -//PAL users can run the music routine off the IRQ like this: -// -// lda #$00 // init music number 0 -// jsr music+0 -// sei // install the irq and a raster compare -// lda #irq -// sta $314 -// stx $315 -// lda #$1b -// sta $d011 -// lda #$01 -// sta $d01a -// lda #$7f -// sta $dc0d -// cli -//loop: -// jmp loop // endless loop (music is now playing off interrupt :-) -// -//irq: -// lda #$01 -// sta $d019 -// lda #$3c -// sta $d012 -// -// inc $d020 // play music, and show a raster for the time it takes -// jsr music+3 -// dec $d020 -// -// lda #$14 -// sta $d018 -// jmp $ea31 -// ====================================================================================== - - -//rob hubbard -//monty on the run music driver - -//this player was used (with small mods) -//for his first approx 30 musix - -*=$8000 - -////// - lda #$00 // init music number 0 - jsr music+0 - sei // install the irq and a raster compare - lda #irq - sta $314 - stx $315 - lda #$1b - sta $d011 - lda #$01 - sta $d01a - lda #$7f - sta $dc0d - cli -loop: - jmp loop // endless loop (music is now playing off interrupt :-) - -irq: - lda #$01 - sta $d019 - lda #$3c - sta $d012 - - inc $d020 // play music, and show a raster for the time it takes - jsr music+3 - dec $d020 - - lda #$14 - sta $d018 - jmp $ea31 - -////// - -music: - jmp initmusic - jmp playmusic - jmp musicoff - - -//==================================== -//init music - -initmusic: - - lda #$00 //music num - ldy #$00 - asl - sta tempstore - asl - clc - adc tempstore //now music num*6 - tax - -!: lda songs,x //copy ptrs to this - sta currtrkhi,y //music's tracks to - inx //current tracks - iny - cpy #$06 - bne !- - - lda #$00 //clear control regs - sta $d404 - sta $d40b - sta $d412 - sta $d417 - - lda #$0f //full volume - sta $d418 - - lda #$40 //flag init music - sta mstatus - - rts - - -//==================================== -//music off - -musicoff: - - lda #$c0 //flag music off - sta mstatus - rts - - -//==================================== -//play music - -playmusic: - - inc counter - - bit mstatus //test music status - bmi moff //$80 and $c0 is off - bvc contplay //$40 init, else play - - -//========== -//init the song (mstatus $40) - - lda #$00 //init counter - sta counter - - ldx #3-1 -!: sta posoffset,x //init pos offsets - sta patoffset,x //init pat offsets - sta lengthleft,x //get note right away - sta notenum,x - dex - bpl !- - - sta mstatus //signal music play - jmp contplay - - -//========== -//music is off (mstatus $80 or $c0) - -moff: - - bvc !+ //if mstatus $c0 then - lda #$00 - sta $d404 //kill voice 1,2,3 - sta $d40b //control registers - sta $d412 - - lda #$0f //full volume still - sta $d418 - - lda #$80 //flag no need to kill - sta mstatus //sound next time - -!: jmp musicend //end - - -//========== -//music is playing (mstatus otherwise) - -contplay: - - ldx #3-1 //number of chanels - - dec speed //check the speed - bpl mainloop - - lda resetspd //reset speed if needed - sta speed - - -mainloop: - - lda regoffsets,x //save offset to regs - sta tmpregofst //for this channel - tay - - -//check whether a new note is needed - - lda speed //if speed not reset - cmp resetspd //then skip notework - beq checknewnote - jmp vibrato - -checknewnote: - - lda currtrkhi,x //put base addr.w of - sta $02 //this track in $2 - lda currtrklo,x - sta $03 - - dec lengthleft,x //check whether a new - bmi getnewnote //note is needed - - jmp soundwork //no new note needed - - -//========== -//notework -//a new note is needed. get the pattern -//number/cc from this position - -getnewnote: - - ldy posoffset,x //get the data from - lda ($02),y //the current position - - cmp #$ff //pos $ff restarts - beq restart - - cmp #$fe //pos $fe stops music - bne getnotedata //on all channels - jmp musicend - -//cc of $ff restarts this track from the -//first position - -restart: - - lda #$00 //get note immediately - sta lengthleft,x //and reset pat,pos - sta posoffset,x - sta patoffset,x - jmp getnewnote - - -//get the note data from this pattern - -getnotedata: - - tay - lda patptl,y //put base addr.w of - sta $04 //the pattern in $4 - lda patpth,y - sta $05 - - lda #$00 //default no portamento - sta portaval,x - - ldy patoffset,x //get offset into ptn - - lda #$ff //default no append - sta appendfl - -//1st byte is the length of the note 0-31 -//bit5 signals no release (see sndwork) -//bit6 signals appended note -//bit7 signals a new instrument -// or portamento coming up - - lda ($04),y //get length of note - sta savelnthcc,x - sta templnthcc - and #$1f - sta lengthleft,x - - bit templnthcc //test for append - bvs appendnote - - inc patoffset,x //pt to next data - - lda templnthcc //2nd byte needed? - bpl getpitch - -//2nd byte needed as 1st byte negative -//2nd byte is the instrument number(+ve) -//or portamento speed(-ve) - - iny - lda ($04),y //get instr/portamento - bpl !+ - - sta portaval,x //save portamento val - jmp double_plus - -!: sta instrnr,x //save instr nr - -double_plus: - inc patoffset,x - -//3rd byte is the pitch of the note -//get the 'base frequency' here - -getpitch: - - iny - lda ($04),y //get pitch of note - sta notenum,x - asl //pitch*2 - tay - lda frequenzlo,y //save the appropriate - sta tempfreq //base frequency - lda frequenzhi,y - ldy tmpregofst - sta $d401,y - sta savefreqhi,x - lda tempfreq - sta $d400,y - sta savefreqlo,x - jmp !+ - -appendnote: - - dec appendfl //clever eh? - - -//fetch all the initial values from the -//instrument data structure - -!: ldy tmpregofst - lda instrnr,x //instr num - stx tempstore - asl //instr num*8 - asl - asl - tax - - lda instr+2,x //get control reg val - sta tempctrl - lda instr+2,x - and appendfl //implement append - sta $d404,y - - lda instr+0,x //get pulse width lo - sta $d402,y - - lda instr+1,x //get pulse width hi - sta $d403,y - - lda instr+3,x //get attack/decay - sta $d405,y - - lda instr+4,x //get sustain/release - sta $d406,y - - ldx tempstore //save control reg val - lda tempctrl - sta voicectrl,x - - -//4th byte checks for the end of pattern -//if eop found, inc the position and -//reset patoffset for new pattern - - inc patoffset,x //preview 4th byte - ldy patoffset,x - lda ($04),y - - cmp #$ff //check for eop - bne !+ - - lda #$00 //end of pat reached - sta patoffset,x //inc position for - inc posoffset,x //the next time - -!: jmp loopcont - - -//========== -//soundwork -//the instrument and effects processing -//routine when no new note was needed - -soundwork: - -//release routine -//set off a release when the length of -//the note is exceeded -//bit4 of the 1st note-byte can specify -//for no release - - ldy tmpregofst - - lda savelnthcc,x //check for no release - and #$20 //specified - bne vibrato - - lda lengthleft,x //check for length of - bne vibrato //exceeded - - lda voicectrl,x //length exceeded so - and #$fe //start the release - sta $d404,y //and kill adsr - lda #$00 - sta $d405,y - sta $d406,y - - -//vibrato routine -//(does alot of work) - -vibrato: - - lda instrnr,x //instr num - asl - asl - asl //instr num*8 - tay - sty instnumby8 //save instr num*8 - - lda instr+7,y //get instr fx byte - sta instrfx - - lda instr+6,y //get pulse speed - sta pulsevalue - - lda instr+5,y //get vibrato depth - sta vibrdepth - beq pulsework //check for no vibrato - - lda counter //this is clever!! - and #7 //the counter's turned - cmp #4 //into an oscillating - bcc !+ //value (01233210) - eor #7 -!: sta oscilatval - - lda notenum,x //get base note - asl //note*2 - tay //get diff btw note - sec //and note+1 frequency - lda frequenzlo+2,y - sbc frequenzlo,y - sta tmpvdiflo - lda frequenzhi+2,y - sbc frequenzhi,y - -!: lsr //divide difference by - ror tmpvdiflo //2 for each vibrdepth - dec vibrdepth - bpl !- - sta tmpvdifhi - - lda frequenzlo,y //save note frequency - sta tmpvfrqlo - lda frequenzhi,y - sta tmpvfrqhi - - lda savelnthcc,x //no vibrato if note - and #$1f //length less than 8 - cmp #8 - bcc line_457 - - ldy oscilatval - -!: dey //depending on the osc - bmi line_457 //value, add the vibr - clc //freq that many times - lda tmpvfrqlo //to the base freq - adc tmpvdiflo - sta tmpvfrqlo - lda tmpvfrqhi - adc tmpvdifhi - sta tmpvfrqhi - jmp !- - -line_457: - ldy tmpregofst //save the final - lda tmpvfrqlo //frequencies - sta $d400,y - lda tmpvfrqhi - sta $d401,y - - -//pulse-width timbre routine -//depending on the control/speed byte in -//the instrument datastructure, the pulse -//width is of course inc/decremented to -//produce timbre - -//strangely the delay value is also the -//size of the inc/decrements - -pulsework: - - lda pulsevalue //check for pulsework - beq portamento //needed this instr - - ldy instnumby8 - and #$1f - dec pulsedelay,x //pulsedelay-1 - bpl portamento - - sta pulsedelay,x //reset pulsedelay - - lda pulsevalue //restrict pulse speed - and #$e0 //from $00-$1f - sta pulsespeed - - lda pulsedir,x //pulsedir 0 is up and - bne pulsedown //1 is down - - lda pulsespeed //pulse width up - clc - adc instr+0,y //add the pulsespeed - pha //to the pulse width - lda instr+1,y - adc #$00 - and #$0f - pha - cmp #$0e //go pulsedown when - bne dumpulse //the pulse value - inc pulsedir,x //reaches max ($0exx) - jmp dumpulse - -pulsedown: - - sec //pulse width down - lda instr+0,y - sbc pulsespeed //sub the pulsespeed - pha //from the pulse width - lda instr+1,y - sbc #$00 - and #$0f - pha - cmp #$08 //go pulseup when - bne dumpulse //the pulse value - dec pulsedir,x //reaches min ($08xx) - -dumpulse: - - stx tempstore //dump pulse width to - ldx tmpregofst //chip and back into - pla //the instr data str - sta instr+1,y - sta $d403,x - pla - sta instr+0,y - sta $d402,x - ldx tempstore - - -//portamento routine -//portamento comes from the second byte -//if it's a negative value - -portamento: - - ldy tmpregofst - lda portaval,x //check for portamento - beq drums //none - - and #$7e //toad unwanted bits - sta tempstore - - lda portaval,x //bit0 signals up/down - and #$01 - beq portup - - sec //portamento down - lda savefreqlo,x //sub portaval from - sbc tempstore //current frequency - sta savefreqlo,x - sta $d400,y - lda savefreqhi,x - sbc #$00 //(word arithmetic) - sta savefreqhi,x - sta $d401,y - jmp drums - -portup: - - clc //portamento up - lda savefreqlo,x //add portval to - adc tempstore //current frequency - sta savefreqlo,x - sta $d400,y - lda savefreqhi,x - adc #$00 - sta savefreqhi,x - sta $d401,y - - -//bit0 instrfx are the drum routines -//the actual drum timbre depends on the -//crtl register value for the instrument: -//ctrlreg 0 is always noise -//ctrlreg x is noise for 1st vbl and x -//from then on - -//see that the drum is made by rapid hi -//to low frequency slide with fast attack -//and decay - -drums: - - lda instrfx //check if drums - and #$01 //needed this instr - beq skydive - - lda savefreqhi,x //don't bother if freq - beq skydive //can't go any lower - - lda lengthleft,x //or if the note has - beq skydive //finished - - lda savelnthcc,x //check if this is the - and #$1f //first vbl for this - sec //instrument-note - sbc #$01 - cmp lengthleft,x - ldy tmpregofst - bcc firstime - - lda savefreqhi,x //not the first time - dec savefreqhi,x //so dec freqhi for - sta $d401,y //drum sound - - lda voicectrl,x //if ctrlreg is 0 then - and #$fe //noise is used always - bne dumpctrl - -firstime: - - lda savefreqhi,x //noise is used for - sta $d401,y //the first vbl also - lda #$80 //(set noise) - -dumpctrl: - - sta $d404,y - - -//bit1 instrfx is the skydive -//a long portamento-down from the note -//to zerofreq - -skydive: - - lda instrfx //check if skydive - and #$02 //needed this instr - beq octarp - - lda counter //every 2nd vbl - and #$01 - beq octarp - - lda savefreqhi,x //check if skydive - beq octarp //already complete - - dec savefreqhi,x //decr and save the - ldy tmpregofst //high byte freq - sta $d401,y - - -//bit2 instrfx is an octave arpeggio -//pretty tame huh? - -octarp: - - lda instrfx //check if arpt needed - and #$04 - beq loopcont - - lda counter //only 2 arpt values - and #$01 - beq !+ - - lda notenum,x //odd, note+12 - clc - adc #$0c - jmp line_666 - -!: lda notenum,x //even, note - -line_666: - asl //dump the corresponding - tay //frequencies - lda frequenzlo,y - sta tempfreq - lda frequenzhi,y - ldy tmpregofst - sta $d401,y - lda tempfreq - sta $d400,y - - -//========== -//end of dbf loop - -loopcont: - - dex //dbf mainloop - bmi musicend - jmp mainloop - -musicend: - - rts - - -//==================================== -//frequenz data -//==================================== - -frequenzlo: .byte $16 -frequenzhi: .byte $01 - .byte $27,$01,$38,$01,$4b,$01 - .byte $5f,$01,$73,$01,$8a,$01,$a1,$01 - .byte $ba,$01,$d4,$01,$f0,$01,$0e,$02 - .byte $2d,$02,$4e,$02,$71,$02,$96,$02 - .byte $bd,$02,$e7,$02,$13,$03,$42,$03 - .byte $74,$03,$a9,$03,$e0,$03,$1b,$04 - .byte $5a,$04,$9b,$04,$e2,$04,$2c,$05 - .byte $7b,$05,$ce,$05,$27,$06,$85,$06 - .byte $e8,$06,$51,$07,$c1,$07,$37,$08 - .byte $b4,$08,$37,$09,$c4,$09,$57,$0a - .byte $f5,$0a,$9c,$0b,$4e,$0c,$09,$0d - .byte $d0,$0d,$a3,$0e,$82,$0f,$6e,$10 - .byte $68,$11,$6e,$12,$88,$13,$af,$14 - .byte $eb,$15,$39,$17,$9c,$18,$13,$1a - .byte $a1,$1b,$46,$1d,$04,$1f,$dc,$20 - .byte $d0,$22,$dc,$24,$10,$27,$5e,$29 - .byte $d6,$2b,$72,$2e,$38,$31,$26,$34 - .byte $42,$37,$8c,$3a,$08,$3e,$b8,$41 - .byte $a0,$45,$b8,$49,$20,$4e,$bc,$52 - .byte $ac,$57,$e4,$5c,$70,$62,$4c,$68 - .byte $84,$6e,$18,$75,$10,$7c,$70,$83 - .byte $40,$8b,$70,$93,$40,$9c,$78,$a5 - .byte $58,$af,$c8,$b9,$e0,$c4,$98,$d0 - .byte $08,$dd,$30,$ea,$20,$f8,$2e,$fd - - -regoffsets: .byte $00,$07,$0e -tmpregofst: .byte $00 -posoffset: .byte $00,$00,$00 -patoffset: .byte $00,$00,$00 -lengthleft: .byte $00,$00,$00 -savelnthcc: .byte $00,$00,$00 -voicectrl: .byte $00,$00,$00 -notenum: .byte $00,$00,$00 -instrnr: .byte $00,$00,$00 -appendfl: .byte $00 -templnthcc: .byte $00 -tempfreq: .byte $00 -tempstore: .byte $00 -tempctrl: .byte $00 -vibrdepth: .byte $00 -pulsevalue: .byte $00 -tmpvdiflo: .byte $00 -tmpvdifhi: .byte $00 -tmpvfrqlo: .byte $00 -tmpvfrqhi: .byte $00 -oscilatval: .byte $00 -pulsedelay: .byte $00,$00,$00 -pulsedir: .byte $00,$00,$00 -speed: .byte $00 -resetspd: .byte $01 -instnumby8: .byte $00 -mstatus: .byte $c0 -savefreqhi: .byte $00,$00,$00 -savefreqlo: .byte $00,$00,$00 -portaval: .byte $00,$00,$00 -instrfx: .byte $00 -pulsespeed: .byte $00 -counter: .byte $00 -currtrkhi: .byte $00,$00,$00 -currtrklo: .byte $00,$00,$00 - - -//==================================== -//monty on the run main theme -//==================================== - -songs: - .byte montymaintr1 - .byte >montymaintr2 - .byte >montymaintr3 - - -//==================================== -//pointers to the patterns - -//low pointers -patptl: - .byte ptn00 - .byte >ptn01 - .byte >ptn02 - .byte >ptn03 - .byte >ptn04 - .byte >ptn05 - .byte >ptn06 - .byte >ptn07 - .byte >ptn08 - .byte >ptn09 - .byte >ptn0a - .byte >ptn0b - .byte >ptn0c - .byte >ptn0d - .byte >ptn0e - .byte >ptn0f - .byte >ptn10 - .byte >ptn11 - .byte >ptn12 - .byte >ptn13 - .byte >ptn14 - .byte >ptn15 - .byte >ptn16 - .byte >ptn17 - .byte >ptn18 - .byte >ptn19 - .byte >ptn1a - .byte >ptn1b - .byte >ptn1c - .byte >ptn1d - .byte >ptn1e - .byte >ptn1f - .byte >ptn20 - .byte >ptn21 - .byte >ptn22 - .byte >ptn23 - .byte >ptn24 - .byte >ptn25 - .byte >ptn26 - .byte >ptn27 - .byte >ptn28 - .byte >ptn29 - .byte >ptn2a - .byte >ptn2b - .byte >ptn2c - .byte >ptn2d - .byte 0 - .byte >ptn2f - .byte >ptn30 - .byte >ptn31 - .byte >ptn32 - .byte >ptn33 - .byte >ptn34 - .byte >ptn35 - .byte >ptn36 - .byte >ptn37 - .byte >ptn38 - .byte >ptn39 - .byte >ptn3a - .byte >ptn3b - - -//==================================== -//tracks -//==================================== - -//track1 -montymaintr1: - .byte $11,$14,$17,$1a,$00,$27,$00,$28 - .byte $03,$05,$00,$27,$00,$28,$03,$05 - .byte $07,$3a,$14,$17,$00,$27,$00,$28 - .byte $2f,$30,$31,$31,$32,$33,$33,$34 - .byte $34,$34,$34,$34,$34,$34,$34,$35 - .byte $35,$35,$35,$35,$35,$36,$12,$37 - .byte $38,$09,$2a,$09,$2b,$09,$0a,$09 - .byte $2a,$09,$2b,$09,$0a,$0d,$0d,$0f - .byte $ff - -//track2 -montymaintr2: - .byte $12,$15,$18,$1b,$2d,$39,$39 - .byte $39,$39,$39,$39,$2c,$39,$39,$39 - .byte $39,$39,$39,$2c,$39,$39,$39,$01 - .byte $01,$29,$29,$2c,$15,$18,$39,$39 - .byte $39,$39,$39,$39,$39,$39,$39,$39 - .byte $39,$39,$39,$39,$39,$39,$39,$39 - .byte $39,$39,$39,$39,$39,$39,$39,$39 - .byte $39,$39,$39,$39,$39,$01,$01,$01 - .byte $29,$39,$39,$39,$01,$01,$01,$29 - .byte $39,$39,$39,$39,$ff - -//track3 -montymaintr3: - .byte $13,$16,$19 - .byte $1c,$02,$02,$1d,$1e,$02,$02,$1d - .byte $1f,$04,$04,$20,$20,$06,$02,$02 - .byte $1d,$1e,$02,$02,$1d,$1f,$04,$04 - .byte $20,$20,$06,$08,$08,$08,$08,$21 - .byte $21,$21,$21,$22,$22,$22,$23,$22 - .byte $24,$25,$3b,$26,$26,$26,$26,$26 - .byte $26,$26,$26,$26,$26,$26,$26,$26 - .byte $26,$26,$26,$02,$02,$1d,$1e,$02 - .byte $02,$1d,$1f,$2f,$2f,$2f,$2f,$2f - .byte $2f,$2f,$2f,$2f,$2f,$2f,$2f,$2f - .byte $0b,$0b,$1d,$1d,$0b,$0b,$1d,$0b - .byte $0b,$0b,$0c,$0c,$1d,$1d,$1d,$10 - .byte $0b,$0b,$1d,$1d,$0b,$0b,$1d,$0b - .byte $0b,$0b,$0c,$0c,$1d,$1d,$1d,$10 - .byte $0b,$1d,$0b,$1d,$0b,$1d,$0b,$1d - .byte $0b,$0c,$1d,$0b,$0c,$23,$0b,$0b - .byte $ff - - -//==================================== -//patterns -//==================================== - -ptn00: - .byte $83,$00,$37,$01,$3e,$01,$3e,$03 - .byte $3d,$03,$3e,$03,$43,$03,$3e,$03 - .byte $3d,$03,$3e,$03,$37,$01,$3e,$01 - .byte $3e,$03,$3d,$03,$3e,$03,$43,$03 - .byte $42,$03,$43,$03,$45,$03,$46,$01 - .byte $48,$01,$46,$03,$45,$03,$43,$03 - .byte $4b,$01,$4d,$01,$4b,$03,$4a,$03 - .byte $48,$ff - -ptn27: - .byte $1f,$4a,$ff - -ptn28: - .byte $03,$46,$01,$48,$01,$46,$03,$45 - .byte $03,$4a,$0f,$43,$ff - -ptn03: - .byte $bf,$06 - .byte $48,$07,$48,$01,$4b,$01,$4a,$01 - .byte $4b,$01,$4a,$03,$4b,$03,$4d,$03 - .byte $4b,$03,$4a,$3f,$48,$07,$48,$01 - .byte $4b,$01,$4a,$01,$4b,$01,$4a,$03 - .byte $4b,$03,$4d,$03,$4b,$03,$48,$3f - .byte $4c,$07,$4c,$01,$4f,$01,$4e,$01 - .byte $4f,$01,$4e,$03,$4f,$03,$51,$03 - .byte $4f,$03,$4e,$3f,$4c,$07,$4c,$01 - .byte $4f,$01,$4e,$01,$4f,$01,$4e,$03 - .byte $4f,$03,$51,$03,$4f,$03,$4c,$ff - -ptn05: - .byte $83,$04,$26,$03,$29,$03,$28,$03 - .byte $29,$03,$26,$03,$35,$03,$34,$03 - .byte $32,$03,$2d,$03,$30,$03,$2f,$03 - .byte $30,$03,$2d,$03,$3c,$03,$3b,$03 - .byte $39,$03,$30,$03,$33,$03,$32,$03 - .byte $33,$03,$30,$03,$3f,$03,$3e,$03 - .byte $3c,$03,$46,$03,$45,$03,$43,$03 - .byte $3a,$03,$39,$03,$37,$03,$2e,$03 - .byte $2d,$03,$26,$03,$29,$03,$28,$03 - .byte $29,$03,$26,$03,$35,$03,$34,$03 - .byte $32,$03,$2d,$03,$30,$03,$2f,$03 - .byte $30,$03,$2d,$03,$3c,$03,$3b,$03 - .byte $39,$03,$30,$03,$33,$03,$32,$03 - .byte $33,$03,$30,$03,$3f,$03,$3e,$03 - .byte $3c,$03,$34,$03,$37,$03,$36,$03 - .byte $37,$03,$34,$03,$37,$03,$3a,$03 - .byte $3d - -ptn3a: - .byte $03,$3e,$07,$3e,$07,$3f,$07 - .byte $3e,$03,$3c,$07,$3e,$57,$ff - -ptn07: - .byte $8b - .byte $00,$3a,$01,$3a,$01,$3c,$03,$3d - .byte $03,$3f,$03,$3d,$03,$3c,$0b,$3a - .byte $03,$39,$07,$3a,$81,$06,$4b,$01 - .byte $4d,$01,$4e,$01,$4d,$01,$4e,$01 - .byte $4d,$05,$4b,$81,$00,$3a,$01,$3c - .byte $01,$3d,$03,$3f,$03,$3d,$03,$3c - .byte $03,$3a,$03,$39,$1b,$3a,$0b,$3b - .byte $01,$3b,$01,$3d,$03,$3e,$03,$40 - .byte $03,$3e,$03,$3d,$0b,$3b,$03,$3a - .byte $07,$3b,$81,$06,$4c,$01,$4e,$01 - .byte $4f,$01,$4e,$01,$4f,$01,$4e,$05 - .byte $4c,$81,$00,$3b,$01,$3d,$01,$3e - .byte $03,$40,$03,$3e,$03,$3d,$03,$3b - .byte $03,$3a,$1b,$3b,$8b,$05,$35,$03 - .byte $33,$07,$32,$03,$30,$03,$2f,$0b - .byte $30,$03,$32,$0f,$30,$0b,$35,$03 - .byte $33,$07,$32,$03,$30,$03,$2f,$1f - .byte $30,$8b,$00,$3c,$01,$3c,$01,$3e - .byte $03,$3f,$03,$41,$03,$3f,$03,$3e - .byte $0b,$3d,$01,$3d,$01,$3f,$03,$40 - .byte $03,$42,$03,$40,$03,$3f,$03,$3e - .byte $01,$3e,$01,$40,$03,$41,$03,$40 - .byte $03,$3e,$03,$3d,$03,$3e,$03,$3c - .byte $03,$3a,$01,$3a,$01,$3c,$03,$3d - .byte $03,$3c,$03,$3a,$03,$39,$03,$3a - .byte $03,$3c,$ff - -ptn09: - .byte $83,$00,$32,$01,$35,$01,$34,$03 - .byte $32,$03,$35,$03,$34,$03,$32,$03 - .byte $35,$01,$34,$01,$32,$03,$32,$03 - .byte $3a,$03,$39,$03,$3a,$03,$32,$03 - .byte $3a,$03,$39,$03,$3a,$ff - -ptn2a: - .byte $03,$34,$01,$37,$01,$35,$03,$34 - .byte $03,$37,$03,$35,$03,$34,$03,$37 - .byte $01,$35,$01,$34,$03,$34,$03,$3a - .byte $03,$39,$03,$3a,$03,$34,$03,$3a - .byte $03,$39,$03,$3a,$ff - -ptn2b: - .byte $03,$39,$03,$38,$03,$39,$03,$3a - .byte $03,$39,$03,$37,$03,$35,$03,$34 - .byte $03,$35,$03,$34,$03,$35,$03,$37 - .byte $03,$35,$03,$34,$03,$32,$03,$31 - .byte $ff - -ptn0a: - .byte $03 - .byte $37,$01,$3a,$01,$39,$03,$37,$03 - .byte $3a,$03,$39,$03,$37,$03,$3a,$01 - .byte $39,$01,$37,$03,$37,$03,$3e,$03 - .byte $3d,$03,$3e,$03,$37,$03,$3e,$03 - .byte $3d,$03,$3e,$03,$3d,$01,$40,$01 - .byte $3e,$03,$3d,$03,$40,$01,$3e,$01 - .byte $3d,$03,$40,$03,$3e,$03,$40,$03 - .byte $40,$01,$43,$01,$41,$03,$40,$03 - .byte $43,$01,$41,$01,$40,$03,$43,$03 - .byte $41,$03,$43,$03,$43,$01,$46,$01 - .byte $45,$03,$43,$03,$46,$01,$45,$01 - .byte $43,$03,$46,$03,$45,$03,$43,$01 - .byte $48,$01,$49,$01,$48,$01,$46,$01 - .byte $45,$01,$46,$01,$45,$01,$43,$01 - .byte $41,$01,$43,$01,$41,$01,$40,$01 - .byte $3d,$01,$39,$01,$3b,$01,$3d,$ff - -ptn0d: - .byte $01,$3e,$01,$39,$01,$35,$01,$39 - .byte $01,$3e,$01,$39,$01,$35,$01,$39 - .byte $03,$3e,$01,$41,$01,$40,$03,$40 - .byte $01,$3d,$01,$3e,$01,$40,$01,$3d - .byte $01,$39,$01,$3d,$01,$40,$01,$3d - .byte $01,$39,$01,$3d,$03,$40,$01,$43 - .byte $01,$41,$03,$41,$01,$3e,$01,$40 - .byte $01,$41,$01,$3e,$01,$39,$01,$3e - .byte $01,$41,$01,$3e,$01,$39,$01,$3e - .byte $03,$41,$01,$45,$01,$43,$03,$43 - .byte $01,$40,$01,$41,$01,$43,$01,$40 - .byte $01,$3d,$01,$40,$01,$43,$01,$40 - .byte $01,$3d,$01,$40,$01,$46,$01,$43 - .byte $01,$45,$01,$46,$01,$44,$01,$43 - .byte $01,$40,$01,$3d,$ff - -ptn0f: - .byte $01,$3e,$01 - .byte $39,$01,$35,$01,$39,$01,$3e,$01 - .byte $39,$01,$35,$01,$39,$01,$3e,$01 - .byte $39,$01,$35,$01,$39,$01,$3e,$01 - .byte $39,$01,$35,$01,$39,$01,$3e,$01 - .byte $3a,$01,$37,$01,$3a,$01,$3e,$01 - .byte $3a,$01,$37,$01,$3a,$01,$3e,$01 - .byte $3a,$01,$37,$01,$3a,$01,$3e,$01 - .byte $3a,$01,$37,$01,$3a,$01,$40,$01 - .byte $3d,$01,$39,$01,$3d,$01,$40,$01 - .byte $3d,$01,$39,$01,$3d,$01,$40,$01 - .byte $3d,$01,$39,$01,$3d,$01,$40,$01 - .byte $3d,$01,$39,$01,$3d,$01,$41,$01 - .byte $3e,$01,$39,$01,$3e,$01,$41,$01 - .byte $3e,$01,$39,$01,$3e,$01,$41,$01 - .byte $3e,$01,$39,$01,$3e,$01,$41,$01 - .byte $3e,$01,$39,$01,$3e,$01,$43,$01 - .byte $3e,$01,$3a,$01,$3e,$01,$43,$01 - .byte $3e,$01,$3a,$01,$3e,$01,$43,$01 - .byte $3e,$01,$3a,$01,$3e,$01,$43,$01 - .byte $3e,$01,$3a,$01,$3e,$01,$43,$01 - .byte $3f,$01,$3c,$01,$3f,$01,$43,$01 - .byte $3f,$01,$3c,$01,$3f,$01,$43,$01 - .byte $3f,$01,$3c,$01,$3f,$01,$43,$01 - .byte $3f,$01,$3c,$01,$3f,$01,$45,$01 - .byte $42,$01,$3c,$01,$42,$01,$45,$01 - .byte $42,$01,$3c,$01,$42,$01,$48,$01 - .byte $45,$01,$42,$01,$45,$01,$4b,$01 - .byte $48,$01,$45,$01,$48,$01,$4b,$01 - .byte $4a,$01,$48,$01,$4a,$01,$4b,$01 - .byte $4a,$01,$48,$01,$4a,$01,$4b,$01 - .byte $4a,$01,$48,$01,$4a,$01,$4c,$01 - .byte $4e,$03,$4f,$ff - -ptn11: - .byte $bf,$06,$56,$1f,$57,$1f,$56,$1f - .byte $5b,$1f,$56,$1f,$57,$1f,$56,$1f - .byte $4f,$ff - -ptn12: - .byte $bf,$0c,$68,$7f,$7f,$7f,$7f,$7f - .byte $7f,$7f,$ff - -ptn13: - .byte $bf,$08,$13,$3f,$13,$3f,$13,$3f - .byte $13,$3f,$13,$3f,$13,$3f,$13,$1f - .byte $13,$ff - -ptn14: - .byte $97,$09,$2e,$03,$2e,$1b,$32,$03 - .byte $32,$1b,$31,$03,$31,$1f,$34,$43 - .byte $17,$32,$03,$32,$1b,$35,$03,$35 - .byte $1b,$34,$03,$34,$0f,$37,$8f,$0a - .byte $37,$43,$ff - -ptn15: - .byte $97,$09,$2b,$03,$2b,$1b,$2e,$03 - .byte $2e,$1b,$2d,$03,$2d,$1f,$30,$43 - .byte $17,$2e,$03,$2e,$1b,$32,$03,$32 - .byte $1b,$31,$03,$31,$0f,$34,$8f,$0a - .byte $34,$43,$ff - -ptn16: - .byte $0f,$1f,$0f,$1f,$0f,$1f,$0f,$1f - .byte $0f,$1f,$0f,$1f,$0f,$1f,$0f,$1f - .byte $0f,$1f,$0f,$1f,$0f,$1f,$0f,$1f - .byte $0f,$1f,$0f,$1f,$0f,$1f,$0f,$1f - .byte $ff - -ptn17: - .byte $97,$09,$33,$03,$33,$1b,$37,$03 - .byte $37,$1b,$36,$03,$36,$1f,$39,$43 - .byte $17,$37,$03,$37,$1b,$3a,$03,$3a - .byte $1b,$39,$03,$39,$2f,$3c,$21,$3c - .byte $21,$3d,$21,$3e,$21,$3f,$21,$40 - .byte $21,$41,$21,$42,$21,$43,$21,$44 - .byte $01,$45,$ff - -ptn18: - .byte $97,$09,$30,$03,$30,$1b,$33,$03 - .byte $33,$1b,$32,$03,$32,$1f,$36,$43 - .byte $17,$33,$03,$33,$1b,$37,$03,$37 - .byte $1b,$36,$03,$36,$2f,$39,$21,$39 - .byte $21,$3a,$21,$3b,$21,$3c,$21,$3d - .byte $21,$3e,$21,$3f,$21,$40,$21,$41 - .byte $01,$42,$ff - -ptn19: - .byte $0f,$1a,$0f,$1a,$0f,$1a,$0f,$1a - .byte $0f,$1a,$0f,$1a,$0f,$1a,$0f,$1a - .byte $0f,$1a,$0f,$1a,$0f,$1a,$0f,$1a - .byte $0f,$1a,$0f,$1a,$0f,$1a,$0f,$1a - .byte $ff - -ptn1a: - .byte $1f,$46,$bf,$0a,$46,$7f,$7f,$ff - -ptn1b: - .byte $1f,$43,$bf,$0a,$43,$7f,$ff - -ptn1c: - .byte $83,$02,$13,$03,$13,$03,$1e,$03 - .byte $1f,$03,$13,$03,$13,$03,$1e,$03 - .byte $1f,$03,$13,$03,$13,$03,$1e,$03 - .byte $1f,$03,$13,$03,$13,$03,$1e,$03 - .byte $1f,$03,$13,$03,$13,$03,$1e,$03 - .byte $1f,$03,$13,$03,$13,$03,$1e,$03 - .byte $1f,$03,$13,$03,$13,$03,$1e,$03 - .byte $1f,$03,$13,$03,$13,$03,$1e,$03 - .byte $1f,$ff - -ptn29: - .byte $8f,$0b,$38,$4f,$ff - -ptn2c: - .byte $83,$0e,$32,$07,$32,$07,$2f,$07 - .byte $2f,$03,$2b,$87,$0b,$46,$83,$0e - .byte $2c,$03,$2c,$8f,$0b,$32,$ff - -ptn2d: - .byte $43,$83,$0e,$32,$03,$32,$03,$2f - .byte $03,$2f,$03,$2c,$87,$0b,$38,$ff - -ptn39: - .byte $83,$01 - .byte $43,$01,$4f,$01,$5b,$87,$03,$2f - .byte $83,$01,$43,$01,$4f,$01,$5b,$87 - .byte $03,$2f,$83,$01,$43,$01,$4f,$01 - .byte $5b,$87,$03,$2f,$83,$01,$43,$01 - .byte $4f,$01,$5b,$87,$03,$2f,$83,$01 - .byte $43,$01,$4f,$01,$5b,$87,$03,$2f - .byte $83,$01,$43,$01,$4f,$01,$5b,$87 - .byte $03,$2f - -ptn01: - .byte $83,$01,$43,$01,$4f,$01,$5b,$87 - .byte $03,$2f,$83,$01,$43,$01,$4f,$01 - .byte $5b,$87,$03,$2f,$ff - -ptn02: - .byte $83,$02,$13,$03,$13,$03,$1f,$03 - .byte $1f,$03,$13,$03,$13,$03,$1f,$03 - .byte $1f,$ff - -ptn1d: - .byte $03,$15,$03,$15,$03,$1f,$03,$21 - .byte $03,$15,$03,$15,$03,$1f,$03,$21 - .byte $ff - -ptn1e: - .byte $03,$1a,$03,$1a,$03,$1c,$03,$1c - .byte $03,$1d,$03,$1d,$03,$1e,$03,$1e - .byte $ff - -ptn1f: - .byte $03,$1a,$03,$1a,$03,$24,$03,$26 - .byte $03,$13,$03,$13,$07,$1f,$ff - -ptn04: - .byte $03,$18,$03,$18,$03,$24,$03,$24 - .byte $03,$18,$03,$18,$03,$24,$03,$24 - .byte $03,$20,$03,$20,$03,$2c,$03,$2c - .byte $03,$20,$03,$20,$03,$2c,$03,$2c - .byte $ff - -ptn20: - .byte $03,$19,$03,$19,$03 - .byte $25,$03,$25,$03,$19,$03,$19,$03 - .byte $25,$03,$25,$03,$21,$03,$21,$03 - .byte $2d,$03,$2d,$03,$21,$03,$21,$03 - .byte $2d,$03,$2d,$ff - -ptn06: - .byte $03,$1a,$03,$1a - .byte $03,$26,$03,$26,$03,$1a,$03,$1a - .byte $03,$26,$03,$26,$03,$15,$03,$15 - .byte $03,$21,$03,$21,$03,$15,$03,$15 - .byte $03,$21,$03,$21,$03,$18,$03,$18 - .byte $03,$24,$03,$24,$03,$18,$03,$18 - .byte $03,$24,$03,$24,$03,$1f,$03,$1f - .byte $03,$2b,$03,$2b,$03,$1f,$03,$1f - .byte $03,$2b,$03,$2b,$03,$1a,$03,$1a - .byte $03,$26,$03,$26,$03,$1a,$03,$1a - .byte $03,$26,$03,$26,$03,$15,$03,$15 - .byte $03,$21,$03,$21,$03,$15,$03,$15 - .byte $03,$21,$03,$21,$03,$18,$03,$18 - .byte $03,$24,$03,$24,$03,$18,$03,$18 - .byte $03,$24,$03,$24,$03,$1c,$03,$1c - .byte $03,$28,$03,$28,$03,$1c,$03,$1c - .byte $03,$28,$03,$28 - -ptn3b: - .byte $83,$04,$36,$07 - .byte $36,$07,$37,$07,$36,$03,$33,$07 - .byte $32,$57,$ff - -ptn08: - .byte $83,$02,$1b,$03,$1b,$03,$27,$03 - .byte $27,$03,$1b,$03,$1b,$03,$27,$03 - .byte $27,$ff - -ptn21: - .byte $03,$1c,$03,$1c,$03,$28,$03,$28 - .byte $03,$1c,$03,$1c,$03,$28,$03,$28 - .byte $ff - -ptn22: - .byte $03,$1d,$03,$1d,$03,$29,$03,$29 - .byte $03,$1d,$03,$1d,$03,$29,$03,$29 - .byte $ff - -ptn23: - .byte $03,$18,$03,$18,$03,$24,$03,$24 - .byte $03,$18,$03,$18,$03,$24,$03,$24 - .byte $ff - -ptn24: - .byte $03,$1e,$03,$1e,$03,$2a,$03,$2a - .byte $03,$1e,$03,$1e,$03,$2a,$03,$2a - .byte $ff - -ptn25: - .byte $83,$05,$26,$01,$4a,$01,$34,$03 - .byte $29,$03,$4c,$03,$4a,$03,$31,$03 - .byte $4a,$03,$24,$03,$22,$01,$46,$01 - .byte $30,$03,$25,$03,$48,$03,$46,$03 - .byte $2d,$03,$46,$03,$24,$ff - -ptn0b: - .byte $83,$02,$1a,$03,$1a,$03,$26,$03 - .byte $26,$03,$1a,$03,$1a,$03,$26,$03 - .byte $26,$ff - -ptn0c: - .byte $03,$13,$03,$13,$03,$1d,$03,$1f - .byte $03,$13,$03,$13,$03,$1d,$03,$1f - .byte $ff - -ptn26: - .byte $87,$02,$1a,$87,$03,$2f,$83,$02 - .byte $26,$03,$26,$87,$03,$2f,$ff - -ptn10: - .byte $07,$1a,$4f,$47,$ff - -ptn0e: - .byte $03,$1f,$03,$1f,$03,$24,$03,$26 - .byte $07,$13,$47,$ff - -ptn30: - .byte $bf,$0f,$32,$0f,$32,$8f,$90,$30 - .byte $3f,$32,$13,$32,$03,$32,$03,$35 - .byte $03,$37,$3f,$37,$0f,$37,$8f,$90 - .byte $30,$3f,$32,$13,$32,$03,$2d,$03 - .byte $30,$03,$32,$ff - -ptn31: - .byte $0f,$32 - .byte $af,$90,$35,$0f,$37,$a7,$99,$37 - .byte $07,$35,$3f,$32,$13,$32,$03,$32 - .byte $a3,$e8,$35,$03,$37,$0f,$35,$af - .byte $90,$37,$0f,$37,$a7,$99,$37,$07 - .byte $35,$3f,$32,$13,$32,$03,$2d,$a3 - .byte $e8,$30,$03,$32,$ff - -ptn32: - .byte $07,$32,$03 - .byte $39,$13,$3c,$a7,$9a,$37,$a7,$9b - .byte $38,$07,$37,$03,$35,$03,$32,$03 - .byte $39,$1b,$3c,$a7,$9a,$37,$a7,$9b - .byte $38,$07,$37,$03,$35,$03,$32,$03 - .byte $39,$03,$3c,$03,$3e,$03,$3c,$07 - .byte $3e,$03,$3c,$03,$39,$a7,$9a,$37 - .byte $a7,$9b,$38,$07,$37,$03,$35,$03 - .byte $32,$af,$90,$3c,$1f,$3e,$43,$03 - .byte $3e,$03,$3c,$03,$3e,$ff - -ptn33: - .byte $03,$3e - .byte $03,$3e,$a3,$e8,$3c,$03,$3e,$03 - .byte $3e,$03,$3e,$a3,$e8,$3c,$03,$3e - .byte $03,$3e,$03,$3e,$a3,$e8,$3c,$03 - .byte $3e,$03,$3e,$03,$3e,$a3,$e8,$3c - .byte $03,$3e,$af,$91,$43,$1f,$41,$43 - .byte $03,$3e,$03,$41,$03,$43,$03,$43 - .byte $03,$43,$a3,$e8,$41,$03,$43,$03 - .byte $43,$03,$43,$a3,$e8,$41,$03,$43 - .byte $03,$45,$03,$48,$a3,$fd,$45,$03 - .byte $44,$01,$43,$01,$41,$03,$3e,$03 - .byte $3c,$03,$3e,$2f,$3e,$bf,$98,$3e - .byte $43,$03,$3e,$03,$3c,$03,$3e,$ff - -ptn34: - .byte $03,$4a,$03,$4a,$a3,$f8,$48,$03 - .byte $4a,$03,$4a,$03,$4a,$a3,$f8,$48 - .byte $03,$4a,$ff - -ptn35: - .byte $01,$51,$01,$54,$01 - .byte $51,$01,$54,$01,$51,$01,$54,$01 - .byte $51,$01,$54,$01,$51,$01,$54,$01 - .byte $51,$01,$54,$01,$51,$01,$54,$01 - .byte $51,$01,$54,$ff - -ptn36: - .byte $01,$50,$01,$4f - .byte $01,$4d,$01,$4a,$01,$4f,$01,$4d - .byte $01,$4a,$01,$48,$01,$4a,$01,$48 - .byte $01,$45,$01,$43,$01,$44,$01,$43 - .byte $01,$41,$01,$3e,$01,$43,$01,$41 - .byte $01,$3e,$01,$3c,$01,$3e,$01,$3c - .byte $01,$39,$01,$37,$01,$38,$01,$37 - .byte $01,$35,$01,$32,$01,$37,$01,$35 - .byte $01,$32,$01,$30,$ff - -ptn37: - .byte $5f,$5f,$5f - .byte $47,$83,$0e,$32,$07,$32,$07,$2f - .byte $03,$2f,$07,$2f,$97,$0b,$3a,$5f - .byte $5f,$47,$8b,$0e,$32,$03,$32,$03 - .byte $2f,$03,$2f,$47,$97,$0b,$3a,$5f - .byte $5f,$47,$83,$0e,$2f,$0b,$2f,$03 - .byte $2f,$03,$2f,$87,$0b,$30,$17,$3a - .byte $5f,$8b,$0e,$32,$0b,$32,$0b,$2f - .byte $0b,$2f,$07,$2c,$07,$2c,$ff - -ptn38: - .byte $87 - .byte $0b,$34,$17,$3a,$5f,$5f,$84,$0e - .byte $32,$04,$32,$05,$32,$04,$2f,$04 - .byte $2f,$05,$2f,$47,$97,$0b,$3a,$5f - .byte $5f,$84,$0e,$32,$04,$32,$05,$32 - .byte $04,$2f,$04,$2f,$05,$2f,$ff - -ptn2f: - .byte $03,$1a,$03,$1a,$03 - .byte $24,$03,$26,$03,$1a,$03,$1a,$03 - .byte $18,$03,$19,$03,$1a,$03,$1a,$03 - .byte $24,$03,$26,$03,$1a,$03,$1a,$03 - .byte $18,$03,$19,$03,$18,$03,$18,$03 - .byte $22,$03,$24,$03,$18,$03,$18,$03 - .byte $16,$03,$17,$03,$18,$03,$18,$03 - .byte $22,$03,$24,$03,$18,$03,$18,$03 - .byte $16,$03,$17,$03,$13,$03,$13,$03 - .byte $1d,$03,$1f,$03,$13,$03,$13,$03 - .byte $1d,$03,$1e,$03,$13,$03,$13,$03 - .byte $1d,$03,$1f,$03,$13,$03,$13,$03 - .byte $1d,$03,$1e,$03,$1a,$03,$1a,$03 - .byte $24,$03,$26,$03,$1a,$03,$1a,$03 - .byte $18,$03,$19,$03,$1a,$03,$1a,$03 - .byte $24,$03,$26,$03,$1a,$03,$1a,$03 - .byte $18,$03,$19,$ff - - -//==================================== -//instruments -//==================================== - -instr: - .byte $80,$09,$41,$48,$60,$03,$81,$00 - .byte $00,$08,$81,$02,$08,$00,$00,$01 - .byte $a0,$02,$41,$09,$80,$00,$00,$00 - .byte $00,$02,$81,$09,$09,$00,$00,$05 - .byte $00,$08,$41,$08,$50,$02,$00,$04 - .byte $00,$01,$41,$3f,$c0,$02,$00,$00 - .byte $00,$08,$41,$04,$40,$02,$00,$00 - .byte $00,$08,$41,$09,$00,$02,$00,$00 - .byte $00,$09,$41,$09,$70,$02,$5f,$04 - .byte $00,$09,$41,$4a,$69,$02,$81,$00 - .byte $00,$09,$41,$40,$6f,$00,$81,$02 - .byte $80,$07,$81,$0a,$0a,$00,$00,$01 - .byte $00,$09,$41,$3f,$ff,$01,$e7,$02 - .byte $00,$08,$41,$90,$f0,$01,$e8,$02 - .byte $00,$08,$41,$06,$0a,$00,$00,$01 - .byte $00,$09,$41,$19,$70,$02,$a8,$00 - .byte $00,$02,$41,$09,$90,$02,$00,$00 - .byte $00,$00,$11,$0a,$fa,$00,$00,$05 - .byte $00,$08,$41,$37,$40,$02,$00,$00 - .byte $00,$08,$11,$07,$70,$02,$00,$00 - - From 4bd06a1f91af5a2932e66f9214c8a99277df29e8 Mon Sep 17 00:00:00 2001 From: nino-porcino Date: Fri, 14 Jan 2022 12:28:15 +0100 Subject: [PATCH 08/11] add toggle detection tape monitor --- demos/tapemon/m.bat | 4 ++++ demos/tapemon/out/tapemon.0280.bin | Bin 465 -> 465 bytes demos/tapemon/out/tapemon_apple1.prg | Bin 467 -> 467 bytes demos/tapemon/tapetoggle.c | 22 ++++++++++++++++++++++ 4 files changed, 26 insertions(+) create mode 100644 demos/tapemon/tapetoggle.c diff --git a/demos/tapemon/m.bat b/demos/tapemon/m.bat index e73db61..4b75734 100644 --- a/demos/tapemon/m.bat +++ b/demos/tapemon/m.bat @@ -1,4 +1,8 @@ @call ..\..\tools\build tapemon @call node ..\..\tools\prg2bin -i out\tapemon_apple1.prg -o out\tapemon.0280.bin +@call ..\..\tools\build tapetoggle +@call node ..\..\tools\prg2woz -i out\tapetoggle_apple1.prg -o out\tapetoggle.0280.woz + + diff --git a/demos/tapemon/out/tapemon.0280.bin b/demos/tapemon/out/tapemon.0280.bin index 8a4cabfcde4165020cad209da2118097bd19c53d..22628aeafb33e227efdfe6c7078e4fab779d07f9 100644 GIT binary patch delta 78 zcmcb}e35yBBcmNJZ-`@ntAek;pJ#}F5HD}EVXT6StFyn0t3rUIv$tzVFmJR`tU|D- ZZ-9@hLWsY+JCK5_p4`Z2KY1UcFaSnC6*T|= delta 78 zcmcb}e35yBBcok!Z-`@ntAek;pJ#}FP;alap{#<7tFyn0t3rUIv$tzVaIdtHtU|D- ZZ-9@hLWsY+JCK5_p4`Z2KY1UcFaWba7qtKY diff --git a/demos/tapemon/out/tapemon_apple1.prg b/demos/tapemon/out/tapemon_apple1.prg index 1988611574ad632866bc52593989b180b92cee3d..6132f7dc2566d35bed2e803feda5cf431dd2ebb4 100644 GIT binary patch delta 74 zcmcc2e3^NJGou|ZZ-`@ntAek;pJ#}F5HD}EVXT6StFyn0t3rUIv$tzVFmJR`tU|D- VZ-9@hLWsY+JCK5_p4`Y71OW6G6X^f| delta 74 zcmcc2e3^NJGoxK^Z-`@ntAek;pJ#}FP;alap{#<7tFyn0t3rUIv$tzVaIdtHtU|D- VZ-9@hLWsY+JCK5_p4`Y71OQhi7HI$g diff --git a/demos/tapemon/tapetoggle.c b/demos/tapemon/tapetoggle.c new file mode 100644 index 0000000..28465c7 --- /dev/null +++ b/demos/tapemon/tapetoggle.c @@ -0,0 +1,22 @@ +#include +#include + +byte *const LASTSTATE = 0x29; // Last input state +byte *const TAPEIN = 0xC081; // Tape input +byte *const DSP = 0xD012; // display data port + +void main() +{ + asm { +simple_monitor: lda TAPEIN // read tape input + cmp LASTSTATE // compare to previous state + beq no_toggle // if same just skip + sta LASTSTATE // else save new state + ldx #35 // set "toggle detected" flag in X, 35 is also the char to print +no_toggle: bit DSP // check if display is ready to accept a character + bmi simple_monitor // if not, just keep reading tape + stx DSP // else display the "toggle detected" flag character + ldx #45 // resets the "toggle detected" flag to the "-" sign, sets also Z=0 flag + bne simple_monitor // cheap jump because Z is also 0 + } +} From d31b2eeaa07d033b3cd5fa488c93c61bc98a8e06 Mon Sep 17 00:00:00 2001 From: nino-porcino Date: Fri, 14 Jan 2022 12:28:28 +0100 Subject: [PATCH 09/11] use ascii encoding by default --- lib/apple1.h | 2 ++ lib/tms9918.h | 2 -- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/lib/apple1.h b/lib/apple1.h index e0f6f45..d9dc25e 100644 --- a/lib/apple1.h +++ b/lib/apple1.h @@ -1,6 +1,8 @@ #ifndef APPLE1_H #define APPLE1_H +#pragma encoding(ascii) // encode strings in plain ascii + #ifdef APPLE1_USE_WOZ_MONITOR #pragma zp_reserve(0x24) // XAML Last "opened" location Low #pragma zp_reserve(0x25) // XAMH Last "opened" location High diff --git a/lib/tms9918.h b/lib/tms9918.h index 24a003b..ec09194 100644 --- a/lib/tms9918.h +++ b/lib/tms9918.h @@ -12,8 +12,6 @@ // TODO wait_end_of_frame() // TODO screen1() and screen2() helpers -#pragma encoding(ascii) // encode strings in plain ascii - #include "utils.h" #ifdef APPLE1 From cd525078a74c1585cb020cee9b933c1f2c01dae3 Mon Sep 17 00:00:00 2001 From: nino-porcino Date: Sat, 15 Jan 2022 14:31:00 +0100 Subject: [PATCH 10/11] add bin2prg tool --- tools/bin2prg.js | 26 ++++++++++++++++++++++++++ 1 file changed, 26 insertions(+) create mode 100644 tools/bin2prg.js diff --git a/tools/bin2prg.js b/tools/bin2prg.js new file mode 100644 index 0000000..a06135a --- /dev/null +++ b/tools/bin2prg.js @@ -0,0 +1,26 @@ +const fs = require('fs'); +const parseOptions = require("./parseOptions"); + +const options = parseOptions([ + { name: 'input', alias: 'i', type: String }, + { name: 'output', alias: 'o', type: String }, + { name: 'start', alias: 's', type: String } +]); + +if(options.input === undefined || options.output === undefined || options.start === undefined) { + console.log("usage: bin2prg -i inputfile.prg -o outputfile.bin -s hexaddress"); + process.exit(-1); +} + +let bin = fs.readFileSync(options.input); + +let start_address = parseInt(options.start, 16); +let lo = (start_address >> 0) & 0xFF; +let hi = (start_address >> 8) & 0xFF; + +let prg = new Uint8Array([ lo, hi, ...bin ]); + +fs.writeFileSync(options.output, prg); + +console.log(`${options.output} written`); + From 883fd069d2588455b5eb826a853869a08433f6b0 Mon Sep 17 00:00:00 2001 From: nino-porcino Date: Sat, 15 Jan 2022 14:31:23 +0100 Subject: [PATCH 11/11] generate two SID versions for montyr --- demos/montyr/m.bat | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/demos/montyr/m.bat b/demos/montyr/m.bat index cd79fb2..70acd5a 100644 --- a/demos/montyr/m.bat +++ b/demos/montyr/m.bat @@ -9,10 +9,12 @@ %JAVAEXE% -jar %KICKASSJAR% montyr_apple1.asm -define SID_CC00 %PRG2BIN% -i montyr_apple1.prg -o montyr.sid_cc00.0280R.bin %PRG2WOZ% -i montyr_apple1.prg -o montyr.sid_cc00.0280R.woz +copy montyr_apple1.prg montyr.sid_cc00.0280R.prg %JAVAEXE% -jar %KICKASSJAR% montyr_apple1.asm -define SID_C800 %PRG2BIN% -i montyr_apple1.prg -o montyr.sid_c800.0280R.bin -%PRG2WOZ% -i montyr_apple1.prg -o montyr.sid_c800.0280R.woz +%PRG2WOZ% -i montyr_apple1.prg -o montyr.sid_c800.0280R.woz +copy montyr_apple1.prg montyr.sid_c800.0280R.prg