flat assembler
Message board for the users of flat assembler.

Index > DOS > Novis question: How do I make it to compile ?????

Author
Thread Post new topic Reply to topic
samtal



Joined: 22 Nov 2007
Posts: 1
Location: Israel
samtal
Novis question (Novis? last used assembler 30 years back!).

I run the DOS FASMD.EXE from the command line on an XP and on Win98 computers.
Testing on my proven assenbler program does not compile. It simply opens the assembler and stays at the first line.

I tried the same with the flat demo (COMDEMO.ASM) and got the same.
On a DOS computer it lacks the 32-DPMI service.

What am I doing wrong???

sam
Post 22 Nov 2007, 15:15
View user's profile Send private message Reply with quote
edfed



Joined: 20 Feb 2006
Posts: 4242
Location: 2018
edfed
fasm source.??? destination.???

it's not so hard

or use the fasmW ide for windows.
Post 22 Nov 2007, 15:46
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
FASMD is the DOS IDE (editor + assembler in one). You have to open the file (F4) you wish to assemble (Ctrl+F9) first if you didn't specify it on the cmdline. Otherwise, just run normal FASM to assemble only (no editor): fasm myfile.asm

On DOS, you probably have EMM386 loaded, so you have to run a DPMI server first (CWSDPMI, HDPMI32, or whatever). But it doesn't need that if you run w/o EMM386 (real mode vs. V86 mode which EMM386 switches to).
Post 05 Dec 2007, 14:52
View user's profile Send private message Visit poster's website Reply with quote
DOS386



Joined: 08 Dec 2006
Posts: 1901
DOS386
> I run the DOS FASMD.EXE from the command line on an XP

Use FASMW.EXE or FASM.EXE (Windows) instead.

> On a DOS computer it lacks the 32-DPMI service.

Need HDPMI32 (or CWSDPMI at worst).

> On DOS, you probably have EMM386 loaded

Why Confused

> so you have to run a DPMI server first (CWSDPMI, HDPMI32, or whatever).

YES.

> But it doesn't need that if you run w/o EMM386 (real mode vs. V86 mode which EMM386 switches to).

True only for console compiler-only version, FASMD IDE always needs DPMI.

PS: seems I have 500 posts by now. Reports 504, but finds only 500 then Confused
Post 16 Dec 2007, 13:35
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-2020, Tomasz Grysztar. Also on GitHub, YouTube, Twitter.

Website powered by rwasa.