bios
screen(screen number)changes the screen mode
color(text color,background color,border color)changes the screen color
keyon()displays the function key text
keyoff()disibles the function key text
vpoke(VRAM address,value)writes the value to VRAM
vpeek(VRAM address)reads the value from VRAM
cls()clear the current screen
stick(kind)gets the keyboard or the joystick direction
strig(kind)gets the status of the space key or the buttons
kilbuf()deletes the key buffer
ldirvm(src pointer,VRAM address,length)copies RAM to VRAM
copy(dst pointer,src pointer,length)copies RAM to RAM
sound(register,value)writes the value to the psg
rslreg()reads the primary slot register
enaslt(slot num)switches indicated slot at indicated page on perpetual
chgToRam1()changes page 1 to RAM. usable on DISK-BASIC.
chgToRom1()changes page 1 to MAIN-ROM
rdslt(address,slot num)reads the value from the address in another slot
wrslt(address,slot num,value)writes the value to the address in another slot
getkey(value)gets the key status
ldirmv(VRAM address,destination pointer,length)copies VRAM to RAM
filvrm(VRAM address,value,length)fills VRAM with the value
print(x,y,string)prints text
cliksw(value)switches key click sound
ldir(destination pointer,length)fills 0
ldir(destination pointer,length,val)fills any value
disscr()disables the screen
enascr()enables the screen
width(width)sets width of screen
vdp(port,value)writes the value to vdp
vdp(port)read the value from vdp
basic(basic statement)executes MSX-BASIC statement
When this function is used, The stack values will disappear. It can not be used outside the main function.
scrolldown(destination pointer,length)scrolls text
call(command)executes call command in msx-basic
calbas(param str,basic command type)call calbas
vsync(param str,basic command type)gets vsync 0:60hz 128:50hz
freearea()gets freearea address of MSX-BASIC
info(strings)prints text in screen 0~1
chgcpu(mode)changes the cpu mode. #80=Z80,#81=R800 ROM,#82=R800 DRAM
back