193 lines
5.8 KiB
HTML
193 lines
5.8 KiB
HTML
;######################################################################
|
|
;# #
|
|
;# AVR ChipBasic2 API V1.50 API Address definitions #
|
|
;# (c) 2009-2015 Joerg Wolfram #
|
|
;# #
|
|
;# This program is free software; you can redistribute it and/or #
|
|
;# modify it under the terms of the GNU General Public License #
|
|
;# as published by the Free Software Foundation; either version 3 #
|
|
;# of the License, or (at your option) any later version. #
|
|
;# #
|
|
;# This program is distributed in the hope that it will be useful, #
|
|
;# but WITHOUT ANY WARRANTY; without even the implied warranty of #
|
|
;# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.See the GNU #
|
|
;# General Public License for more details. #
|
|
;# #
|
|
;# You should have received a copy of the GNU General Public #
|
|
;# License along with this library; if not, write to the #
|
|
;# Free Software Foundation, Inc., 59 Temple Place - Suite 330, #
|
|
;# Boston, MA 02111-1307, USA. #
|
|
;# #
|
|
;######################################################################
|
|
.equ api_token = 0x001e
|
|
.equ api_untoken = 0x0020
|
|
.equ api_version = 0x0022
|
|
.equ api_popxyz = 0x0024
|
|
.equ api_pushxyz = 0x0025
|
|
.equ api_popregs = 0x0026
|
|
.equ api_pushregs = 0x0027
|
|
.equ api_getvram = 0x0028
|
|
.equ api_getsysram = 0x002b
|
|
.equ api_getpal = 0x002e
|
|
.equ api_getarray = 0x0031
|
|
.equ api_getchart0 = 0x0034
|
|
.equ api_getchart1 = 0x0037
|
|
.equ api_getbuffer = 0x003a
|
|
.equ api_getvalues = 0x003d
|
|
.equ api_getpartab = 0x0040
|
|
.equ api_getvar = 0x0043
|
|
.equ api_getprg = 0x0046
|
|
.equ api_dataptr = 0x0058
|
|
.equ api_getbase = 0x005a
|
|
.equ api_getprog = 0x005c
|
|
.equ api_getprog_1 = 0x0060
|
|
.equ api_getprog_2 = 0x0064
|
|
.equ api_setcolor = 0x0065
|
|
.equ api_setfcolor = 0x0067
|
|
.equ api_setborder = 0x0069
|
|
.equ api_setvmode = 0x006b
|
|
.equ api_setpalette = 0x006d
|
|
.equ api_sync = 0x006f
|
|
.equ api_slow = 0x0071
|
|
.equ api_fast = 0x0073
|
|
.equ api_setchannel = 0x0075
|
|
.equ api_setfont = 0x0077
|
|
.equ api_clrscr = 0x0079
|
|
.equ api_outchar = 0x007b
|
|
.equ api_outdez = 0x007d
|
|
.equ api_outhex = 0x007f
|
|
.equ api_gotoxy = 0x0081
|
|
.equ api_romtext = 0x0083
|
|
.equ api_thistext = 0x0085
|
|
.equ api_cbox = 0x0087
|
|
.equ api_ibox = 0x008a
|
|
.equ api_scroll = 0x008d
|
|
.equ api_newline = 0x008f
|
|
.equ api_sprite = 0x0091
|
|
.equ api_cursor = 0x0093
|
|
.equ api_waitkey = 0x0097
|
|
.equ api_nokey = 0x0099
|
|
.equ api_kstate = 0x009b
|
|
.equ api_kflags = 0x009f
|
|
.equ api_getkey = 0x00a2
|
|
.equ api_lastkey = 0x00a5
|
|
.equ api_scancode = 0x00a8
|
|
.equ api_putser = 0x00ab
|
|
.equ api_getser = 0x00ad
|
|
.equ api_getserb = 0x00af
|
|
.equ api_putser2 = 0x00b1
|
|
.equ api_getser2 = 0x00b3
|
|
.equ api_getserb2 = 0x00b5
|
|
.equ api_putpar = 0x00b7
|
|
.equ api_putxm = 0x00b9
|
|
.equ api_getxm = 0x00bb
|
|
.equ api_putsernl = 0x00bd
|
|
.equ api_putsernl2 = 0x00bf
|
|
.equ api_baud2 = 0x00c1
|
|
.equ api_hexline = 0x00c3
|
|
.equ api_plot = 0x00c5
|
|
.equ api_draw = 0x00c7
|
|
.equ api_box = 0x00c9
|
|
.equ api_fbox = 0x00cb
|
|
.equ api_circle = 0x00cd
|
|
.equ api_fcircle = 0x00d1
|
|
.equ api_bcopy1 = 0x00d5
|
|
.equ api_bcopy2 = 0x00d7
|
|
.equ api_bcopy3 = 0x00d9
|
|
.equ api_menu = 0x00db
|
|
.equ api_drawmenu = 0x00dd
|
|
.equ api_alert = 0x00df
|
|
.equ api_ask = 0x00e1
|
|
.equ api_alertthis = 0x00e3
|
|
.equ api_askthis = 0x00e5
|
|
.equ api_alert_nb = 0x00e7
|
|
.equ api_ask_nb = 0x00e9
|
|
.equ api_alertthis_nb = 0x00eb
|
|
.equ api_askthis_nb = 0x00ed
|
|
.equ api_wbox = 0x00ef
|
|
.equ api_whbox = 0x00f1
|
|
.equ api_saywrite = 0x00f3
|
|
.equ api_saytransfer = 0x00f5
|
|
.equ api_note = 0x00f7
|
|
.equ api_setvolume = 0x00f9
|
|
.equ api_startseq = 0x00fb
|
|
.equ api_setseq = 0x00fd
|
|
.equ api_getseq = 0x00ff
|
|
.equ api_i2c_read = 0x0101
|
|
.equ api_i2c_write = 0x0103
|
|
.equ api_i2c_start = 0x0105
|
|
.equ api_i2c_stop = 0x0107
|
|
.equ api_i2c_rbyte = 0x0109
|
|
.equ api_i2c_rbyten = 0x010b
|
|
.equ api_i2c_wbyte = 0x010d
|
|
.equ api_i2c_rlm75 = 0x010f
|
|
.equ api_eep_read = 0x0111
|
|
.equ api_eep_write = 0x0113
|
|
.equ api_abs = 0x0115
|
|
.equ api_add = 0x0117
|
|
.equ api_sub = 0x0119
|
|
.equ api_mul = 0x011b
|
|
.equ api_div = 0x011d
|
|
.equ api_sin = 0x011f
|
|
.equ api_cos = 0x0121
|
|
.equ api_eq = 0x0123
|
|
.equ api_lt = 0x0125
|
|
.equ api_gt = 0x0127
|
|
.equ api_sqr = 0x0129
|
|
.equ api_rnd = 0x012b
|
|
.equ api_adc = 0x012d
|
|
.equ api_dbit = 0x012f
|
|
.equ api_fs_create = 0x0131
|
|
.equ api_fs_delete = 0x0135
|
|
.equ api_fs_read = 0x0139
|
|
.equ api_fs_write = 0x013d
|
|
.equ api_fs_cfree = 0x0141
|
|
.equ api_fs_size = 0x0143
|
|
.equ api_fs_checkf = 0x0145
|
|
.equ api_fs_gettype = 0x0147
|
|
.equ api_fs_rread = 0x014b
|
|
.equ api_fs_rwrite = 0x014e
|
|
.equ api_fs_fsize = 0x0151
|
|
.equ api_fs_ffind = 0x0153
|
|
.equ api_fs_fsel = 0x0155
|
|
.equ api_fs_fsel_nb = 0x0157
|
|
.equ api_fs_check = 0x0159
|
|
.equ api_copychar4 = 0x015b
|
|
.equ api_copychar6 = 0x015d
|
|
.equ api_basrun = 0x015f
|
|
.equ api_exparser = 0x0161
|
|
.equ api_tparser = 0x0163
|
|
.equ api_lfind = 0x0165
|
|
.equ api_lcall = 0x0167
|
|
.equ api_preceive = 0x0169
|
|
.equ api_psend = 0x016b
|
|
.equ api_wpage = 0x016d
|
|
.equ api_arrview = 0x016f
|
|
.equ api_extsearch = 0x0171
|
|
.equ api_extdisable = 0x0173
|
|
.equ api_basgetpar = 0x0175
|
|
.equ api_basgetvar = 0x0177
|
|
.equ api_vm0line = 0x0179
|
|
.equ api_vm0cls = 0x017d
|
|
.equ api_vm0char = 0x0180
|
|
.equ api_vm0gotoxy = 0x0184
|
|
.equ api_vm0plot = 0x0186
|
|
.equ api_vm0newline = 0x0188
|
|
.equ api_sbackup = 0x018c
|
|
.equ api_srestore = 0x018e
|
|
.equ api_screenshot = 0x0190
|
|
.equ api_aread = 0x0192
|
|
.equ api_awrite = 0x0194
|
|
.equ api_pageset = 0x0196
|
|
.equ api_pageget = 0x0199
|
|
.equ api_scale = 0x019c
|
|
.equ api_spisel = 0x019e
|
|
.equ api_spiunsel = 0x01a0
|
|
.equ api_spicomm = 0x01a2
|
|
.equ api_xmem_rb = 0x01a4
|
|
.equ api_xmem_rw = 0x01a6
|
|
.equ api_xmem_wb = 0x01a8
|
|
.equ api_xmem_ww = 0x01aa
|
|
.equ api_xmem_chk = 0x01ac
|
|
.equ api_xmem_clr = 0x01ae
|