flat assembler
Message board for the users of flat assembler.

Index > DOS > graphic mode switch without int

Author
Thread Post new topic Reply to topic
edfed



Joined: 20 Feb 2006
Posts: 4242
Location: 2018
edfed
one time, I've made a switch without interrupt.
it does works and wasn't really hard to code.
but i've lost this code and the documents who helps me to code.

have somebody a thing like that?
thanks.
Post 24 Nov 2007, 12:59
View user's profile Send private message Visit poster's website Reply with quote
DJ Mauretto



Joined: 14 Mar 2007
Posts: 464
Location: Rome,Italy
DJ Mauretto
i can help you Laughing
i can write code to switch any VGA standard graphic mode low level. Wink
Post 24 Nov 2007, 13:07
View user's profile Send private message Reply with quote
vid
Verbosity in development


Joined: 05 Sep 2003
Posts: 7105
Location: Slovakia
vid
By using VGA registers, you can only switch to ancient video modes. No purpose to do it now.
Post 24 Nov 2007, 13:43
View user's profile Send private message Visit poster's website AIM Address MSN Messenger ICQ Number Reply with quote
edfed



Joined: 20 Feb 2006
Posts: 4242
Location: 2018
edfed
DJ mauretto:
good! so please help me.
give me (and us) some code.
please please please please
VID:
i need to switch to all old VGA modes without bios int.
in PM there are no bios interrupts.
and an os do not need bios.
Post 24 Nov 2007, 13:54
View user's profile Send private message Visit poster's website Reply with quote
Dex4u



Joined: 08 Feb 2005
Posts: 1601
Location: web
Dex4u
You will fine all info you need here:
http://bos.asmhackers.net/docs/vga_without_bios/
Post 24 Nov 2007, 14:15
View user's profile Send private message Reply with quote
vid
Verbosity in development


Joined: 05 Sep 2003
Posts: 7105
Location: Slovakia
vid
Quote:
i need to switch to all old VGA modes without bios int.

what for?

Quote:
and an os do not need bios.

as long as it only supports 640x480, 16 colors, when no driver is installed.
Post 24 Nov 2007, 14:40
View user's profile Send private message Visit poster's website AIM Address MSN Messenger ICQ Number Reply with quote
f0dder



Joined: 19 Feb 2004
Posts: 3170
Location: Denmark
f0dder
[quote="vid"]
Quote:
i need to switch to all old VGA modes without bios i
Quote:
and an os do not need bios.

as long as it only supports 640x480, 16 colors, when no driver is installed.


And even then, you still need BIOS when loading your kernel Smile

Sure, you'll want to avoid BIOS as much as possible for performance reasons, but there's situations where you just can't avoid it.

_________________
Image - carpe noctem
Post 24 Nov 2007, 14:45
View user's profile Send private message Visit poster's website Reply with quote
DJ Mauretto



Joined: 14 Mar 2007
Posts: 464
Location: Rome,Italy
DJ Mauretto
Quote:
DJ mauretto:
good! so please help me.
give me (and us) some code.
please please please please


I tell you that i can help you (in my free time) but i must still write,i don't have nothing ready.If you urgency follow Dex4u link.
I don't like to copy other
Post 24 Nov 2007, 15:02
View user's profile Send private message Reply with quote
edfed



Joined: 20 Feb 2006
Posts: 4242
Location: 2018
edfed
i don't copy.
i always read the source, understand, and rewrite with my style.
see you later!
Post 24 Nov 2007, 18:12
View user's profile Send private message Visit poster's website Reply with quote
DJ Mauretto



Joined: 14 Mar 2007
Posts: 464
Location: Rome,Italy
DJ Mauretto
Quote:
i don't copy.

Are you Sensitive ?
I have not said that you copy, I said simply that I do not like copy and paste programs written by others.
You can start watching how about your Bios,learn about VGA register etc..
Note that online example aren't optimised ,you always get noise, and if you do not know how to act, the result will be ugly,it's better learn some VGA before
Wink
Post 24 Nov 2007, 19:51
View user's profile Send private message Reply with quote
System86



Joined: 15 Aug 2007
Posts: 77
System86
There is a lot of info on VGA registers here:
http://www.osdever.net/FreeVGA/vga/vga.htm
Post 22 Dec 2007, 18:06
View user's profile Send private message Reply with quote
rCX



Joined: 29 Jul 2007
Posts: 166
Location: Maryland, USA
rCX
Here's another one. It's little limited though...

http://www.programmersheaven.com/download/1866/download.aspx
Post 25 Dec 2007, 05:04
View user's profile Send private message Reply with quote
Display posts from previous:
Post new topic Reply to topic

Jump to:  


< Last Thread | Next Thread >
Forum Rules:
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum
You cannot attach files in this forum
You can download files in this forum


Copyright © 1999-2020, Tomasz Grysztar. Also on GitHub, YouTube, Twitter.

Website powered by rwasa.