home *** CD-ROM | disk | FTP | other *** search
/ ticalc.org / ticalc_org_rev_b.iso / archives / amiga / amigati85prog.lha / ti-85.h < prev    next >
Encoding:
Text File  |  1997-06-14  |  2.8 KB  |  58 lines

  1. ROM_CALL    EQU    $8C09
  2.  
  3. PROGRAM_ADDR    EQU    $8C3C    ; program address
  4. ROM_VERS    EQU    $8C3E    ; ROM version byte
  5. ZSHELL_VER    EQU    $8C3F    ; ZShell version number
  6. ZS_BITS        EQU    $8C40    ; bit 0 set : checksum again
  7. LD_HL_MHL       EQU    $0033  ; HLEQU    (HL), AEQU    L
  8. CP_HL_DE        EQU    $008E  ; CP HL,DE (modifies flags only)
  9. UNPACK_HL       EQU    $009A  ; unpacks one digit of HL into %A
  10. STORE_KEY       EQU    $01B1  ; store immediate keystroke from %A
  11. GET_KEY         EQU    $01BE  ; get immediate keystroke into %A
  12. TX_CHARPUT       EQU    $00   ; xlated display of %A on screen, normal text style
  13. D_LT_STR         EQU    $01   ; display length-byte normal text string
  14. M_CHARPUT        EQU    $02   ; display %A on screen, menu style
  15. D_ZM_STR         EQU    $03   ; display zero-terminated string,  menu style
  16. D_LM_STR         EQU    $04   ; display length-byte string, menu style
  17. GET_T_CUR        EQU    $05   ; HL EQU     absolute address of text cursor
  18. SCROLL_UP        EQU    $06   ; scroll text screen up
  19. TR_CHARPUT       EQU    $07   ; raw display of %A on screen, normal text style
  20. CLEARLCD         EQU    $08   ; clear LCD, but not text or graphics memory
  21. D_HL_DECI        EQU    $09   ; disp. HL as 5-byte, right just., blank-pad. decimal
  22. CLEARTEXT        EQU    $0A   ; clear LCD and text memory (affected by 1,(IY+13))
  23. D_ZT_STR         EQU    $0B   ; display zero-terminated normal text string
  24. BUSY_OFF         EQU    $0C   ; turn off "busy" indicataor
  25. BUSY_ON          EQU    $0D   ; turn on "busy" indicator
  26. FIND_PIXEL       EQU    $80   ; Find location in RAM for a pixel on the GFX screen
  27. KEY_0        EQU    $8000    ; translated scancode of last key, but 0 if gotten
  28. KEY_1        EQU    $8001    ; translated scancode of key down now
  29. KEY_2        EQU    $8002    ; same as 8001, but $FF if more than one key is down
  30. KEY_STAT    EQU    $8004    ; bit 2 set EQU     key down now
  31. LAST_KEY    EQU    $8006    ; last key pressed
  32. CONTRAST    EQU    $8007    ; contrast
  33. CURSOR_ROW    EQU    $800C    ; text cursor row
  34. CURSOR_COL    EQU    $800D    ; text cursor column
  35. CURSOR_LET    EQU    $800E    ; letter under text cursor
  36. BUSY_COUNTER    EQU    $8080    ; counter for busy indicator
  37. BUSY_BITMAP    EQU    $8081    ; bitmap for busy indicator
  38. CURR_INPUT    EQU    $80C6    ; -> current home-screen input
  39. BYTES_USED    EQU    $80CC    ; # of used user memory (Add to 80C8 to find first 
  40.             ; byte of free memory)
  41. TEXT_MEM    EQU    $80DF    ; text memory
  42. CURSOR_ROW2    EQU    $800C    ; text cursor row
  43. CURSOR_COL2    EQU    $800D    ; text cursor column
  44. CHECKSUM    EQU    $81BE    ; memory checksum from 8BF7 to FA6F
  45. CURSOR_X    EQU    $8333    ; x value of cursor
  46. CURSOR_Y    EQU    $8334    ; y value of cursor
  47. _IY_TABLE    EQU    $8346    ; where IY usually points
  48. GRAPH_MEM    EQU    $8641    ; graphics memory
  49. TEXT_MEM2    EQU    $8A6B    ; secondary text memory
  50. USER_MEM    EQU    $8B1B    ; -> start of user memory
  51. FIXED_POINT    EQU    $8B3A    ; fixed-point decimal place (FFh for floating point)
  52. VAT_END        EQU    $8BEB    ; -> one byte before end of VAT (backwards)
  53. VAT_START    EQU    $FA6F    ; start of VAT
  54. VIDEO_MEM    EQU    $FC00    ; video memory
  55.  
  56.  
  57.  
  58.