diff --git a/res/GAMEHELP/WORLD.GAMES b/res/GAMEHELP/WORLD.GAMES new file mode 100644 index 000000000..7e9e33a40 --- /dev/null +++ b/res/GAMEHELP/WORLD.GAMES @@ -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] diff --git a/res/GAMES.CONF b/res/GAMES.CONF index 82efa1548..20738180f 100755 --- a/res/GAMES.CONF +++ b/res/GAMES.CONF @@ -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 diff --git a/res/TITLE.DHGR/WORLD.GAMES b/res/TITLE.DHGR/WORLD.GAMES new file mode 100644 index 000000000..52f416035 Binary files /dev/null and b/res/TITLE.DHGR/WORLD.GAMES differ diff --git a/res/TITLE.DHGR/_FileInformation.txt b/res/TITLE.DHGR/_FileInformation.txt index df5f901fe..77a61f8f8 100644 --- a/res/TITLE.DHGR/_FileInformation.txt +++ b/res/TITLE.DHGR/_FileInformation.txt @@ -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) diff --git a/res/dsk/world games PRODOS (san inc pack).po b/res/dsk/world games PRODOS (san inc pack).po new file mode 100644 index 000000000..4f1f5aee5 Binary files /dev/null and b/res/dsk/world games PRODOS (san inc pack).po differ diff --git a/src/constants.a b/src/constants.a index 6daf25126..786d5688d 100644 --- a/src/constants.a +++ b/src/constants.a @@ -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. diff --git a/src/prelaunch/world.games.a b/src/prelaunch/world.games.a new file mode 100644 index 000000000..cea396f30 --- /dev/null +++ b/src/prelaunch/world.games.a @@ -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 + 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 ", * +}