MSX
References
- http://map.grauw.nl/resources/msxbios.php
- http://map.grauw.nl/resources/subrom.php
- http://map.grauw.nl/resources/msxsystemvars.php
- http://www.konamiman.com/msx/msx2th/th-ap.txt
- http://www.angelfire.com/art2/unicorndreams/msx/RR-RAM.html
- http://www.konamiman.com/msx/msx2th/kunbasic.txt
- http://www.konamiman.com/msx/msx-e.html#nestorbasic
- http://www.faq.msxnet.org/gfx9000.html
- http://www.teambomba.net/gfx9klib.html
- http://msxbanzai.tni.nl/v9990/manual.html
- http://www.faq.msxnet.org/suffix.html
- http://www.gamecastentertainment.com/forum/viewtopic.php?f=3&t=18#p53 (z80 asm code for accessing screen modes)
Library
for now, this is merelly about a small sketch of the msx1/2 (also 2+) msx-basic command used, and their z80 assembly similars - they are not accuraced and may need fixes and improvements.
- cls - cls sub msxcolor(v_ink as ubyte, v_paper as ubyte, v_border as ubyte): poke $F3E9,v_ink poke $F3EA,v_paper poke $F3EB,v_border end sub
```* vpoke
```* screen - screen v_screenmode,v_spritemode,v_click,v_printflag,v_?,v_?,v_?,v_?,v_?,v_?
``` sprite$ - sprite$(v_spriteindex)=s_spritebitpmap$ vpoke (0x1B00+(v_id4)+0 ),v_y vpoke (0x1B00+(v_id4)+1 ),v_x vpoke (0x1B00+(v_id4)+2 ),v_layer vpoke (0x1B00+(v_id*4)+3 ),v_colour
```* cls (msx2) - cls
```* palette (gfx9000)
* vpoke (gfx9000)
sub msxgfx9kvpoke(tadr as udouble, tvl as ubyte):
'- this code seems not acuraced yet
out $64,0
tvou=tadr band 255:tvou=int(tvou/256)
out $63,tvou
tvou=tadr band 255:tvou=int(tvou/256)
out $63,tvou
tvou=tadr band 255:tvou=int(tvou/256)
out $63,tvou
out $60,tvl
end sub