Discussion Locked

Qbasic

0 helpful
9 replies
Closed to new repliesThis discussion is closed. It stays readable, but it takes no new replies.
How do I get 256 colors at 640X480 resolution WITHOUT the use of Call Interrupt? better yet, how do I do it without the use of call absolute as well?

9 replies

by craig shepherd

The previous answer was on the right track.

Run this little program and have a look at the help file. It has all the Screen definitions in there.
If not I can email it to you.

SCREEN 13

DIM Counter AS INTEGER

FOR Counter = 1 TO 256 LINE (0 + Counter, 80)-(0 + Counter, 100), Counter
NEXT

by mohammad_m_saggaf

When I refrenced to QBasic 4.5 help. I found in Palette statement details that the only screen sitting that can give you a 256 colors is Screen 13 which is 320 * 240.
So I think you'll never get a resolution of 640 * 480 with 256 colors. Check thatby yourself.

I hope I helped.
and Good luck. :-)

by mike (from canada)

by the way, This isnt referenced in help. I know that some programs written by Qbasic are at 256 colors at 640*480 resolution or better.

This discussion is closed to new replies.