From 92405b500e4cda939f5e1077802a9eadeae7b290 Mon Sep 17 00:00:00 2001 From: Joshua Bell Date: Sun, 21 Apr 2024 19:56:39 -0700 Subject: [PATCH] ZIP: Change 1-4 to slow 5-7 to fast --- README.md | 2 +- accelerators/zipchip/zipchip.system.s | 7 +++---- 2 files changed, 4 insertions(+), 5 deletions(-) diff --git a/README.md b/README.md index ff25e48..d917496 100644 --- a/README.md +++ b/README.md @@ -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) diff --git a/accelerators/zipchip/zipchip.system.s b/accelerators/zipchip/zipchip.system.s index 1d7deec..b3eda7e 100644 --- a/accelerators/zipchip/zipchip.system.s +++ b/accelerators/zipchip/zipchip.system.s @@ -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" @@ -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