flat assembler
Message board for the users of flat assembler.
 Home   FAQ   Search   Register 
 Profile   Log in to check your private messages   Log in 
flat assembler > DOS > Protected mode

Author
Thread Post new topic Reply to topic
MajorDill



Joined: 01 Nov 2010
Posts: 16
Protected mode
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
Assembly Artist


Joined: 16 Jun 2003
Posts: 6179
Location: Kraków, Poland
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: 16
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: 196
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


Powered by phpBB © 2001-2005 phpBB Group.

Main index   Download   Documentation   Examples   Message board
Copyright © 2004-2016, Tomasz Grysztar.