couple demo launcher fixes (#407)

* Add files via upload

* Add files via upload

* Add files via upload
This commit is contained in:
frankmilliron 2021-10-28 18:36:40 -07:00 committed by GitHub
parent 8e8cb0223b
commit 92aefda47f
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
5 changed files with 10 additions and 7 deletions

Binary file not shown.

Binary file not shown.

View File

@ -163,7 +163,7 @@ SPIDER.RAID.1=Type(F1),AuxType(0000),Access(C3)
SPY.HUNTER=Type(06),AuxType(0B87),Access(C3) SPY.HUNTER=Type(06),AuxType(0B87),Access(C3)
SD=Type(06),AuxType(3FF1),Access(C3) SD=Type(06),AuxType(3FF1),Access(C3)
STAR.BLAZER=Type(06),AuxType(0300),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=Type(06),AuxType(0300),Access(C3)
STELLAR.7.1=Type(F1),AuxType(0000),Access(C3) STELLAR.7.1=Type(F1),AuxType(0000),Access(C3)
THUNDERBOMBS=Type(06),AuxType(2000),Access(C3) THUNDERBOMBS=Type(06),AuxType(2000),Access(C3)

View File

@ -10,8 +10,7 @@
+READ_RAM2_WRITE_RAM2 +READ_RAM2_WRITE_RAM2
jsr EnableAccelerator jsr EnableAccelerator
+LOAD_FILE_AT title, $800 +LOAD_FILE_AT title, $00
+READ_ROM_NO_WRITE
lda #$60 lda #$60
sta $49DD sta $49DD
@ -46,6 +45,10 @@
dex dex
bpl - ; exit on keypress during title screen bpl - ; exit on keypress during title screen
lda #$2C
sta $2A61
sta $2A88 ; disable options screen
+DISABLE_ACCEL +DISABLE_ACCEL
jmp $919 jmp $919

View File

@ -3,14 +3,14 @@
!cpu 6502 !cpu 6502
!to "res/DEMO/STARGATE",plain !to "res/DEMO/STARGATE",plain
*=$106 *=$200
!source "src/constants.a" ; no code in these !source "src/constants.a" ; no code in these
!source "src/macros.a" !source "src/macros.a"
+READ_RAM2_WRITE_RAM2 +READ_RAM2_WRITE_RAM2
jsr EnableAccelerator jsr EnableAccelerator
+LOAD_FILE_AT title, $800 +LOAD_FILE_AT title, $00
lda #$60 lda #$60
sta $4697 sta $4697
@ -42,7 +42,7 @@
sta $51D2+2 ; set exits sta $51D2+2 ; set exits
sta $47F2+1 sta $47F2+1
lda #$A4 lda #$A4
sta $47F4+2 ; reset vector (moved to $3F2) sta $47F4+2 ; reset vector fix (moved to $3F2/$3F4)
lda #$D0 lda #$D0
sta $153B sta $153B
@ -62,6 +62,6 @@ title !byte x_e-x_b
x_b !text "X/STARGATE/STARGATE" x_b !text "X/STARGATE/STARGATE"
x_e x_e
!if * > $1C0 { !if * > $3F0 {
!error "code is too large, ends at ", * !error "code is too large, ends at ", *
} }