add Oil's Well to the collection

This commit is contained in:
Peter Ferrie 2021-10-25 21:47:51 -07:00
parent a3fa2909bc
commit 8fecca33c1
7 changed files with 62 additions and 2 deletions

View File

@ -235,6 +235,7 @@
0000,NI=Nightmare Gallery
0000,N.O.R.A.D
0001,OID.ZONE
1001,OI=Oil's Well
1000,ON.THE.RUN
0000,ORBITRON
0000,OM=O'Riley's Mine

BIN
res/TITLE.HGR/OI Normal file

Binary file not shown.

View File

@ -227,6 +227,7 @@ NIBBLER=Type(06),AuxType(4000),Access(C3)
NIGHT.STALKER=Type(06),AuxType(4000),Access(C3)
NM=Type(06),AuxType(4000),Access(C3)
NT=Type(06),AuxType(4000),Access(C3)
OI=Type(06),AuxType(4000),Access(C3)
OID.ZONE=Type(06),AuxType(4000),Access(C3)
OM=Type(06),AuxType(4000),Access(C3)
ON.THE.RUN=Type(06),AuxType(4000),Access(C3)

Binary file not shown.

View File

@ -1,6 +1,5 @@
//4am crack
Cavern Creatures
Oil's Well
//flux but no woz
Grapple (In-Soft)

View File

@ -6,7 +6,7 @@
; YE OLDE GRAND UNIFIED MEMORY MAP
;
; LC RAM BANK 1
; D000..E7D2 - persistent data structures (gGlobalPrefsStore, gGamesListStore)
; D000..E7F4 - persistent data structures (gGlobalPrefsStore, gGamesListStore)
; E9EE..FFEE - main program code
; FFEF..FFF9 - API functions and global constants available for main program
; code, prelaunchers, transition effects, &c.

59
src/prelaunch/oils.well.a Normal file
View File

@ -0,0 +1,59 @@
;license:MIT
;(c) 2021 by qkumba
!cpu 6502
!to "build/PRELAUNCH.INDEXED/OI",plain
*=$106
!source "src/prelaunch/common.a"
jmp main
callback2
jsr $BD5F
jsr $BD09
lda $B7EC
cmp #$10
bne +
lda $B7ED
cmp #9
bne +
lda #$AD
sta $159F
sta $15C3
+ pla
pla
clc
rts
main
+ENABLE_ACCEL
+USES_TEXT_PAGE_2
lda #$60
sta $9EF
jsr $800 ; find and load "DOS"
lda #<callback1
sta $B748
lda #>callback1
sta $B749
jmp $B700
callback1
ldx #$00
stx $9E52
inx
stx $9E53
+GET_MACHINE_STATUS
and #CHEATS_ENABLED
beq +
lda #<callback2
sta $BD07
lda #>callback2
sta $BD08
+
+DISABLE_ACCEL
jmp $9D84
!if * > $1C0 {
!error "code is too large, ends at ", *
}