diff --git a/res/Pitch Dark.2mg b/res/Pitch Dark.2mg deleted file mode 100644 index fec5b15..0000000 Binary files a/res/Pitch Dark.2mg and /dev/null differ diff --git a/res/pitchdark.po b/res/pitchdark.po index fc17497..5cf6d45 100644 Binary files a/res/pitchdark.po and b/res/pitchdark.po differ diff --git a/src/action.a b/src/action.a index 16415d9..a592d7d 100644 --- a/src/action.a +++ b/src/action.a @@ -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 diff --git a/src/config.a b/src/config.a index e27155b..4a2c587 100644 --- a/src/config.a +++ b/src/config.a @@ -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 + lda #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 diff --git a/src/quit.s b/src/quit.s index e0474d6..80cb67a 100644 --- a/src/quit.s +++ b/src/quit.s @@ -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 -} \ No newline at end of file +}