[Freedos-user] Compile mode.com

2013-12-16 Thread Hans-Christian Koch
Hello all,

 

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?

 

Thanks,

Hans

--
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=84349831iu=/4140/ostg.clktrk___
Freedos-user mailing list
Freedos-user@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/freedos-user


[Freedos-user] Compile mode.com

2013-12-16 Thread Hans-Christian Koch
Hello all,

 

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?

 

Thanks,

Hans

--
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=84349831iu=/4140/ostg.clktrk___
Freedos-user mailing list
Freedos-user@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/freedos-user


Re: [Freedos-user] Compile mode.com

2013-12-16 Thread Hans-Christian Koch
Hi Dennis,

thanks for explanation. I also had a compiler called djgpp installed but it
seems like that isn't what I need either? 
Can you tell me where to get make / installation instructions?

Thanks,
-Ursprüngliche Nachricht-
Von: dmccunney [mailto:dennis.mccun...@gmail.com] 
Gesendet: Montag, 16. Dezember 2013 19:06
An: Discussion and general questions about FreeDOS.
Betreff: Re: [Freedos-user] Compile mode.com

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=84349831iu=/4140/ostg.clktrk
___
Freedos-user mailing list
Freedos-user@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/freedos-user


--
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=84349831iu=/4140/ostg.clktrk
___
Freedos-user mailing list
Freedos-user@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/freedos-user


Re: [Freedos-user] Compile mode.com

2013-12-16 Thread Eric Auer

Hi!

To compile FreeDOS MODE, you need the following:

upx (in any of your PATH directories)
nasm (same)
tcc (Turbo C 2.01, search in the Borland museum / ask Rugxulo)
make (also the old Borland version, I assume)

In theory, it is also possible to compile mode with OpenWatcom C,
using wcl instead of tcc by editing the makefile accordingly.
However, the makefile says that this has not been tested so far.

FreeDOS also has some other MAKE tools around. You could indeed
try GNU MAKE which comes with DJGPP. However, you cannot compile
MODE using the C compiler of DJGPP itself. You need a compiler
which can produce 16bit binaries, such as Turbo C or OpenWatcom.

Once you have all ingredients simply run make in the directory
where the source code is. You can even do without upx, if you
comment out that part of the makefile, but then you get larger
binaries in the end.

Regards, Eric

 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.


--
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=84349831iu=/4140/ostg.clktrk
___
Freedos-user mailing list
Freedos-user@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/freedos-user


[Freedos-user] bloody SMC w8003wc packet driver set up! please help!

2013-12-16 Thread sparky4 insano
I am stumped this card is very stingy...

I cannot seem to get it to do a DHCP no matter what packet driver i use for
it


sigh



with love,
sparky4
Administrator of 四葉の芽◇ちゃんねる
--
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=84349831iu=/4140/ostg.clktrk___
Freedos-user mailing list
Freedos-user@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/freedos-user


Re: [Freedos-user] Compile mode.com

2013-12-16 Thread Hans-Christian Koch
Hey Eric, nice to meet you!

I tried to find your Email on the web as I saw your name in makefile but I
only found an old one. Thanks for your help, works very well!!

-Ursprüngliche Nachricht-
Von: Eric Auer [mailto:e.a...@jpberlin.de] 
Gesendet: Montag, 16. Dezember 2013 20:53
An: freedos-user@lists.sourceforge.net
Betreff: Re: [Freedos-user] Compile mode.com


Hi!

To compile FreeDOS MODE, you need the following:

upx (in any of your PATH directories)
nasm (same)
tcc (Turbo C 2.01, search in the Borland museum / ask Rugxulo) make (also
the old Borland version, I assume)

In theory, it is also possible to compile mode with OpenWatcom C, using
wcl instead of tcc by editing the makefile accordingly.
However, the makefile says that this has not been tested so far.

FreeDOS also has some other MAKE tools around. You could indeed try GNU MAKE
which comes with DJGPP. However, you cannot compile MODE using the C
compiler of DJGPP itself. You need a compiler which can produce 16bit
binaries, such as Turbo C or OpenWatcom.

Once you have all ingredients simply run make in the directory where the
source code is. You can even do without upx, if you comment out that part of
the makefile, but then you get larger binaries in the end.

Regards, Eric

 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.



--
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=84349831iu=/4140/ostg.clktrk
___
Freedos-user mailing list
Freedos-user@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/freedos-user


--
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=84349831iu=/4140/ostg.clktrk
___
Freedos-user mailing list
Freedos-user@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/freedos-user


Re: [Freedos-user] bloody SMC w8003wc packet driver set up! please help!

2013-12-16 Thread Bernd Blaauw
sparky4 insano schreef op 16-12-2013 20:54:
 I am stumped this card is very stingy...

Your best bet would be some Realtek or Intel wired network card, perhaps 
in combination with a PLX adapter (network through power wall socket).


 I cannot seem to get it to do a DHCP no matter what packet driver i use
 for it

In theory people can write their own packet drivers for the cards they 
have. In practice I've never seen it done.

Bernd


--
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=84349831iu=/4140/ostg.clktrk
___
Freedos-user mailing list
Freedos-user@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/freedos-user


Re: [Freedos-user] bloody SMC w8003wc packet driver set up! please help!

2013-12-16 Thread Chris Evans
DCHP is application level not IP/TCP level  need annet app that supports
DHCP address support





On Mon, Dec 16, 2013 at 11:54 AM, sparky4 insano 
sparky44...@gmail.com wrote:

 I am stumped this card is very stingy...

 I cannot seem to get it to do a DHCP no matter what packet driver i use
 for it


 sigh



 with love,
 sparky4
 Administrator of 四葉の芽◇ちゃんねる


 --
 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=84349831iu=/4140/ostg.clktrk
 ___
 Freedos-user mailing list
 Freedos-user@lists.sourceforge.net
 https://lists.sourceforge.net/lists/listinfo/freedos-user


--
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=84349831iu=/4140/ostg.clktrk___
Freedos-user mailing list
Freedos-user@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/freedos-user