Log In

Come Join Us!

Are you a
Computer / IT professional?
Join Tek-Tips Forums!
  • Talk With Other Members
  • Be Notified Of Responses
    To Your Posts
  • Keyword Search
  • One-Click Access To Your
    Favorite Forums
  • Automated Signatures
    On Your Posts
  • Best Of All, It's Free!

*Tek-Tips's functionality depends on members receiving e-mail. By joining you are opting in to receive e-mail.

Posting Guidelines

Promoting, selling, recruiting, coursework and thesis posting is forbidden.

Students Click Here

Screen resolution mode

Screen resolution mode

Screen resolution mode

Hi. Does anyone know the procedure for changing the screens resolution to 800x600 and 16 bit colour? I am using nasm for windows in 32 bit mode. The max I can get at the mo is 320x160 at 8 bit using:

MOV   AH, 00H
MOV   AL, 13H
INT   10H

Many thanks in advance.

ASCII silly question, get a silly ANSI

RE: Screen resolution mode

That's mode 6ah in the VESA specifications.  Unfortunately you need to be sure you have a VESA BIOS before 6ah can be enabled using the Classic video mode set interrupt.  I forgot the VESA mode for that resolution, however.

Note that there are in fact two set video mode interrupts, one of them is the Classic Mode Set, which you have, and the VESA Extended Mode Set, whose number I also forgot.  Anyway, you can search for it in Ralph Brown's Interrupt List, which also includes a table of standard VESA resolutions.

Note that setting the screen mode is only one step in graphical programming.

"Information has a tendency to be free.  Which means someone will always tell you something you don't want to know."

RE: Screen resolution mode

Thanks guys. Much appreciated

ASCII silly question, get a silly ANSI

Red Flag This Post

Please let us know here why this post is inappropriate. Reasons such as off-topic, duplicates, flames, illegal, vulgar, or students posting their homework.

Red Flag Submitted

Thank you for helping keep Tek-Tips Forums free from inappropriate posts.
The Tek-Tips staff will check this out and take appropriate action.

Reply To This Thread

Posting in the Tek-Tips forums is a member-only feature.

Click Here to join Tek-Tips and talk with other members! Already a Member? Login

Close Box

Join Tek-Tips® Today!

Join your peers on the Internet's largest technical computer professional community.
It's easy to join and it's free.

Here's Why Members Love Tek-Tips Forums:

Register now while it's still free!

Already a member? Close this window and log in.

Join Us             Close