flat assembler
Message board for the users of flat assembler.

Index > DOS > VESA and WDosX?

Author
Thread Post new topic Reply to topic
casey



Joined: 18 Aug 2005
Posts: 35
casey 06 Sep 2005, 04:05
So DOS is still used by some?

Last time I used DOS, 6 years ago, I was using
something called WDOSX with NASM which made it
easy to make full use of the PCs memory and the
32 bit instruction set. I don't know if it
would work with FASM?

The other problem I had with DOS was the lack of
a decent explanation or full working example of
using VESA to access the higher resolution and
high colour screen modes.

John
Post 06 Sep 2005, 04:05
View user's profile Send private message Reply with quote
Kevin_Zheng



Joined: 04 Jul 2003
Posts: 125
Location: China
Kevin_Zheng 06 Sep 2005, 08:12
Hi,Casey:
Please see below web link:
http://board.flatassembler.net/topic.php?t=4021

We can combine fasm and djgpp (Ver2.03) together. So you access 4G memory on DOS platform and you can use all of C library on djgpp. Of course, you can use allegro graphics library supported VESA driver.

Kevin Zheng
Post 06 Sep 2005, 08:12
View user's profile Send private message MSN Messenger Reply with quote
rugxulo



Joined: 09 Aug 2005
Posts: 2341
Location: Usono (aka, USA)
rugxulo 09 Sep 2005, 13:05
Probably flat binary but not via RDOFF. Anyways, WDOSX doesn't support NASM 0.98.39's latest variant of RDOFF 2 (but NASM 0.98, DJGPP version, seems to work). Also, NASM 0.97 works too (RDOFF 1). Strangely enough, NASM 0.98 (DJGPP) has both -rdf (older RDF 2) and -oldrdf (RDF 1.1) switches. I don't think WDOSX is supported by its author anymore. At least sources are included!

casey wrote:
So DOS is still used by some?

Last time I used DOS, 6 years ago, I was using
something called WDOSX with NASM which made it
easy to make full use of the PCs memory and the
32 bit instruction set. I don't know if it
would work with FASM?

John


Last edited by rugxulo on 20 Feb 2006, 20:17; edited 1 time in total
Post 09 Sep 2005, 13:05
View user's profile Send private message Visit poster's website Reply with quote
f0dder



Joined: 19 Feb 2004
Posts: 3175
Location: Denmark
f0dder 09 Sep 2005, 15:58
VC2003 with PE output (remember the linker switch /fixed:no) + WDOSX. Nice combination.
Post 09 Sep 2005, 15:58
View user's profile Send private message Visit poster's website Reply with quote
El Tangas



Joined: 11 Oct 2003
Posts: 120
Location: Sunset Empire
El Tangas 10 Sep 2005, 19:22
Fasm and wdosx work well together, just tell fasm to output PE format, but keep in mind that wdosx is a bit picky with the PE files it can use, you may have to increase heap space and always add a fixup section.
Post 10 Sep 2005, 19:22
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.