From dc9c77170e5077e52f139ff37a01ee8668947e08 Mon Sep 17 00:00:00 2001 From: Joshua Bell Date: Mon, 28 Nov 2022 20:20:45 -0800 Subject: [PATCH] FujiNet Clock Driver: Fix search continuation during install When a SmartPort device was found that wasn't the FujiNet, the search continuation used the wrong offset to get the high byte of the slot address. Also, fix the "jumbo" clock driver's Makefile to ensure it is rebuilt when dependencies change. --- clocks/fujinet/fn.clock.system.s | 2 +- clocks/jumbo/Makefile | 9 ++++++++- 2 files changed, 9 insertions(+), 2 deletions(-) diff --git a/clocks/fujinet/fn.clock.system.s b/clocks/fujinet/fn.clock.system.s index ffa2d00..d19ee56 100644 --- a/clocks/fujinet/fn.clock.system.s +++ b/clocks/fujinet/fn.clock.system.s @@ -105,7 +105,7 @@ search_unit: dex bne search_unit continue_slot_search: - ldx sp_call+1 ; restore card + ldx sp_call_hi ; restore card dex cpx #$C0 bne search_slot diff --git a/clocks/jumbo/Makefile b/clocks/jumbo/Makefile index 1384855..3da532f 100644 --- a/clocks/jumbo/Makefile +++ b/clocks/jumbo/Makefile @@ -4,7 +4,14 @@ LDFLAGS = --config apple2-asm.cfg OUTDIR = out -HEADERS = $(wildcard *.inc) $(wildcard ../inc/*.inc) +HEADERS = $(wildcard *.inc) $(wildcard ../inc/*.inc) \ + ../ns.clock/ns.clock.system.s \ + ../romx/romxrtc.system.s \ + ../dclock/dclock.system.s \ + ../fujinet/fn.clock.system.s \ + ../fujinet/smartport.inc \ + ../cricket/cricket.system.s + TARGETS = \ $(OUTDIR)/clock.system.SYS