On Mon, Dec 16, 2013 at 12:22 PM, Hans-Christian Koch
<hc.k...@scheerkoch.de> wrote:
>
> as I am trying to get a working serial port emulation under DOSEMU I would
> like to use the freedos version of mode.com . I need to remove the if clause
> that checks whether the serial port number is invalid (<1 or >4) as I’d like
> to configure COM5. I found the code in mode.c and changed it but I don’t
> know how to recompile. Makefile said something about nasm so I installed
> nasm on a virtual DOS machine and did “nasm makefile” but there were a few
> errors saying “error: label or instruction expected at start of line”. Seems
> like these lines were comments.

> Does anyone know what to do?

NASM is an assembler program, intended to produce object code from
Assembler source files.

When you said "nasm makefile", you told nasm to try to assemble
makefile.  Because makefile isn't an assembly language source file,
nasm had no idea what to make of it.

Makefiles are instructions to the make utility.  Make reads a makefile
and performs the steps specified in it.  The makefile defines what
steps must be performed in what order to compile and build the program
the makefile is for.  Make will call nasm to assemble to assemble the
appropriate assembly language file(s) specified in the makefile.

Assuming you have make installed, go the the directory where the
makefile is and just enter a make command.  By default, make will look
for a file called makefile in that directory, read it, and attempt to
follow the instructions it gives.

> Hans
______
Dennis

------------------------------------------------------------------------------
Rapidly troubleshoot problems before they affect your business. Most IT 
organizations don't have a clear picture of how application performance 
affects their revenue. With AppDynamics, you get 100% visibility into your 
Java,.NET, & PHP application. Start your 15-day FREE TRIAL of AppDynamics Pro!
http://pubads.g.doubleclick.net/gampad/clk?id=84349831&iu=/4140/ostg.clktrk
_______________________________________________
Freedos-user mailing list
Freedos-user@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/freedos-user

Reply via email to