diff --git a/res/GAMES.CONF b/res/GAMES.CONF index 0647fd5b3..c237e6764 100755 --- a/res/GAMES.CONF +++ b/res/GAMES.CONF @@ -92,6 +92,7 @@ 0001,EGGS.IT=Eggs-It 0000,EPOCH 0001,FALCONS +0004,FAT.CITY 1000,FIGHT.NIGHT 0001,FIREBIRD 0100,FLAPPLE.BIRD diff --git a/res/TITLE.HGR/FAT.CITY b/res/TITLE.HGR/FAT.CITY new file mode 100644 index 000000000..678513fa4 Binary files /dev/null and b/res/TITLE.HGR/FAT.CITY differ diff --git a/res/TITLE.HGR/_FileInformation.txt b/res/TITLE.HGR/_FileInformation.txt index 4dc62c6d4..df878d2ca 100644 --- a/res/TITLE.HGR/_FileInformation.txt +++ b/res/TITLE.HGR/_FileInformation.txt @@ -83,6 +83,7 @@ DUNG.BEETLES=Type(06),AuxType(4000),Access(C3) EGGS.IT=Type(06),AuxType(4000),Access(C3) EPOCH=Type(06),AuxType(4000),Access(C3) FALCONS=Type(06),AuxType(4000),Access(C3) +FAT.CITY=Type(06),AuxType(4000),Access(C3) FIGHT.NIGHT=Type(06),AuxType(4000),Access(C3) FIREBIRD=Type(06),AuxType(4000),Access(C3) FLAPPLE.BIRD=Type(06),AuxType(4000),Access(C3) diff --git a/res/dsk/fat city PRODOS (san inc pack).po b/res/dsk/fat city PRODOS (san inc pack).po new file mode 100644 index 000000000..5f5b293bf Binary files /dev/null and b/res/dsk/fat city PRODOS (san inc pack).po differ diff --git a/res/notes/wishlist.txt b/res/notes/wishlist.txt index bad1cd41f..59297f30f 100644 --- a/res/notes/wishlist.txt +++ b/res/notes/wishlist.txt @@ -3,7 +3,6 @@ The American Challenge C'est La Vie Conquering Worlds Dive Bomber -Fat City [priority] Lock 'N' Chase [priority] Mad Rat Marauder diff --git a/src/constants.a b/src/constants.a index 0f23bb387..7822e0212 100644 --- a/src/constants.a +++ b/src/constants.a @@ -6,7 +6,7 @@ ; YE OLDE GRAND UNIFIED MEMORY MAP ; ; LC RAM BANK 1 -; D000..E794 - persistent data structures (gGlobalPrefsStore, gGamesListStore) +; D000..E7AF - persistent data structures (gGlobalPrefsStore, gGamesListStore) ; ...unused... ; E92B..FFF1 - main program code ; FFF2..FFF9 - API functions and global constants available for main program diff --git a/src/prelaunch/fat.city.a b/src/prelaunch/fat.city.a new file mode 100644 index 000000000..c9aea9468 --- /dev/null +++ b/src/prelaunch/fat.city.a @@ -0,0 +1,33 @@ +;license:MIT +;(c) 2020 by qkumba + +!cpu 6502 +!to "build/PRELAUNCH/FAT.CITY",plain +*=$106 + + !source "src/prelaunch/common.a" + + +ENABLE_ACCEL + lda #$60 + sta $9DF + jsr $800 ; load "DOS" + lda #$60 + sta $B727 + jsr $B700 ; load game + + +GET_MACHINE_STATUS + and #CHEATS_ENABLED + beq + + lda #$2C + sta $1330 ; patch - don't decrease fuel + sta $1339 ; patch - don't decrease fuel + sta $133C ; patch - don't decrease fuel + sta $14BD ; patch - don't decrease fuel + sta $938 ; patch - don't decrease fuel ++ + +DISABLE_ACCEL + jmp $800 + +!if * > $1C0 { + !error "code is too large, ends at ", * +}