Continue to Site

Welcome to our site!

Electro Tech is an online community (with over 170,000 members) who enjoy talking about and building electronic circuits, projects and gadgets. To participate you need to register. Registration is free. Click here to register now.

  • Welcome to our site! Electro Tech is an online community (with over 170,000 members) who enjoy talking about and building electronic circuits, projects and gadgets. To participate you need to register. Registration is free. Click here to register now.

CRT Video Function BIOS Interrupts. int 10h

Status
Not open for further replies.

lord loh.

Member
I tried to set the video mode to 12h (640x480 VGA) and saw all distorted characters. I am using a 17" LCD Screen and my windows display properties refuses to go below 800x600 Is it possible to use 600x800 display from the native BIOS routines or diaplay 640x480 on an LCD?
 
If your Windows properties won't go below 800x600, it sounds likely that the monitor doesn't support that mode?. You can certainly use 800x600 from DOS, but you will probably have to write your own driver routines?, unless your compiler includes a suitable library for your specific card, or at least the mode it uses. The Borland compilers used to provide BGI's (Borland Graphics Engine) files which actually drove the video card.
 
Is this an assembly program running in DOS?

I've never had any problems with my 1280x1024 TFT monitor using lower resolutions; it works all the way down to 320x200!

Are you sure you're getting the assembler to recognise it as a hexadecimal number?

What assembler are you using?

Could you please post the source.

You can get Windows to go down to 640x480, in the settings panel click on advanced, under the adaptor section click on list all modes.

You could also try QBasic which can be downloaded from the MS website.

**broken link removed**

Run olddos.exe from a DOS box after using CD to change to the directory where you want to install it.

Try mode 12h by typing SCREEN 12 in the immediate box and pressing enter.
 
Depends on the monitor, some have better scaleing circuits than others and yours may not be able to scale from to that particular resolution. Need to check the manul for your monitor.
 
I don't believe that the monitor is the problem in this case. I think it's far more likely he isn't programming the graphics card correctly. If you try to get a modern TFT monitor to display a mode it doen't like its onscreen display will display an error message.
 
Sounds to me like the LCD monitor doesn't support the resolution properly. Have you tried it on a CRT monitor?
 
Status
Not open for further replies.

Latest threads

New Articles From Microcontroller Tips

Back
Top