O'Reilly logo

DarkBASIC Pro Game Programming, Second Edition by Joshua R. Smith, Jonathan S. Harbour

Stay ahead with the world's most comprehensive technology and business learning platform.

With Safari, you learn the way you learn best. Get unlimited access to videos, live online training, learning paths, books, tutorials, and more.

Start Free Trial

No credit card required

Display Mode Commands

DB includes a number of useful utility commands for retrieving a list of display modes supported by your video card. The default resolution that DB uses is 640×480×16, but there are many more display modes available, all the way up to the maximum resolution supported by your video card. This section shows you how to retrieve and use the list of display modes.

Reading and Setting the Display Modes

This section includes the commands for reading the list of display modes, as well as setting and checking them.

Getting the List of Available Video Modes

PERFORM CHECKLIST FOR DISPLAY MODES is a very long command, but it provides a useful list of the modes supported by your video card, filling in the CHECKLIST STRING$ array with ...

With Safari, you learn the way you learn best. Get unlimited access to videos, live online training, learning paths, books, interactive tutorials, and more.

Start Free Trial

No credit card required