view defs/atarivtio.d @ 3255:d0e8324af298

level3: nitro module: Use KrnBlk instead of hardcoded $3F Helps porting to non-CoCo3 platforms.
author Tormod Volden <debian.tormod@gmail.com>
date Wed, 29 Aug 2018 08:44:37 +0200
parents 31cd1f1b4fb0
children
line wrap: on
line source

              IFNE      ATARIVTIO.D-1
ATARIVTIO.D   SET       1

********************************************************************
* 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.CapsLck RMB       1                   caps lock flag
V.KySns   RMB       1                   key sense flags
V.EscCh1  RMB       2                   escape vector handler
V.EscVect RMB       2                   escape vector handler
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