]> git.sur5r.net Git - cc65/blobdiff - libsrc/pet/pet.inc
no TGI_ERR_NO_MEM or TGI_ERR_NO_IOCB anymore: replaced by TGI_ERR_NO_RES
[cc65] / libsrc / pet / pet.inc
index 0dca57a765075723412177444be748b3d26c5313..27a614b1601cc0176f1a4077e9f1374110b69d99 100644 (file)
@@ -10,6 +10,7 @@ MEMSIZE               = $34           ; Size of memory installed
 TIME            = $8D           ; 60HZ clock
 ST                     = $96           ; IEC status byte
 KEY_COUNT              = $9E           ; Number of keys in input buffer
+RVS            = $9F           ; Reverse flag
 CURS_FLAG      = $A7           ; 1 = cursor off
 CURS_BLINK     = $A8           ; Blink counter
 CURS_CHAR      = $A9           ; Character under the cursor
@@ -26,8 +27,16 @@ FNADR           = $DA           ; Pointer to file name
 
 KEY_BUF                = $26F          ; Keyboard buffer
 
+;----------------------------------------------------------------------------
+; PET ROM type detection
 
-; ---------------------------------------------------------------------------
+PET_DETECT      = $FFFB                              
+PET_2000        = $CA
+PET_3000        = $FC
+PET_4000        = $FD
+
+
+;----------------------------------------------------------------------------
 ; Vector and other locations
 
 IRQVec         = $0090