flat assembler
Message board for the users of flat assembler.

Index > DOS > Doing graphics in a DOS window, is it possible?

Author
Thread Post new topic Reply to topic
bougainville



Joined: 27 Mar 2006
Posts: 8
bougainville 29 Mar 2006, 10:54
Another silly question - is it easily possible to do graphics, i.e. pixels and lines etc, in a Window size DOS 'box' from within Windows? It seems to be limited to text only.
Post 29 Mar 2006, 10:54
View user's profile Send private message Reply with quote
vid
Verbosity in development


Joined: 05 Sep 2003
Posts: 7105
Location: Slovakia
vid 29 Mar 2006, 11:05
yes, just like you would in DOS. Only problem is with VESA linear frambuffer, it reports it is supported but fails when you try ti use it, that's why most DOS games crash under windows.
Post 29 Mar 2006, 11:05
View user's profile Send private message Visit poster's website AIM Address MSN Messenger ICQ Number Reply with quote
relsoft



Joined: 03 Apr 2006
Posts: 29
relsoft 03 Apr 2006, 14:12
The rules I follow are:

1. Never use VESA
2. 13h seems to work well
4. Ditch EMS(mostly your board's fault not windows) and use XMS.
Post 03 Apr 2006, 14:12
View user's profile Send private message Reply with quote
Matrix



Joined: 04 Sep 2004
Posts: 1166
Location: Overflow
Matrix 04 Apr 2006, 07:16
relsoft wrote:
The rules I follow are:

1. Never use VESA
2. 13h seems to work well
4. Ditch EMS(mostly your board's fault not windows) and use XMS.


i have tested vesa putpixel under w98 wxp and worked fine Wink

VESA is faster!

its the lfb that can cause problems...
Post 04 Apr 2006, 07:16
View user's profile Send private message Visit poster's website Reply with quote
Tomasz Grysztar



Joined: 16 Jun 2003
Posts: 8357
Location: Kraków, Poland
Tomasz Grysztar 04 Apr 2006, 08:01
Perhaps the problem is in accessing the physical address to VESA framebuffer? What if you allocate the LDT descriptor (with DPMI) and map it to that address? I have to try, when I have some time...
Post 04 Apr 2006, 08:01
View user's profile Send private message Visit poster's website Reply with quote
bougainville



Joined: 27 Mar 2006
Posts: 8
bougainville 06 Apr 2006, 10:17
YES! Please do get some time! Very Happy
Post 06 Apr 2006, 10:17
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-2024, Tomasz Grysztar. Also on GitHub, YouTube.

Website powered by rwasa.