add World Games to the collection

This commit is contained in:
Peter Ferrie 2020-12-08 12:16:31 -08:00
parent 7cde5bc958
commit e36f279772
7 changed files with 51 additions and 1 deletions

13
res/GAMEHELP/WORLD.GAMES Normal file
View File

@ -0,0 +1,13 @@
Represent your country
Strive for victory
Set a world record
Each event needs specific actions and
some have different joystick controls
[eof]

View File

@ -327,6 +327,7 @@
1111,ROGER.RABBIT=Who Framed Roger Rabbit
1111,WINGS.OF.FURY=Wings of Fury
0000,WINTER.GAMES
1110,WORLD.GAMES
0000,WORLD.KARATE=World Karate Championship
1001,XEVIOUS
0000,ZARGS

BIN
res/TITLE.DHGR/WORLD.GAMES Normal file

Binary file not shown.

View File

@ -41,4 +41,5 @@ THEXDER=Type(06),AuxType(4000),Access(C3)
VICTORY.ROAD=Type(06),AuxType(4000),Access(C3)
WINGS.OF.FURY=Type(06),AuxType(4000),Access(C3)
WINTER.EDITION=Type(06),AuxType(4000),Access(C3)
WORLD.GAMES=Type(06),AuxType(4000),Access(C3)
_FileInformation.txt=Type(06),AuxType(4000),Access(C3)

Binary file not shown.

View File

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

View File

@ -0,0 +1,35 @@
;license:MIT
;(c) 2020 by qkumba
!cpu 6502
!to "build/PRELAUNCH/WORLD.GAMES",plain
*=$106
!source "src/prelaunch/common.a"
+READ_RAM2_NO_WRITE
jsr EnableAccelerator
lda #$60
sta $405E
sta $422A
jsr $4000
+READ_RAM2_WRITE_RAM2
lda #<game
ldy #>game
jsr iAddToPath
+LDADDR gPathname
+ST16 namlo
jsr itraverse
jsr $4001
lda #9
sta $C72 ; disable /RAM shenanigans
+READ_RAM2_NO_WRITE
jsr DisableAccelerator
inc $BF0E ; disable ROM remapping
jmp $BF5
game !byte 7
!text "/GAME/X"
!if * > $1C0 {
!error "code is too large, ends at ", *
}