: Hello : : I just want to know how can i star a video mode, without using any interruption (under DOS)... : : Let's say i want to be able to star high resolution modes, like 640x480x32 : : I hope you can help me : : :
I pure assembly it doesnt look that messy: [code] mov ah,4fh ;VESA functions mov al,2 ;Set screen mode mov bx,112h;the number for 640*480*24 int 10h [/code] Here is a list of the available screen modes: http://www.oberon.ethz.ch/vesainfo.html
Nowadays, VESA is a widely used standard, so it wouldnt hurt to use it. You should look for VESA tutorials to find out about the other functions like bank swapping, double buffering etc. Good luck!
[b][red]This message was edited by XLoom at 2006-3-8 9:22:29[/red][/b][hr] If you don't want interrupts, you need to use ports. Check out functions inportb and outportb.
: Hello : : : Well i don't want to use VESA, i want to start a graphic mode by myself.... Without BIOS INterruptions : : : : Linux does it... or thats what somebody told me.... : : Where can i get the source code that does it??? : : : Thank you : : : Juan :
Comments
:
: I just want to know how can i star a video mode, without using any interruption (under DOS)...
:
: Let's say i want to be able to star high resolution modes, like 640x480x32
:
: I hope you can help me
:
:
:
I would use VESA. I have a bit of experience with it, so I think I might be able to help you. What language are you using?
Here is a page where they do it in C:
http://www.inversereality.org/tutorials/graphics programming/videomodesVESA.html
I pure assembly it doesnt look that messy:
[code]
mov ah,4fh ;VESA functions
mov al,2 ;Set screen mode
mov bx,112h;the number for 640*480*24
int 10h
[/code]
Here is a list of the available screen modes:
http://www.oberon.ethz.ch/vesainfo.html
Nowadays, VESA is a widely used standard, so it wouldnt hurt to use it. You should look for VESA tutorials to find out about the other functions like bank swapping, double buffering etc.
Good luck!
Well i don't want to use VESA, i want to start a graphic mode by myself.... Without BIOS INterruptions
Linux does it... or thats what somebody told me....
Where can i get the source code that does it???
Thank you
Juan
If you don't want interrupts, you need to use ports. Check out functions inportb and outportb.
I think this place has an example http://my.execpc.com/~geezer/osd/graphics/modes.c
: Hello
:
:
: Well i don't want to use VESA, i want to start a graphic mode by myself.... Without BIOS INterruptions
:
:
:
: Linux does it... or thats what somebody told me....
:
: Where can i get the source code that does it???
:
:
: Thank you
:
:
: Juan
: