From 92aefda47f77faae3e54349885f5650e6e609106 Mon Sep 17 00:00:00 2001 From: frankmilliron <34376619+frankmilliron@users.noreply.github.com> Date: Thu, 28 Oct 2021 18:36:40 -0700 Subject: [PATCH] couple demo launcher fixes (#407) * Add files via upload * Add files via upload * Add files via upload --- res/DEMO/MOON.PATROL | Bin 183 -> 184 bytes res/DEMO/STARGATE | Bin 177 -> 173 bytes res/DEMO/_FileInformation.txt | 2 +- src/demo/moon.patrol.a | 7 +++++-- src/demo/stargate.a | 8 ++++---- 5 files changed, 10 insertions(+), 7 deletions(-) diff --git a/res/DEMO/MOON.PATROL b/res/DEMO/MOON.PATROL index 6f4e722be8d3b5a86ee0c235c9d921291c44834a..21d00ec46f533c03f96e7959802813af774faafe 100755 GIT binary patch delta 64 zcmdnaxPwter}+R7DQv&JmhpWtyv|eoEl`#0m!hZXX*^ diff --git a/res/DEMO/STARGATE b/res/DEMO/STARGATE index 357ec817958b31e0ad9be5eaa62f95b14acb601e..d268a1a01f561a7e296c52a1c38919fedf25c2d3 100755 GIT binary patch delta 33 ocmdnUxRy~;r}+R7DQv&JmhpxRFs-r}+R7DQv&JlA|?jE#noBwaiyM7BRGiu3Wr;aiZiD04Prn*Z=?k diff --git a/res/DEMO/_FileInformation.txt b/res/DEMO/_FileInformation.txt index 9087d7dc7..a38cf9ecc 100644 --- a/res/DEMO/_FileInformation.txt +++ b/res/DEMO/_FileInformation.txt @@ -163,7 +163,7 @@ SPIDER.RAID.1=Type(F1),AuxType(0000),Access(C3) SPY.HUNTER=Type(06),AuxType(0B87),Access(C3) SD=Type(06),AuxType(3FF1),Access(C3) STAR.BLAZER=Type(06),AuxType(0300),Access(C3) -STARGATE=Type(06),AuxType(0106),Access(C3) +STARGATE=Type(06),AuxType(0200),Access(C3) STELLAR.7=Type(06),AuxType(0300),Access(C3) STELLAR.7.1=Type(F1),AuxType(0000),Access(C3) THUNDERBOMBS=Type(06),AuxType(2000),Access(C3) diff --git a/src/demo/moon.patrol.a b/src/demo/moon.patrol.a index ce9b86946..7db4b4b1c 100644 --- a/src/demo/moon.patrol.a +++ b/src/demo/moon.patrol.a @@ -10,8 +10,7 @@ +READ_RAM2_WRITE_RAM2 jsr EnableAccelerator - +LOAD_FILE_AT title, $800 - +READ_ROM_NO_WRITE + +LOAD_FILE_AT title, $00 lda #$60 sta $49DD @@ -46,6 +45,10 @@ dex bpl - ; exit on keypress during title screen + lda #$2C + sta $2A61 + sta $2A88 ; disable options screen + +DISABLE_ACCEL jmp $919 diff --git a/src/demo/stargate.a b/src/demo/stargate.a index d907af6be..7da7baa7e 100644 --- a/src/demo/stargate.a +++ b/src/demo/stargate.a @@ -3,14 +3,14 @@ !cpu 6502 !to "res/DEMO/STARGATE",plain -*=$106 +*=$200 !source "src/constants.a" ; no code in these !source "src/macros.a" +READ_RAM2_WRITE_RAM2 jsr EnableAccelerator - +LOAD_FILE_AT title, $800 + +LOAD_FILE_AT title, $00 lda #$60 sta $4697 @@ -42,7 +42,7 @@ sta $51D2+2 ; set exits sta $47F2+1 lda #$A4 - sta $47F4+2 ; reset vector (moved to $3F2) + sta $47F4+2 ; reset vector fix (moved to $3F2/$3F4) lda #$D0 sta $153B @@ -62,6 +62,6 @@ title !byte x_e-x_b x_b !text "X/STARGATE/STARGATE" x_e -!if * > $1C0 { +!if * > $3F0 { !error "code is too large, ends at ", * }