xmgs


open()
starts to use xmgs

close()
quits to use xmgs

load(filename,address)
loads the binary file to the memory

bload(filename,address)
loads the binary file to the memory. Skips the top 7 bytes. 

play(address)
plays the mgs

stop()
stops the mgs

mag(filename,page)
load the mag file

mag_nopal(filename,page)
loads the mag file. not updates the screen palette.

vol(volume)
changes the volume 0-15

mm(src address,dest address,length)
copies RAM to RAM

mv(src address,dest vram address,length,bank)
copies RAM to VRAM

vm(src vram address,dest address,length,bank)
copies VRAM to RAM

back