Mail Archives: djgpp/2011/10/17/18:15:34
Hi,
On Oct 17, 1:53 pm, "Rod Pemberton" <do_not_h DOT DOT DOT AT noavailemail DOT cmm>
wrote:
> "Rod Pemberton" <do_not_h DOT DOT DOT AT noavailemail DOT cmm> wrote in message
>
> news:j7grqe$em7$1 AT speranza DOT aioe DOT org...
>
> > "John Wright" <j DOT DOT DOT AT wacontrols DOT com> wrote in message
> >news:201110151147 DOT 02064 DOT john AT wacontrols DOT com...
> > > 2. Running DJgpp and NASM on a XP machine (dos window). I assume dos
> > > versions of NASM okay.
>
> > I'm using an older version of Windows, so I don't know about DOS versions
> > of NASM on XP, sorry. From what others have said here, 2.04 is the
> > version of DJGPP that's supposed to work better with XP or later.
>
> I'm not sure if you need this for DJGPP, but it may be worth a look.
>
> Japheth's NTDPMIX on this page: http://japheth.de/dwnload4.html
Not necessary by default, no, but it might help in oddball cases. It's
meant to improve XP's DPMI support even more. But average DJGPP apps
work fine without it (again, thanks to CWS).
(combining replies for brevity)
>> Where does Win32 version come into play? I'm going to assume
>> windows API related windows application programming?
>
> Yes. You probably can't access Win32 from DJGPP ... ( Can you? Scary if
> you can ... )
DJGPP is GCC ported to DOS as 32-bit DPMI apps using "standard" (?)
COFF format and a custom libc built from pieces (esp. FreeBSD). Rod, I
know you know more about this than I do, just saying .... ;-)
Several people have made hacks to DJGPP to output PE COFF (Win32),
e.g. Japheth's 2.03p2 hack or Rainer's RSXNT/DJ. Japheth's patch just
switches to zero-based model and PE COFF format while keeping
everything else (e.g. libc), which means it's still a "DOS-only" app.
RSXNT/DJ was an old hybrid that somehow switched / emulated the lower-
level bits (via .DLLs or DOS extender) in exchange for using the same
binary in both OSes (vs. EMX which was DOS + OS/2 instead). You can of
course also just lump two entirely-separate .EXEs together (MZ stub in
PE .EXE), which is rarely used.
Can you write .VXDs? Yes, probably with help from above tools, but I
don't think .VXDs work in later Windows (or so I've heard).
Long story short: XP works "fairly" well for DOS stuff (esp. vs.
later versions) but is deprecated and harder to find these days (soon
to disappear like all things old, sadly).
- Raw text -