flat assembler
Message board for the users of flat assembler.

Index > DOS > VESA\SVGA Application examples

Author
Thread Post new topic Reply to topic
me239



Joined: 06 Jan 2011
Posts: 200
me239 27 Aug 2011, 01:27
Hey everyone, I was just wondering if anyone had any examples of full screen 16m color (or 256 color) realmode SVGA applications. I can't seem to find any. Thanks Smile
Post 27 Aug 2011, 01:27
View user's profile Send private message Reply with quote
Stephen



Joined: 13 Aug 2011
Posts: 30
Stephen 27 Aug 2011, 01:45
Do a search for demoscene. Tons of small programs that do all kinds of interesting things with video and sound. A huge number are written in asm. A lot of it's in dos and a lot are boot disks
Post 27 Aug 2011, 01:45
View user's profile Send private message Visit poster's website Reply with quote
typedef



Joined: 25 Jul 2010
Posts: 2893
Location: 0x77760000
typedef 27 Aug 2011, 02:11
Huuuge Google link

I did a search on Google ("16 bit VESA assembly") an I found this: http://www.astahost.com/info.php/Vesa-Programming_t3849.html

and this: http://www.astahost.com/VESA-Programming-t3849.html&p=49359#entry49359

and this: http://www.daniweb.com/software-development/assembly/threads/359724

Something to look at also: http://en.wikipedia.org/wiki/VBE

Or ask mbr_str ? Very Happy

EDIT by DOS386 : fixed absurdly long link (broken anyway ???)
Post 27 Aug 2011, 02:11
View user's profile Send private message Reply with quote
DOS386



Joined: 08 Dec 2006
Posts: 1904
DOS386 07 Sep 2011, 09:59
me239 wrote:
Hey everyone, I was just wondering if anyone had any examples of full screen 16m color (or 256 color) realmode SVGA applications. I can't seem to find any.


0. I haven't seen any unfull screen in DOS yet Very Happy

1. You did read the FAQ on the top ?

2. http://board.flatassembler.net/topic.php?t=9738

3. If you want to stay in RM then you need BS ... no access to the LFB Sad

4. Don't use hardcoded fixed mode numbers, do search (except if VESA is < 2.0 maybe), see [2.]

5. Don't use only too high resolutions (support down to 800x600 at least, better 640x480 too)

6. Support both 32bpp and 24bpp (most VESA's don't have both)

_________________
Bug Nr.: 12345

Title: Hello World program compiles to 100 KB !!!

Status: Closed: NOT a Bug
Post 07 Sep 2011, 09:59
View user's profile Send private message Reply with quote
Dex4u



Joined: 08 Feb 2005
Posts: 1601
Location: web
Dex4u 11 Sep 2011, 22:30
Post 11 Sep 2011, 22:30
View user's profile Send private message Reply with quote
freecrac



Joined: 19 Oct 2011
Posts: 117
Location: Germany Hamburg
freecrac 19 Oct 2011, 11:53
typedef wrote:
I did a search on Google ("16 bit VESA assembly") an I found this: http://www.astahost.com/info.php/Vesa-Programming_t3849.html

and this: http://www.astahost.com/VESA-Programming-t3849.html&p=49359#entry49359

Oh, there are also my postings.

Dirk
Post 19 Oct 2011, 11:53
View user's profile Send private message Send e-mail Reply with quote
freecrac



Joined: 19 Oct 2011
Posts: 117
Location: Germany Hamburg
freecrac 19 Oct 2011, 12:23
DOS386 wrote:

2. http://board.flatassembler.net/topic.php?t=9738

3. If you want to stay in RM then you need BS ... no access to the LFB Sad

I use the 16 bit unrealmode instead.

Quote:

5. Don't use only too high resolutions (support down to 800x600 at least, better 640x480 too)

The native resolution of my 28" lcd is 1920x1200 and all other resolutions will be interpolated and result an unsharp view. So i am glad that my colorfull gtx 295 video card provide this resolution in the vesa modelist.

Quote:
6. Support both 32bpp and 24bpp (most VESA's don't have both)

I do not like 24 bit modi and i can not understand why this modi exist on modern video cards and why those modi in use today. This make only sense on very old video cards with less video ram below 4 mib.

Dirk
Post 19 Oct 2011, 12:23
View user's profile Send private message Send e-mail Reply with quote
freecrac



Joined: 19 Oct 2011
Posts: 117
Location: Germany Hamburg
freecrac 19 Oct 2011, 12:26

Instead of using Vesa function 4f05h we can use a far call to the bankswitching-routine.

Dirk
Post 19 Oct 2011, 12:26
View user's profile Send private message Send e-mail 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-2025, Tomasz Grysztar. Also on GitHub, YouTube.

Website powered by rwasa.