flat assembler
Message board for the users of flat assembler.

Index > DOS > Protected mode

Author
Thread Post new topic Reply to topic
MajorDill



Joined: 01 Nov 2010
Posts: 22
MajorDill 14 Jan 2016, 04:17
I am trying to compile a 16-bit COM file in FreeDOS and I keep getting "System is in protected mode without 32-bit DPMI etc". The program is TinyBASIC from some ftp site. I'm just looking for the most likely causes...not necessarily someone to debug it. I will however post the code if all else fails.
Post 14 Jan 2016, 04:17
View user's profile Send private message Reply with quote
Tomasz Grysztar



Joined: 16 Jun 2003
Posts: 8358
Location: Kraków, Poland
Tomasz Grysztar 14 Jan 2016, 15:26
fasm is not able to run in V86 mode DOS unless there are DPMI services available. A simplest option to provide DPMI when you have none is to download CWSDPMI and load it before starting fasm. You can find more information in the thread about running fasmd in DOSBox.
Post 14 Jan 2016, 15:26
View user's profile Send private message Visit poster's website Reply with quote
MajorDill



Joined: 01 Nov 2010
Posts: 22
MajorDill 14 Jan 2016, 19:42
That worked...thanks
Post 14 Jan 2016, 19:42
View user's profile Send private message Reply with quote
ACP



Joined: 23 Sep 2006
Posts: 204
ACP 14 Jan 2016, 21:17
As far as FreeDOS is concern you may like to check out HX dos extender https://web.archive.org/web/20141013114801/http://www.japheth.de/HX.html

it comes with 16 and 32 bit DPMI host. This comes from the author of Jmmem http://freedos.sourceforge.net/software/?prog=jemm386

default FreeDOS memory manager. Both tools work nicely together. On the other hand DosBox is probably more convenient as long as you don't want to use complex debugging tools like SoftICE. FreeDOS has support for VMWare shared folders but I've never tested this feature.
Post 14 Jan 2016, 21: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-2025, Tomasz Grysztar. Also on GitHub, YouTube.

Website powered by rwasa.