Skip to content
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
5 changes: 5 additions & 0 deletions .gitignore
Original file line number Diff line number Diff line change
Expand Up @@ -40,6 +40,7 @@ src/tests/*.list
src/tests/*.map
src/tests/*.label
src/tests/*.lbl
src/tests/*.sym
src/tools/*.list
src/tools/*.map
src/tools/*.label
Expand Down Expand Up @@ -145,3 +146,7 @@ PASS.*
# jenkins build artifacts
JENKINS_BUILD_ID
JENKINS_BUILD_VERSION

# local hyppo DOS-trap exercisers, not part of the build
src/tests/hyppo_dos_traps_test.a65
src/tests/hyppo_dos_util.a65
7 changes: 5 additions & 2 deletions Makefile
Original file line number Diff line number Diff line change
Expand Up @@ -1089,11 +1089,14 @@ $(BINDIR)/border.prg: $(SRCDIR)/border.a65 $(OPHIS_DEPEND)
$(OPHIS) $(OPHISOPT) $< -l $(BINDIR)/border.list -m $*.map -o $(BINDIR)/border.prg

# ============================ done moved, print-warn, clean-target
# --strict-segments: the fixed data areas at $BB00 and up wind * backwards,
# so code growing past them would otherwise only warn and quietly overwrite
# the tail of hyppo.
$(BINDIR)/HICKUP.M65: $(ACME_DEPEND) $(wildcard $(SRCDIR)/hyppo/*.asm) $(SRCDIR)/version.asm
$(ACME) --cpu m65 --setpc 0x8000 -l src/hyppo/HICKUP.sym -r src/hyppo/HICKUP.rep -I $(SRCDIR)/hyppo -DDEBUG_HYPPO=$(DEBUG_HYPPO) $(SRCDIR)/hyppo/main.asm
$(ACME) --cpu m65 --strict-segments --setpc 0x8000 -l src/hyppo/HICKUP.sym -r src/hyppo/HICKUP.rep -I $(SRCDIR)/hyppo -DDEBUG_HYPPO=$(DEBUG_HYPPO) $(SRCDIR)/hyppo/main.asm

$(BINDIR)/BRICKUP.M65: $(ACME_DEPEND) $(wildcard $(SRCDIR)/hyppo/*.asm) $(SRCDIR)/version.asm
$(ACME) --cpu m65 --setpc 0x8000 -l src/hyppo/HICKUP.sym -r src/hyppo/HICKUP.rep -I $(SRCDIR)/hyppo -DDEBUG_HYPPO=$(DEBUG_HYPPO) $(SRCDIR)/hyppo/joyflash.asm
$(ACME) --cpu m65 --strict-segments --setpc 0x8000 -l src/hyppo/HICKUP.sym -r src/hyppo/HICKUP.rep -I $(SRCDIR)/hyppo -DDEBUG_HYPPO=$(DEBUG_HYPPO) $(SRCDIR)/hyppo/joyflash.asm

$(UTILDIR)/cpusim.prg: $(ACME_DEPEND) $(UTILDIR)/cpusim.asm
$(ACME) --cpu m65 --setpc 0x8100 -l cpusim.sym -r cpusim.rep $(UTILDIR)/cpusim.asm
Expand Down
10 changes: 5 additions & 5 deletions src/hyppo/audiomix.asm
Original file line number Diff line number Diff line change
Expand Up @@ -79,7 +79,7 @@ audiomix_set_sid_lr_coefficients:
ldx #$22
jsr audiomix_set2coefficients
ldx #$32
jmp audiomix_set2coefficients
bra audiomix_set2coefficients

audiomix_set_sid_rl_coefficients:
ldx #$c2
Expand All @@ -97,23 +97,23 @@ audiomix_set_sid_rl_coefficients:
ldx #$20
jsr audiomix_set2coefficients
ldx #$30
jmp audiomix_set2coefficients
bra audiomix_set2coefficients

audio_set_stereo:
;; Left and right SID volume levels
;; for stereo operation
lda #$be
jsr audiomix_set_sid_lr_coefficients
lda #$40
jmp audiomix_set_sid_rl_coefficients
bra audiomix_set_sid_rl_coefficients

audio_set_stereomirrored:
;; Left and right SID volume levels
;; for stereo operation
lda #$40
jsr audiomix_set_sid_lr_coefficients
lda #$be
jmp audiomix_set_sid_rl_coefficients
bra audiomix_set_sid_rl_coefficients

audiomix_setcoefficient:
stx audiomix_addr
Expand Down Expand Up @@ -144,4 +144,4 @@ audiomix_set4coefficients:
audiomix_set2coefficients:
jsr audiomix_setcoefficient
inx
jmp audiomix_setcoefficient
bra audiomix_setcoefficient
2 changes: 2 additions & 0 deletions src/hyppo/constants.asm
Original file line number Diff line number Diff line change
Expand Up @@ -39,6 +39,8 @@
dos_errorcode_file_exists = $8D
dos_errorcode_directory_full = $8E
dos_errorcode_double_attach = $8F
dos_errorcode_directory_not_empty = $90
dos_errorcode_path_too_long = $91
dos_errorcode_eof = $FF

;; FAT directory entry constants
Expand Down
Loading