move to text/ directory for all game descriptions

This commit is contained in:
4am 2018-02-08 12:00:20 -05:00
parent e38436ed8d
commit ea47d16d7f
5 changed files with 10 additions and 12 deletions

Binary file not shown.

Binary file not shown.

View File

@ -11,6 +11,9 @@
;
!zone {
kGameRootDirectory ; length-prefixed pathname of where game subdirectories are stored
!byte 14
!raw "/PITCH.DARK/Z/" ; TODO use relative path ('Z/') for final release
.keys
!byte $D0,ID_PLAY ; P
!byte $F0,ID_PLAY ; p

View File

@ -20,12 +20,9 @@
kNumberOfGames = 25
gCurrentGame
!byte $FD ; set at runtime
kGameRootDirectory ; length-prefixed pathname of where game subdirectories are stored
!byte 14
!raw "/PITCH.DARK/Z/" ; TODO use relative path ('Z/') for final release
.infoFilename ; length-prefixed partial pathname of game info file, starting with '/' because reasons
kTextRootDirectory
!byte 5
!raw "/INFO"
!raw "TEXT/"
GAMES ; length of this array must = kNumberOfGames, there is no range checking
!word .ballyhoo
!word .cutthroats
@ -162,8 +159,8 @@ addrVersions
;------------------------------------------------------------------------------
LoadGameInfo
jsr ResetPath
lda #<kGameRootDirectory
ldy #>kGameRootDirectory
lda #<kTextRootDirectory
ldy #>kTextRootDirectory
jsr AddToPath
lda gCurrentGame
asl
@ -171,9 +168,6 @@ LoadGameInfo
lda GAMES,x
ldy GAMES+1,x
jsr AddToPath
lda #<.infoFilename
ldy #>.infoFilename
jsr AddToPath
jsr LoadFile
!word gPathname

View File

@ -3,6 +3,7 @@
!cpu 6502
*=$2000
!to "../build/QUIT.SYSTEM#FF2000",plain
lda $c083
lda $c083
@ -76,6 +77,6 @@ prefix_e
filename
!byte (filename_e-filename)-1
!text "BIN/PITCHDRK.SYSTEM"
!text "PITCHDRK.SYSTEM"
filename_e
}
}