home *** CD-ROM | disk | FTP | other *** search
/ ftp.barnyard.co.uk / 2015.02.ftp.barnyard.co.uk.tar / ftp.barnyard.co.uk / cpm / walnut-creek-CDROM / ENTERPRS / CPM / UTILS / S / ZEN2.LBR / ZKEYBD.LIB < prev    next >
Text File  |  2000-06-30  |  896b  |  37 lines

  1.  
  2. ;**    Z-MACHINE KEYBOARD DEFINITIONS
  3. ;
  4.  
  5. ;    PORT ASSIGNMENTS
  6.  
  7. ZKEYBDD    EQU    ZKEYBD+0        ;DATA
  8. ZKEYBDC    EQU    ZKEYBD+1        ;COMMAND
  9. ZKEYBDS    EQU    ZKEYBD+1        ;STATUS
  10.  
  11. ;    STATUS REGISTER
  12.  
  13. ZKEYOBF    EQU    00000001B        ;OUTPUT BUFFER FULL
  14. ZKEYIBF    EQU    00000010B        ;INPUT BUFFER FULL
  15.  
  16. ;    COMMANDS
  17.  
  18. ZKEYRES    EQU    000H            ;RESET
  19. ZKEYARO    EQU    001H            ;AUTOREPEAT ON
  20. ZKEYARF    EQU    002H            ;AUTOREPEAT OFF
  21. ZKEYKCO    EQU    003H            ;KEY CLICK ON
  22. ZKEYKCF    EQU    004H            ;KEY CLICK OFF
  23. ZKEYCF    EQU    005H            ;CLEAR FIFO
  24. ZKEYCLK    EQU    006H            ;CLICK
  25. ZKEYBEP    EQU    007H            ;BEEP
  26. ZKEYEK    EQU    008H            ;ENABLE KEYBOARD
  27. ZKEYDK    EQU    009H            ;DISABLE KEYBOARD
  28. ZKEYUDM    EQU    00AH            ;KEY UP/DOWN MODE
  29. ZKEYNSM    EQU    00BH            ;NORMAL SCAN MODE
  30. ZKEYEI    EQU    00CH            ;ENABLE INTERRUPTS
  31. ZKEYDI    EQU    00DH            ;DISABLE INTERRUPTS
  32.  
  33. ;    SPECIAL KEYS
  34.  
  35. ZKEYBRK    EQU    0AAH            ;BREAK KEY
  36.  
  37.