How would I get the 256 colors as does the Quickbasic language. That compiler has screen 13 and has the 256 colors. What about powerbasic?
Announcement
Collapse
No announcement yet.
Getting 256 colors in PowerBasic
Collapse
X
-
I remember GRAV game written in Pascal/PBDOS used 256 colors even on PB side, and it ran smoothly on my 486SX25 laptop at the time.
You can download GRAV from here:
http://www.powerbasic.com/support/downloads/games.htm
Petr
Comment
-
IIRC (which I probably don't): The grey matter in my head seems to recall you can fill up some registers then use a CALL INTERRUPT to set colors.
It's been so long since I used PB/DOS, I may be confusing this with something else. Don't even have a clue as to where to begin looking for this.There are no atheists in a fox hole or the morning of a math test.
If my flag offends you, I'll help you pack.
Comment
-
-
-
You might want to look into VESA graphics modes, they allow high resolution and up
to 32-bit color modes. I wrote some routines several years back that could be useful.
you can download them here.
http://web.highland.net/~hhuffman/pbvesa.zip
have a look, they might be helpful
Comment
Comment