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 > Unix > coding for dos under freebsd

Author
Thread Post new topic Reply to topic
kb_08h



Joined: 03 Nov 2005
Posts: 12
Location: Ukraine
coding for dos under freebsd
May be it's a stupid idea, but I prefer to work under freebsd. Is it possible to write programs for dos in freebsd? I tried to use dosbox and fasm for dos, but it doesn't work ('processor not able to enter real 32-bit bit'). Thank you.

;p.s.: sorry for my english

_________________
{D is for demoscene}
Post 05 Dec 2005, 07:30
View user's profile Send private message ICQ Number Reply with quote
vid
Verbosity in development


Joined: 05 Sep 2003
Posts: 7110
Location: Slovakia
you have to use FASM version for FreeBSD. IN it you can code for any platform you wish.
Post 05 Dec 2005, 10:13
View user's profile Send private message Visit poster's website AIM Address MSN Messenger ICQ Number Reply with quote
rugxulo



Joined: 09 Aug 2005
Posts: 1953
Location: Usono (aka, USA)
DOSbox 0.63 will work (although I only tried it on Win XP Home SP2). You'll have to use FASM.COM (from older version 1.45).

However, FASM 1.50 (now in .EXE format) actually causes DOSbox to quietly exit. FASM 1.64's .EXE won't work either and will report the error you mentioned above (without exiting).

Ask Privalov if you really want to know why newer versions won't work (unreal mode vs. flat real ???). Confused

P.S. You may enjoy booting FreeDOS Odin 0.72 instead ("One Disk INstaller," 1.44 floppy image).
Post 31 Dec 2005, 21:52
View user's profile Send private message Visit poster's website Reply with quote
Tomasz Grysztar
Assembly Artist


Joined: 16 Jun 2003
Posts: 5434
Location: Kraków, Poland
Read the http://board.flatassembler.net/topic.php?t=3946 and also my post in the other thread it links to. Hope it explains the issue. Wink
Post 01 Jan 2006, 10:44
View user's profile Send private message Visit poster's website Reply with quote
rugxulo



Joined: 09 Aug 2005
Posts: 1953
Location: Usono (aka, USA)
I read all that before recently, and it's still very confusing. I'm not quite, er, up to snuff on all that techie stuff. Anyways, I was wrong, I forgot that you can run cwsdpmi to enable DPMI for one program, then run the latest fasm (1.65.2), and it'll work in DOSbox 0.63. I just tried it, and it does work.
Post 03 Jan 2006, 00:51
View user's profile Send private message Visit poster's website 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 cannot download files in this forum


Powered by phpBB © 2001-2005 phpBB Group.

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