add The Last Ninja to the collection

This commit is contained in:
Peter Ferrie 2020-03-22 17:24:16 -07:00
parent b6c18c2d8f
commit 908da16f5e
6 changed files with 32 additions and 2 deletions

File diff suppressed because one or more lines are too long

BIN
res/TITLE.DHGR/LAST.NINJA Normal file

Binary file not shown.

View File

@ -8,6 +8,7 @@ D.GENERATION=Type(06),AuxType(4000),Access(C3)
DEATH.SWORD=Type(06),AuxType(4000),Access(C3)
HEAVY.BARREL=Type(06),AuxType(4000),Access(C3)
INDIANA.JONES=Type(06),AuxType(4000),Access(C3)
LAST.NINJA=Type(06),AuxType(4000),Access(C3)
PIPEDREAM=Type(06),AuxType(4000),Access(C3)
PLATOON=Type(06),AuxType(4000),Access(C3)
PRINCEUNP=Type(06),AuxType(4000),Access(C3)

Binary file not shown.

View File

@ -93,7 +93,6 @@ Retro-Ball
Roach Hotel
The Asteroid Field
The Last Gladiator
The Last Ninja [DHGR][priority]
The Space Ark
The Snapper
Star Cruiser

View File

@ -0,0 +1,30 @@
;license:MIT
;(c) 2020 by qkumba
!cpu 6502
!to "build/PRELAUNCH/LAST.NINJA",plain
*=$106
!source "src/prelaunch/common.a"
+ENABLE_ACCEL
lda #$60
sta $9F7
jsr $800 ; load DOS
lda #$60
sta $9B5A
jsr $9B05
lda MachineStatus
and #CHEATS_ENABLED
beq +
lda #$a5
sta $A027 ; patch - don't decrease lives
+
+READ_RAM2_NO_WRITE
jsr DisableAccelerator
+READ_RAM1_WRITE_RAM1
jmp $9B5F
!if * > $1C0 {
!error "code is too large, ends at ", *
}