Mail Archives: djgpp/2003/05/13/14:30:14
Please find my comments below.
Thanks,
Andre.
eplmst AT lu DOT erisoft DOT se (Martin Stromberg) wrote in message news:<b9r02u$hio$1 AT antares DOT lu DOT erisoft DOT se>...
> Andre Chrcanovic (alrc AT task DOT com DOT br) wrote:
> : I got the output sample after running the program for approximately 45
> : minutes...
>
> : The compiler run on an Windows NT machine, but I run the executable in
> : a machine with FreeDos (Kernel version 1.1.23 - Build 2023). I use
>
> That's quite old a kernel. It might have been around that time DJGPP
> programs started to run in FreeDOS. Try upgrading it.
>
OK. I will try that.
> : cwsdpr0.exe as DPMI host to run the program.
>
> What happens if you run with cwsdpmi.exe?
>
The program crashes (General Protection Fault)...
> : Sections of the makefile are listed below:
>
> ...
> : AS = asm
>
> What assembler is this?
>
Actually, none. It's a typo. I use 'nasm' in other makefiles when I
need the assembler, but this makefile does not call the assembler...
> ...
> : $(BINDIR)/$(BOOT).exe: $(BOOTOBJ) $(BOOTLIB)
> : $(LINKA) -pg -o $(BINDIR)/$(BOOT).exe $(BOOTOBJ) $(LNKOPTS)
> : -Wl,-Map,boot_bz.map
>
> I'm slightly worried about that "BOOT" stuff. What you generate is an
> ordinary .EXE that you run from the command prompt or AUTOEXEC.BAT,
> right?
>
Right. It is a .EXE called from AUTOEXEC.BAT. The program is called
'boot' for historical reasons... The original version of this program
is a binary (generated with Metaware HighC and PharLap) loaded from
flash in a system without DOS (or any other OS)...
>
> Right,
>
> MartinS
- Raw text -