From e5e60ab091c5c05504e18cab8a7f3b5f4ad6eb4f Mon Sep 17 00:00:00 2001 From: Peter Ferrie Date: Tue, 19 Oct 2021 16:14:39 -0700 Subject: [PATCH] faster seek, smaller demo launcher, no Night Stalker demo sound --- res/DEMO/ALIEN.DOWNPOUR | Bin 191 -> 138 bytes res/DEMO/CHOPLIFTER | Bin 155 -> 102 bytes res/DEMO/NIGHT.STALKER | Bin 333 -> 283 bytes res/DEMO/SNEAKERS | Bin 156 -> 103 bytes res/DEMO/SPACE.QUARKS | Bin 218 -> 165 bytes res/DEMO/TB | Bin 199 -> 146 bytes res/DEMO/WAVY.NAVY | Bin 157 -> 104 bytes src/constants.a | 2 +- src/demo/alien.downpour.a | 3 ++- src/demo/choplifter.a | 3 ++- src/demo/night.stalker.a | 4 +++- src/demo/sneakers.a | 3 ++- src/demo/space.quarks.a | 3 ++- src/demo/tubeway.a | 3 ++- src/demo/wavy.navy.a | 3 ++- src/prodos.impl.lc2.a | 4 +--- 16 files changed, 17 insertions(+), 11 deletions(-) diff --git a/res/DEMO/ALIEN.DOWNPOUR b/res/DEMO/ALIEN.DOWNPOUR index 6540c5ba36e68e7749242058dcddc6f53c5ea891..39aee5b234abf8ac6c7c309da857d4a0213c0ce3 100755 GIT binary patch delta 29 kcmdnb*u^NS(|iDk6t>@9%Xr0OE%OzRMGPymCVG_u0JPc+i~s-t delta 65 zcmV-H0KWf<0lxt?q5z7O0O-*Bsbz&usRD&hEP}uwiT)sy{vd?@jR3%n0>F&~z>N&R XjSj#dFZ&=^{45Z_c#sqUpOF=H&$Arw diff --git a/res/DEMO/CHOPLIFTER b/res/DEMO/CHOPLIFTER index 7583c4c1cad9ac2e2fad9c76bc67880cdc5400f5..57804456802e4cd0d3509a8374c7e095f9bfd655 100755 GIT binary patch delta 28 jcmbQum?o;zd;o|Pw%=aMc*SEa^A(Rp3@iO6dIbUit4Rz4 delta 64 zcmV-G0Kflcn*lYV0E(3W=+OJAWra?u0)NgJjSRqz W4!|HU`yg2SED*qWkQ4!fkrh$AcpPQ` diff --git a/res/DEMO/NIGHT.STALKER b/res/DEMO/NIGHT.STALKER index 61f46a6d8f8f5e74d4d4246d0d1ebcb86fba3e4b..518f264ce7643c911fe20756e54ed42851ca57ba 100755 GIT binary patch delta 74 zcmV-Q0JZF&~z>N&R ojSj#dFZ&=^{45Z_c#sqWFQB237e)h+y`GU^8NgJjSRqz b4!|HU`yg2SED*qWkQ4!bkrgBXlaV?tPJtc6 diff --git a/res/DEMO/SPACE.QUARKS b/res/DEMO/SPACE.QUARKS index 3f1785d4c9906dce3a3ef4afd3bd9752ac81eaa4..21d24a58a486209495720c9ac1255ba7cf7c75b6 100755 GIT binary patch delta 34 pcmcb`xRg;;r}+R7DQv&JmhpF&~z>N&R cjSj#dFZ&=^{45Z_c#sqUt&tT{0m+eQJ#>&C5C8xG diff --git a/res/DEMO/TB b/res/DEMO/TB index 9610bae468503308e71a2fda4ff6f3cabfdced1b..ad384b7902dd81acdd868976309ffcd1d8b95c07 100755 GIT binary patch delta 29 kcmX@kIEhhIr}+R7DQv&JmhpF&~z>N&R XjSj#dFZ&=^{45Z_c#sqUzmXMv)H@v~ diff --git a/res/DEMO/WAVY.NAVY b/res/DEMO/WAVY.NAVY index d47eb5b9e07d3c58e67f9ea48dca51820cbd2978..3ef8cd2c4d6a2dcea76001a7e51212c4997bf653 100644 GIT binary patch delta 37 scmbQsm?5dtd;o|Pw%=aK(Hgdv@ruV<<|`hH7*_gB^pjvrnwV||03{<1@c;k- delta 89 zcmV-f0H*(FodGqX0E(3W=+OJAWra?u0)NgJjSRqz v4!|HU`yg2SED*qWkQf?)paUT9|7eW^)M$+X)Tv;NT~HtZ2%-hOmyt3yBKapY diff --git a/src/constants.a b/src/constants.a index f920ce13b..308cc0369 100644 --- a/src/constants.a +++ b/src/constants.a @@ -150,7 +150,7 @@ iCurBlockLo = $D401 ; constant iCurBlockHi = $D403 ; constant launchpatch = $D655 ; glue.launch.a iAddToPath = $FE6C ; Roger Rabbit, avoid, use Infiltrator 2 style instead -itraverse = $D94E ; Roger Rabbit, avoid, use Infiltrator 2 style instead +itraverse = $D94C ; Roger Rabbit, avoid, use Infiltrator 2 style instead ldrhi = $56 ; constant namlo = $57 ; constant namhi = $58 ; constant diff --git a/src/demo/alien.downpour.a b/src/demo/alien.downpour.a index 78be7f3af..3259014e0 100644 --- a/src/demo/alien.downpour.a +++ b/src/demo/alien.downpour.a @@ -5,7 +5,8 @@ !to "res/DEMO/ALIEN.DOWNPOUR",plain *=$300 - !source "src/prelaunch/common.a" + !source "src/constants.a" ; no code in these + !source "src/macros.a" +READ_RAM2_WRITE_RAM2 jsr EnableAccelerator diff --git a/src/demo/choplifter.a b/src/demo/choplifter.a index 8c88539ac..8606ddcd3 100644 --- a/src/demo/choplifter.a +++ b/src/demo/choplifter.a @@ -5,7 +5,8 @@ !to "res/DEMO/CHOPLIFTER",plain *=$300 - !source "src/prelaunch/common.a" + !source "src/constants.a" ; no code in these + !source "src/macros.a" +READ_RAM2_WRITE_RAM2 jsr EnableAccelerator diff --git a/src/demo/night.stalker.a b/src/demo/night.stalker.a index a1b086ecc..c3d82ac3b 100644 --- a/src/demo/night.stalker.a +++ b/src/demo/night.stalker.a @@ -5,7 +5,8 @@ !to "res/DEMO/NIGHT.STALKER",plain *=$a000 - !source "src/prelaunch/common.a" + !source "src/constants.a" ; no code in these + !source "src/macros.a" +READ_RAM2_WRITE_RAM2 jsr EnableAccelerator @@ -42,6 +43,7 @@ x_b !pseudopc $1C1 { sta $1DC5 sta $ABC9 sta $AC6E + sta $B765 lda #$4C sta $BF00 sta $BB6B diff --git a/src/demo/sneakers.a b/src/demo/sneakers.a index 41586c1ed..1edc27626 100644 --- a/src/demo/sneakers.a +++ b/src/demo/sneakers.a @@ -5,7 +5,8 @@ !to "res/DEMO/SNEAKERS",plain *=$300 - !source "src/prelaunch/common.a" + !source "src/constants.a" ; no code in these + !source "src/macros.a" +READ_RAM2_WRITE_RAM2 jsr EnableAccelerator diff --git a/src/demo/space.quarks.a b/src/demo/space.quarks.a index 8bfeeaca1..d0f6d89e5 100644 --- a/src/demo/space.quarks.a +++ b/src/demo/space.quarks.a @@ -5,7 +5,8 @@ !to "res/DEMO/SPACE.QUARKS",plain *=$B000 - !source "src/prelaunch/common.a" + !source "src/constants.a" ; no code in these + !source "src/macros.a" +READ_RAM2_WRITE_RAM2 jsr EnableAccelerator diff --git a/src/demo/tubeway.a b/src/demo/tubeway.a index f9e7c3afe..241e2ef4b 100644 --- a/src/demo/tubeway.a +++ b/src/demo/tubeway.a @@ -5,7 +5,8 @@ !to "res/DEMO/TB",plain *=$300 - !source "src/prelaunch/common.a" + !source "src/constants.a" ; no code in these + !source "src/macros.a" +READ_RAM2_WRITE_RAM2 jsr EnableAccelerator diff --git a/src/demo/wavy.navy.a b/src/demo/wavy.navy.a index df65eae44..9c676bd38 100644 --- a/src/demo/wavy.navy.a +++ b/src/demo/wavy.navy.a @@ -5,7 +5,8 @@ !to "res/DEMO/WAVY.NAVY",plain *=$300 - !source "src/prelaunch/common.a" + !source "src/constants.a" ; no code in these + !source "src/macros.a" +READ_RAM2_WRITE_RAM2 jsr EnableAccelerator diff --git a/src/prodos.impl.lc2.a b/src/prodos.impl.lc2.a index bece21d1a..6d7686978 100644 --- a/src/prodos.impl.lc2.a +++ b/src/prodos.impl.lc2.a @@ -238,9 +238,7 @@ resetval=$f0 @seek32 lda ldrhi ldx ldrlo - +HIDE_NEXT_BYTE @seek64 - tax sta sizehi stx sizelo lda ldrhi @@ -282,7 +280,7 @@ resetval=$f0 @reset lda #resetval sta blefthi - sta bleftlo + stx bleftlo rts @imp_read