Skip to content

Commit

Permalink
Increased num_terminators (Hollywood Hijinx needed it)
Browse files Browse the repository at this point in the history
  • Loading branch information
johanberntsson committed Jun 17, 2018
1 parent 971fad7 commit 0b8a7ac
Show file tree
Hide file tree
Showing 3 changed files with 15 additions and 3 deletions.
9 changes: 9 additions & 0 deletions Makefile
Original file line number Diff line number Diff line change
Expand Up @@ -7,6 +7,7 @@ X64 := /usr/bin/x64 -cartcrt final_cartridge.crt -autostart-delay-random

#all: minizork
#all: zork1
#all: hollywood
#all: dejavu
#all: dragon
all: minform
Expand Down Expand Up @@ -85,6 +86,11 @@ d64.zork1:
cp infocom/zork1.d64 zork1.d64
$(C1541) -attach zork1.d64 -write ozmoo ozmoo

d64.hollywood:
acme -DZ3=1 $(DEBUGFLAGS) $(VMFLAGS) --cpu 6510 --format cbm -l acme_labels.txt --outfile ozmoo ozmoo.asm
cp infocom/hollywood.d64 hollywood.d64
$(C1541) -attach hollywood.d64 -write ozmoo ozmoo

d64.dejavu:
acme -DZ3=1 $(DEBUGFLAGS) $(VMFLAGS) --cpu 6510 --format cbm -l acme_labels.txt --outfile oz ozmoo.asm
exomizer/src/exomizer sfx basic oz -o ozmoo
Expand All @@ -102,6 +108,9 @@ minizork: d64.minizork
zork1: d64.zork1
$(X64) zork1.d64

hollywood: d64.hollywood
$(X64) hollywood.d64

dejavu: d64.dejavu
$(X64) dejavu.d64

Expand Down
4 changes: 2 additions & 2 deletions dictionary.asm
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@ dict_entries !byte 0, 0
dict_len_entries !byte 0
dict_num_entries !byte 0,0
num_terminators !byte 0
terminators !byte 0,0,0,0,0
terminators !byte 0,0,0,0,0,0,0,0,0,0

parse_dictionary
lda story_start + header_dictionary ; 05
Expand All @@ -13,7 +13,7 @@ parse_dictionary
!ifdef DEBUG {
jsr newline
}
cmp #5 ; max num terminators
cmp #10 ; max num terminators
bcc +
lda #ERROR_TOO_MANY_TERMINATORS
jsr fatalerror
Expand Down
5 changes: 4 additions & 1 deletion infocom/Makefile
Original file line number Diff line number Diff line change
@@ -1,11 +1,14 @@
all: zork1 minizork
all: zork1 minizork hollywood

minizork:
../create_d64.rb minizork.z3 minizork.d64

zork1:
../create_d64.rb zork1.z3 zork1.d64

hollywood:
../create_d64.rb hollywood.z3 hollywood.d64

clean:
rm -f *.d64

0 comments on commit 0b8a7ac

Please sign in to comment.