mirror of
https://github.com/a2-4am/4cade.git
synced 2025-01-04 04:32:50 +00:00
cheat some names, save some bytes
This commit is contained in:
parent
c4debba582
commit
87dd334a6b
@ -85,7 +85,7 @@
|
|||||||
0001,DIG.DUG
|
0001,DIG.DUG
|
||||||
1001,DINO.EGGS
|
1001,DINO.EGGS
|
||||||
1001,DINO.SMURF
|
1001,DINO.SMURF
|
||||||
0000,DOGFIGHT.II=Dogfight II
|
0000,DOGFIGHT.II
|
||||||
0001,DONKEY.KONG
|
0001,DONKEY.KONG
|
||||||
0000,DOUBLE.TROUBLE
|
0000,DOUBLE.TROUBLE
|
||||||
1001,DRELBS
|
1001,DRELBS
|
||||||
@ -106,7 +106,7 @@
|
|||||||
1000,FORMULA.1.RACER
|
1000,FORMULA.1.RACER
|
||||||
0001,FREE.FALL
|
0001,FREE.FALL
|
||||||
0001,FROGGER
|
0001,FROGGER
|
||||||
1001,FROGGER.II=Frogger II
|
1001,FROGGER.II
|
||||||
1000,FUJI.SPEED.WAY=Fuji Crowded Speedway
|
1000,FUJI.SPEED.WAY=Fuji Crowded Speedway
|
||||||
0001,GALAXIAN
|
0001,GALAXIAN
|
||||||
0001,GALAXY.GATES
|
0001,GALAXY.GATES
|
||||||
@ -140,7 +140,7 @@
|
|||||||
1000,INTL.GRAN.PRIX=International Gran Prix
|
1000,INTL.GRAN.PRIX=International Gran Prix
|
||||||
0111,EAGLES.NEST=Into the Eagle's Nest
|
0111,EAGLES.NEST=Into the Eagle's Nest
|
||||||
0000,I.O.SILVER=I.O. Silver
|
0000,I.O.SILVER=I.O. Silver
|
||||||
0001,JAWBREAKER.II=Jawbreaker II
|
0001,JAWBREAKER.II
|
||||||
0001,JOUST
|
0001,JOUST
|
||||||
0000,JUGGLER
|
0000,JUGGLER
|
||||||
0001,JUMPMAN
|
0001,JUMPMAN
|
||||||
@ -170,7 +170,7 @@
|
|||||||
1001,MICRO.INVADERS
|
1001,MICRO.INVADERS
|
||||||
0001,MICROWAVE
|
0001,MICROWAVE
|
||||||
1001,MINER.2049ER
|
1001,MINER.2049ER
|
||||||
1001,MINER.2049.II=Miner 2049er II
|
1001,MINER.II
|
||||||
1001,MINGS.CHALLENGE=Ming's Challenge
|
1001,MINGS.CHALLENGE=Ming's Challenge
|
||||||
0001,MINIT.MAN
|
0001,MINIT.MAN
|
||||||
0005,MINOTAUR
|
0005,MINOTAUR
|
||||||
@ -184,11 +184,11 @@
|
|||||||
0001,MS.PACMAN=Ms. Pacman
|
0001,MS.PACMAN=Ms. Pacman
|
||||||
0001,NEPTUNE
|
0001,NEPTUNE
|
||||||
0000,NIBBLER
|
0000,NIBBLER
|
||||||
0005,NIGHT.MISSION=Night Mission Pinball
|
0005,NIGHT.MISSION
|
||||||
0000,NIGHT.STALKER
|
0000,NIGHT.STALKER
|
||||||
0000,NIGHTMARE=Nightmare Gallery
|
0000,NIGHTMARE=Nightmare Gallery
|
||||||
0000,N.O.R.A.D
|
0000,N.O.R.A.D
|
||||||
1000,ONE.ON.ONE=One on One
|
1000,ONE.ON.ONE
|
||||||
0000,ORBITRON
|
0000,ORBITRON
|
||||||
0000,ORILEYS.MINE=O'Riley's Mine
|
0000,ORILEYS.MINE=O'Riley's Mine
|
||||||
0000,OOTW=Out of This World
|
0000,OOTW=Out of This World
|
||||||
@ -206,8 +206,8 @@
|
|||||||
0000,PICNIC.PARANOIA
|
0000,PICNIC.PARANOIA
|
||||||
0000,PIEMAN=Pie-Man
|
0000,PIEMAN=Pie-Man
|
||||||
0110,PIPE.DREAM
|
0110,PIPE.DREAM
|
||||||
1000,PITFALL.II=Pitfall II
|
1000,PITFALL.II
|
||||||
0000,PITSTOP.II=Pitstop II
|
0000,PITSTOP.II
|
||||||
0000,PLASMANIA
|
0000,PLASMANIA
|
||||||
1110,PLATOON
|
1110,PLATOON
|
||||||
1000,POLLYWOG
|
1000,POLLYWOG
|
||||||
@ -276,7 +276,7 @@
|
|||||||
0000,SUCCESSION
|
0000,SUCCESSION
|
||||||
0000,SUICIDE=Suicide!
|
0000,SUICIDE=Suicide!
|
||||||
0000,SUMMER.GAMES
|
0000,SUMMER.GAMES
|
||||||
0000,SUMMER.GAMES.II=Summer Games II
|
0000,SUMMER.GAMES.II
|
||||||
0001,SUPER.BUNNY
|
0001,SUPER.BUNNY
|
||||||
1001,SUPER.ZAXXON
|
1001,SUPER.ZAXXON
|
||||||
0000,SWASHBUCKLER
|
0000,SWASHBUCKLER
|
||||||
@ -311,7 +311,7 @@
|
|||||||
0000,WARP.DESTROYER
|
0000,WARP.DESTROYER
|
||||||
0001,WAVY.NAVY
|
0001,WAVY.NAVY
|
||||||
0000,WAYOUT
|
0000,WAYOUT
|
||||||
1111,WINGS.OF.FURY=Wings of Fury
|
1111,WINGS.OF.FURY
|
||||||
0000,WINTER.GAMES
|
0000,WINTER.GAMES
|
||||||
0000,WORLD.KARATE=World Karate Championship
|
0000,WORLD.KARATE=World Karate Championship
|
||||||
1001,XEVIOUS
|
1001,XEVIOUS
|
||||||
|
@ -6,9 +6,9 @@
|
|||||||
; YE OLDE GRAND UNIFIED MEMORY MAP
|
; YE OLDE GRAND UNIFIED MEMORY MAP
|
||||||
;
|
;
|
||||||
; LC RAM BANK 1
|
; LC RAM BANK 1
|
||||||
; D000..E863 - persistent data structures (gGlobalPrefsStore, gGamesListStore)
|
; D000..E7DE - persistent data structures (gGlobalPrefsStore, gGamesListStore)
|
||||||
; ...unused...
|
; ...unused...
|
||||||
; E91E..FFF1 - main program code
|
; E915..FFF1 - main program code
|
||||||
; FFF2..FFF9 - API functions and global constants available for main program
|
; FFF2..FFF9 - API functions and global constants available for main program
|
||||||
; code, prelaunchers, transition effects, &c.
|
; code, prelaunchers, transition effects, &c.
|
||||||
; (Wait/UnwaitForVBL, MockingboardStuff, MachineStatus)
|
; (Wait/UnwaitForVBL, MockingboardStuff, MachineStatus)
|
||||||
|
@ -159,11 +159,15 @@ GetGameDisplayName
|
|||||||
sta @or ; first character remains capitalized
|
sta @or ; first character remains capitalized
|
||||||
ldy #1
|
ldy #1
|
||||||
- lda (SAVE), y
|
- lda (SAVE), y
|
||||||
cmp #$2E
|
cmp #$49 ; 'I'
|
||||||
|
bne +
|
||||||
|
cmp gValLen-1,y
|
||||||
|
beq ++ ; preserve 'II' casing
|
||||||
|
+ cmp #$2E
|
||||||
bne @or
|
bne @or
|
||||||
lda #$20 ; convert '.' to ' '
|
lda #$20 ; convert '.' to ' '
|
||||||
@or ora #$20 ; SMC (opcode)
|
@or ora #$20 ; SMC (opcode)
|
||||||
sta gValLen, y
|
++ sta gValLen, y
|
||||||
cmp #$20
|
cmp #$20
|
||||||
bne +
|
bne +
|
||||||
lda #$24 ; first character after ' ' remains capitalized
|
lda #$24 ; first character after ' ' remains capitalized
|
||||||
|
Loading…
Reference in New Issue
Block a user