Google Groups no longer supports new Usenet posts or subscriptions. Historical content remains viewable.
Dismiss

How do i get in 640x480x256 mode?

0 views
Skip to first unread message

William Smith

unread,
Jan 5, 1998, 3:00:00 AM1/5/98
to

I am wanting to get into 640x480x256 graphics mode. As far as I
know there are two ways to do it, but I dont have the assembler
source. First there is ModeX, but with a little tweaking (this i
think is actually 640x400) but ive also heard that in mode 12h
(640x480x16) it is possible to increase the amount of colours
used. How? If anyone has the code then great.

-=> Hackrat <=-

--
-= Will =-
The crazy loon from the squat bbs

Boo Khan Ming

unread,
Jan 13, 1998, 3:00:00 AM1/13/98
to

Try VESA mode function calls via INT10h (on SVGA only).
Please make sure you check for VESA support before using the code.
For the requested 640x480x256, use following code

----------------------------------------------------------------------------
-
var reg:registers;

begin
reg.ax:=$4f02;
reg.bx:=$100; { 640x480x256 }
Intr($10,reg)
end;
----------------------------------------------------------------------------
--

I am not using this mode for my graphic application since it required page
addressing technique. Instead, a more direct way of 320x200x256 is enough
for me.

Please email to bo...@tm.net.my tell me how you going.

Boo Khan Ming


William Smith <1003...@CompuServe.COM> wrote in message
<#xh$uRhG9...@nih2naab.prod2.compuserve.com>...

$c0rpi0n

unread,
Jan 13, 1998, 3:00:00 AM1/13/98
to

Find PCGPE on the internet and download it (about 1 MB). This contains
various tutorial files, also on graphics and VESA.

$c0rpi0n.

Boo Khan Ming wrote in message <69dlrs$a9v$1...@news.tm.net.my>...

B.V. van Gaalen

unread,
Jan 15, 1998, 3:00:00 AM1/15/98
to

William Smith <1003...@CompuServe.COM> wrote in article
<#xh$uRhG9...@nih2naab.prod2.compuserve.com>...

> I am wanting to get into 640x480x256 graphics mode. As far as I
> know there are two ways to do it, but I dont have the assembler
> source. First there is ModeX, but with a little tweaking (this i
> think is actually 640x400)

Technically it is indeed possible to access 640x400x256 in ModeX.
640x480x256 doesn't fit in the standard 256kb memory, so for that mode you
need something like VESA - the code is already posted.

>but ive also heard that in mode 12h
> (640x480x16) it is possible to increase the amount of colours
> used. How? If anyone has the code then great.

Forget it! :)

--
Bas van Gaalen,
b...@il.fontys.nl.NOSPAM (e-mail - remove 'NOSPAM')
http://www.il.fontys.nl/~bas (homepage)


0 new messages