Following the trend, Lets use this thread to discuss about V9990 (GFX-9000/Video9000/Powergraph) programming.
Login or register to post comments
Following the trend, Lets use this thread to discuss about V9990 (GFX-9000/Video9000/Powergraph) programming.
I often considered to give it a try, as there is supposed to be a powerful form of BASIC to command it? Still, I never crossed the barrier, if you know what I mean. I think that a nice tutorial would inspire people to try something with it. Maybe such a thing already exists and I missed it?
Like +1
Yes JohnHassink, the powerful form of Basic is called Powerbasic (ironically) and right now is only useful on turbo-R since the msx2 version is not stable.
You can find the powerbasic files here:
You can see a description of the commands here:
http://msxbanzai.tni.nl/v9990/powerbasic.html
You can find technical documentation here:
http://www.faq.msxnet.org/gfx9000.html
I am using this video as a tutorial to learn powerbasic:
https://www.youtube.com/watch?v=LNyfkCnyQXg
Unfortunatelly, I have to copy the code from the video itself since I do not have the demo itself.
I see Manuel was the one who posted this video, so perhaps manuel has the demo and can share it with us?
Thanks for the precious information, Kai Magazine!
You are welcome
By the way, I just discovered 10 minutes ago, that gbasic (another gfx9000 basic, but without turbo basic (AKA xbasic or basic kun), so it is extremelly slow, but msx2 compatible) can coexist with the regular version of turbobasic!!
Offcourse regular turbobasic cannot handle the gfx9000 sintaxis (or anything gfx9000 related) but this means that we can handle the main gfx9000 operations easily outside of the turboblock, and we can handle the graphic operations within the turbo block using vdp commands, out, vpoke...
Now we have to find what set of vdp, out and vpoke to use to do the regular graphic operations we want to use inside a turbo block: copy, put sprite, set scroll, set page.
With only this 4 instructions we can start working big time, so things are looking better!
@Kai, Did you tried GBASIC + "plain" XBASIC?
I did not try until a copule of hours ago. I did not know those 2 can coexist together.
My plan was to use xbasic + normal basic + outs to initialize the gfx9000 and do all the graphic operations because I assumed gbasic and xbasic would not be compatible, but since gbasic does not use Call commands, there are no conflicts. Amazing. This simplifies the developement for z80 + gfx9000
After this, I offcourse attempted to load xbasic gfx9000 version (just the xbasic.bin, without the other 2 files) but the computer resets, probably because that xbasic is designed to be loaded just the way it is used in the LDR file attached, but that way only works on Turbo-r.
I wonder if it would be too difficult to modify that gfx9000 xbasic so it can be loaded as the regular xbasic?
This way, we could have a gfx9000 xbasic within gbasic. Perfect for z80!
I also see that, loading the full powerbasic on a turbo-r leaves 18k free of basic memory.
But loading gbasic and regular xbasic leaves 25k of free basic!
so it would be EVEN BETTER to be able to use gbasic + xbasic GFX9K instead of powerbasic since those 7 k are very much needed when coding in xbasic...
Don't you have an account yet? Become an MSX-friend and register an account!