Skip to content

Commit

Permalink
ZIP: Change 1-4 to slow 5-7 to fast
Browse files Browse the repository at this point in the history
  • Loading branch information
inexorabletash committed Apr 22, 2024
1 parent 1ed40ff commit 92405b5
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 5 deletions.
2 changes: 1 addition & 1 deletion README.md
Original file line number Diff line number Diff line change
Expand Up @@ -33,7 +33,7 @@ This repo includes the following drivers/modifications:
* FujiNet Clock
* A "jumbo" driver that includes all of the above (just called `CLOCK.SYSTEM`)
* Accelerators
* ZIP CHIP configuration (sets the chip to slow on speaker access)
* ZIP CHIP configuration (slow on speaker access, make slots 1-4 fast)
* RAM Disk drivers
* RAMWorks Driver by Glen E. Bredon
* Quit dispatcher/selector (`BYE` routines)
Expand Down
7 changes: 3 additions & 4 deletions accelerators/zipchip/zipchip.system.s
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
;;; ZIPCHIP.SYSTEM
;;; Configures the speaker to be temporarily slow
;;; Configures the speaker to be temporarily slow, slots 1-4 fast
;;; TODO: Add a configuration utility

.setcpu "6502"
Expand Down Expand Up @@ -127,9 +127,8 @@
cmp ZC_REG_SLOTSPKR
bne no_zip

;; Slow on speaker access
lda ZC_REG_SLOTSPKR
ora #%00000001 ; bit 0 = Speaker
;; Slow on speaker access, slots 1-4 fast, 5-7 normal
lda #%11100001 ; bit 0 = Speaker, bit N = slot N
sta ZC_REG_SLOTSPKR

;; Get size
Expand Down

0 comments on commit 92405b5

Please sign in to comment.