add Genius 1 and 2 to the collection

This commit is contained in:
Peter Ferrie 2020-02-28 21:49:29 -08:00
parent 40eab69385
commit 77aa6b2f97
7 changed files with 63 additions and 1 deletions

Binary file not shown.

Binary file not shown.

File diff suppressed because one or more lines are too long

BIN
res/title.hgr/GENIUS Normal file

Binary file not shown.

BIN
res/title.hgr/GENIUS.2 Normal file

Binary file not shown.

31
src/prelaunch/genius.2.a Normal file
View File

@ -0,0 +1,31 @@
;license:MIT
;(c) 2020 by qkumba
!cpu 6502
!to "build/PRELAUNCH/GENIUS.2",plain
*=$106
!source "src/prelaunch/common.a"
+ENABLE_ACCEL
lda #$60
sta $9CD
jsr $800 ; decompress
+GET_MACHINE_STATUS
and #CHEATS_ENABLED
pha
lda #$60
sta $9462
jsr $9442
pla
beq +
dec $1C40 ; patch - don't decrease lives
dec $1C74 ; patch - don't increase lives
+
+DISABLE_ACCEL
inc $9d ; game relies on it
jmp $9600
!if * > $1C0 {
!error "code is too large, ends at ", *
}

31
src/prelaunch/genius.a Normal file
View File

@ -0,0 +1,31 @@
;license:MIT
;(c) 2020 by qkumba
!cpu 6502
!to "build/PRELAUNCH/GENIUS",plain
*=$106
!source "src/prelaunch/common.a"
+ENABLE_ACCEL
lda #$60
sta $9CD
jsr $800 ; decompress
+GET_MACHINE_STATUS
and #CHEATS_ENABLED
pha
lda #$60
sta $9462
jsr $9442
pla
beq +
dec $1C40 ; patch - don't decrease lives
dec $1C74 ; patch - don't increase lives
+
+DISABLE_ACCEL
inc $9d ; game relies on it
jmp $9600
!if * > $1C0 {
!error "code is too large, ends at ", *
}