diff defs/atari.d @ 2624:b8c7b7fbf3c9

Major changes: o os9defs, rbfdefs, scfdefs now os9.d, rbf.d, and scf.d o vtiodefs now broken into cocovtio.d (for coco and dragon) and atarivtio.d o systype now broken into coco.d, dragon.d and atari.d o all references to the above in other files have changed
author Boisy Pitre <boisy.pitre@nuance.com>
date Fri, 24 Feb 2012 08:51:08 -0600
parents f27161fc2926
children d1ea3dc90082
line wrap: on
line diff
--- a/defs/atari.d	Fri Feb 24 06:41:48 2012 -0600
+++ b/defs/atari.d	Fri Feb 24 08:51:08 2012 -0600
@@ -1,6 +1,5 @@
-          IFNE      ATARIDEFS-1
-
-ATARIDEFS SET       1
+          IFNE      ATARI.D-1
+ATARI.D   SET       1
 
 ********************************************************************
 * AtariDefs - NitrOS-9 System Definitions for the Atari XE/XL
@@ -18,6 +17,33 @@
 
 
 
+**********************************
+* Power Line Frequency Definitions
+*
+Hz50           EQU       1                   Assemble clock for 50 hz power
+Hz60           EQU       2                   Assemble clock for 60 hz power
+PwrLnFrq       SET       Hz60                Set to Appropriate freq
+
+
+**********************************
+* Ticks per second
+*
+               IFEQ      PwrLnFrq-Hz50
+TkPerSec       SET       50
+               ELSE      
+TkPerSec       SET       60
+               ENDC      
+
+
+*************************************************
+*
+* NitrOS-9 Level 1 Section
+*
+*************************************************
+
+HW.Page        SET       $FF                 Device descriptor hardware page
+
+
 ********************************************************************
 * NitrOS-9 Memory Definitions for the Atari XE/XL
 *
@@ -45,8 +71,6 @@
 D.IRQENShdw    EQU       D.WDBtDr
 
 
-
-
 ********************************************************************
 * Atari XE/XL Hardware Definitions
 *
@@ -207,26 +231,4 @@
 NMIRES	EQU	$D40F	;NMI interrupt status reset
 
 
-
-********************************************************************
-* VTIO Defs for the Atari XE/XL
-* Everything that the VTIO driver needs is defined here, including
-* static memory definitions
-
-* Constant Definitions
-KBufSz    EQU       8                   circular buffer size
-
-
-* Driver Static Memory
-          ORG       V.SCF
-V.CurRow  RMB       1
-V.CurCol  RMB       1
-V.CurChr  RMB       1                   character under the cursor
-V.KySns   RMB       1                   key sense flags
-V.IBufH   RMB       1                   input buffer head
-V.IBufT   RMB       1                   input buffer tail
-V.InBuf   RMB       KBufSz              input buffer
-          RMB       250-.
-V.Last    EQU       .
-
           ENDC