X-Git-Url: http://cloudbase.mooo.com/gitweb/z180-stamp.git/blobdiff_plain/4bc81323e51ac138e733c14eeb6f283ae706e904..815c173542f40f3bcfac050831454d86633b555a:/z180/config.inc 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