flat assembler
Message board for the users of flat assembler.

Index > Unix > coding for dos under freebsd

Author
Thread Post new topic Reply to topic
kb_08h



Joined: 03 Nov 2005
Posts: 12
Location: Ukraine
kb_08h 05 Dec 2005, 07:30
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: 7105
Location: Slovakia
vid 05 Dec 2005, 10:13
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: 2341
Location: Usono (aka, USA)
rugxulo 31 Dec 2005, 21:52
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



Joined: 16 Jun 2003
Posts: 8353
Location: Kraków, Poland
Tomasz Grysztar 01 Jan 2006, 10:44
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: 2341
Location: Usono (aka, USA)
rugxulo 03 Jan 2006, 00:51
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 can download files in this forum


Copyright © 1999-2024, Tomasz Grysztar. Also on GitHub, YouTube.

Website powered by rwasa.