summaryrefslogtreecommitdiff
path: root/z180/config.inc
diff options
context:
space:
mode:
Diffstat (limited to 'z180/config.inc')
-rw-r--r--z180/config.inc14
1 files changed, 7 insertions, 7 deletions
diff --git a/z180/config.inc b/z180/config.inc
index b03761c..b5df1cc 100644
--- a/z180/config.inc
+++ b/z180/config.inc
@@ -1,7 +1,7 @@
-FOSC equ 18432 ;Oscillator frequency [KHz]
-PHI equ FOSC/2 ;CPU frequency
+FOSC equ 9216 ;Oscillator frequency [KHz]
+PHI equ FOSC*2 ;CPU frequency
;-----------------------------------------------------
; Programmable Reload Timer (PRT)
@@ -54,7 +54,7 @@ s1.tx_len equ 256 ;
PMSG equ 80h
;-----------------------------------------------------
-; Definition of (locical) top 2 memory pages
+; Definition of (locical) top 2 memory pages
sysram_start equ 0FE00h
stacksize equ 80
@@ -72,7 +72,7 @@ iv2tab equ ivtab + 2*9
o.mask equ -3
o.in_idx equ -2
o.out_idx equ -1
-
+
.lall
mkbuf macro name,size
@@ -80,7 +80,7 @@ mkbuf macro name,size
.printx Error: buffer ^size must be power of 2 and in range 0..256!
name&.mask equ ;wrong size error
else
- ds 3
+ ds 3
name:: ds size
name&.mask equ low (size-1)
if size ne 0
@@ -92,9 +92,9 @@ endm
;-----------------------------------------------------
-inidat macro
+inidat macro
cseg
-??ps.a defl $
+??ps.a defl $
endm
inidate macro