From: Brett Gordon Date: Fri, 9 Oct 2015 05:03:09 +0000 (-0400) Subject: coco3: make detected hz a C global X-Git-Url: https://git.ndcode.org/public/gitweb.cgi?a=commitdiff_plain;h=abad893cde4d62c0cacc8ebf107ed4d734a994b7;p=FUZIX.git coco3: make detected hz a C global --- diff --git a/Kernel/platform-coco3/coco3.s b/Kernel/platform-coco3/coco3.s index 826559be..cde88c35 100644 --- a/Kernel/platform-coco3/coco3.s +++ b/Kernel/platform-coco3/coco3.s @@ -18,6 +18,7 @@ .globl map_save .globl map_restore .globl _need_resched + .globl _hz ; exported debugging tools .globl _trap_monitor @@ -107,7 +108,7 @@ _irqrestore: ; B holds the data ; KERNEL MEMORY BANK ; ----------------------------------------------------------------------------- .area .data -hz: .db 0 ; Is machine in 50hz? +_hz: .db 0 ; Is machine in 50hz? .area .text @@ -150,7 +151,7 @@ b@ sta ,x+ ldb #$06 ; put Fuzix Kernel back in mmu stb $ffae ; anda #$8 ; mask off 50 hz bit - sta hz ; save for future use + sta _hz ; save for future use ;; continue setup of regs ora #%00000100 ; text @ 9 lines per char row sta $ff98