/usr/share/z88dk/lib/Ti82.def is in z88dk-data 1.8.ds1-10.
This file is owned by root:root, with mode 0o644.
The actual contents of the file can be viewed below.
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 57 58 59 60 61 62 63 64 65 66 67 68 69 70 71 72 73 74 75 76 77 78 79 80 81 82 83 84 85 86 87 88 89 90 91 92 93 | ;-------------------------------
; Some DEFC's needed by the code
;-------------------------------
;ASH stuff (we don't use ASH...)
defc OS_VER = $8D5D ;
defc OS_BITS = $8D5E ;
defc OS82_VER = $8D5F ;
;ASH ROM_CALL(*) stuff
;TX_CHARPUT = $0000
;D_LT_STR = $0001
;M_CHARPUT = $0002
;D_ZM_STR = $0003
;SCROLL_UP = $0006
;TR_CHARPUT = $0007
;CLEARLCD = $0008
;D_HL_DECI = $0009
;CLEARTEXT = $000A
;D_ZT_STR = $000B
;BUSY_OFF = $000C
;BUSY_ON = $000D
;_GETKEY = $000E
;_GRBUFCPY_V = $000F
defc _Chkfindsym = $442A ;
defc KEY_0 = $8000 ;
defc KEY_1 = $8001 ;
defc KEY_2 = $8002 ;
defc KEY_STAT = $8004 ;
defc LAST_KEY = $8006 ;
defc CONTRAST = $8008 ;
defc CURSOR_POS = $800C ;
defc CURSOR_ROW = $800C ;
defc CURSOR_COL = $800D ;
defc BUSY_COUNTER = $8026 ;
defc BUSY_BITMAP = $8027 ;
defc OP1 = $8028 ;
defc OP2 = $8033 ;
defc OP3 = $803E ;
defc OP4 = $8049 ;
defc OP5 = $8054 ;
defc OP6 = $805F ;
defc TEXT_MEM = $808F ;
defc GRAF_CURS = $8215 ;
defc CURSOR_X = $8215 ;
defc CURSOR_Y = $8216 ;
defc TEXT_MEM2 = $8BDF ;
defc WIN_START = $8C8F ;
defc WIN_END = $8C90 ;
defc CRASH_VER = $8D73 ;
defc VAT_START = $FE6E ;
defc APD_FREE = $8D70 ;
defc INT_STATE = $8D72 ;
defc EXIT_2_TIOS = $8D88 ;
defc RAND = $8D8B ;
defc CP_HL_BC = $8D8E ;
defc CR_KHAND = $8D91 ;
defc CR_GRBCopy = $8D94 ;
defc LD_HL_MHL = $0033 ;
defc CP_HL_DE = $0095 ;
defc UNPACK_HL = $00A1 ;
defc DIV_HL_A = $00A3 ;
defc KEY_READ = $01B8 ;
defc STORE_KEY = $01C7 ;
defc GET_KEY = $01D4 ;
defc DISP_DELAY = $07F3 ;
defc FIND_PIXEL = $4166 ;
defc PROGRAM_ADDR = $8D5B ;
defc TR_CHARPUT = $3738 ;
defc TX_CHARPUT = $39D2 ;
defc D_ZT_STR = $38FA ;
defc D_LT_STR = $373E ;
defc D_HL_DECI = $387C ;
defc LAST_LINE = $3774 ;
defc NEXT_LINE = $377A ;
defc SCROLL_UP = $3786 ;
defc UP_TEXT = $37F2 ;
defc M_CHARPUT = $37CE ;
defc D_ZM_STR = $37D4 ;
defc D_LM_STR = $37DA ;
defc CLEARLCD = $389A ;
defc CLEARTEXT_W = $37B0 ;
defc CLEARTEXT_F = $37A4 ;
defc CLEAR_DISP = $38CA ;
defc BACKUP_DISP = $39C6 ;
defc RESTOR_DISP = $38DC ;
defc _GRBUFCPY_V = $38AC ;
defc _GETKEY = $3924 ;
defc STACK = $FFFF ;
defc START_ADDR = $9104 ; Ti82 org-adress, same for ASH and CrASH
defc GRAPH_MEM = $88B8 ; 768 bytes - $88B8 / $8BB8
defc APD_BUF = $8228 ; 768 bytes - $8228 / $8528
defc _IY_TABLE = $8528 ; N/A - Where IY usually points
|