a windows version of DJGPP is in the wings, based on cygwin I think. there's an 
alpha you can compile with cygwin.

----- Original Message -----
> From: Rugxulo <rugx...@gmail.com>
> To: Technical discussion and questions for FreeDOS developers. 
> <freedos-devel@lists.sourceforge.net>
> Cc: 
> Sent: Monday, July 14, 2014 9:18 PM
> Subject: Re: [Freedos-devel] FreeDOS JetDirect driver (was: Getting started)
> 
> Hi,
> 
> On Thu, Jul 10, 2014 at 5:30 PM, Jim Michaels <jmich...@yahoo.com> wrote:
>> 
>>  seg:ofs=(seg*16)+ofs=(seg<<4)+ofs (note that it is not bit or, it is 
> addition). translation of such an address is
>>  I think requires some macros or functions in DJGPP C/C++ compiler which 
> uses protected mode (or other
>>  dos extenders) because of the 32bit flat addressing. C/C++ could be fast 
> enough,
> 
> Just to clarify:
> 
> DJGPP does not use an "extender" but instead is pure DPMI (0.9 or
> higher) "only", ever since v2 debuted (circa 1996). DJGPP requires a
> 386 or higher and a 32-bit DPMI host, but DPMI itself can also
> (optionally) support 286 machines (like old Borland compilers) as
> well. So DPMI is not always "32-bit".
> 
>>  you may have to write your proc using GAS in ASM {} I think it is in 
> the C compiler using AT&T assembler syntax.
> 
> GAS has (also) supported (optional) "intel" syntax since 2.11 or such,
> many many years ago. Latest BinUtils (at least for DJGPP) is 2.24r2,
> so that should be no problem.
> 
> Even beyond that, both NASM and YASM support DJGPP's COFF format. Both
> of them support "intel" natively (although YASM has an optional 
> AT&T
> parser as well).
> 
>>  while this would be a fun project for me to do, DJGPP is unavailable to me 
> as of yet because the
>>  windows version is still under development.
> 
> I hope this doesn't come across as too glib or too obvious, so please
> don't take offense, but ....
> 
> DJGPP has no "Windows version". It's a pure DOS compiler only. 
> There
> is no Windows support. None is in the works. None was ever made. (I'm
> aware of very very small and obscure and incomplete hacks like RSXNT,
> but those don't count. Or at least haven't counted, even unofficially,
> since 15 years ago.) The only thing "Windows" about DJGPP is its
> occasional use on NTVDM (with its buggy DPMI server) on such OSes as
> WinXP or (much less functionally) later versions.
> 
> "Still under development" ... hardly. There is no work towards Windows
> support at all. Volunteers are few. There is no PE/COFF support. It
> does not access any Windows APIs directly. There is no support for
> (PE/COFF) .DLLs. It was not supposed to. The whole idea of DPMI was to
> extend DOS and play well in both native DOS and Windows and other
> compatibles (e.g. OS/2). Obviously Windows doesn't care about that
> anymore.
> 
> DJGPP cannot currently even pretend to care about Windows. It's still
> "DOS only". I'm not saying it isn't possible, of course, and 
> who knows
> what people have in mind. But as of right now it's just not there, not
> even a little.
> 
>>  and I would not know how to submit this project to the FreeDOS FTP area. I 
> have tried before and failed.
> 
> You mean iBiblio? They long ago disabled anonymous FTP submissions. I
> don't know why, probably for security reasons.
> 
> If you have any (free/libre, "four freedoms") software that you want
> someone to mirror to iBiblio, feel free to contact Jim Hall, Mateusz
> Viste, or me. (Or maybe others too, Aitor? Dunno.)
> 
>>  well, that's enough food for thought for whoever is getting started. 
> that's enough info to get the project rolling.
>>  I wish I had my DOS dev environment working!
> 
> What environment? Can't you use RUFUS or VirtualBox or similar?
> 
> There is a public DJGPP cross-compiler (thanks to Andrew Wu), but I've
> still got it sitting here unused. I haven't found the energy to test
> it out much. It's still not "Windows", but it will cross-compile 
> (to
> DOS) at least from modern Windows (even 64-bit).
> 
> https://github.com/andrewwutw/build-djgpp/releases
> http://www.bttr-software.de/forum/board_entry.php?id=13451#p13451
> 
> EDIT: It seems to work okay, although silly avast! antivirus decided
> to make it 10x slower by checking every .EXE that was run, sigh.
> 
> ------------------------------------------------------------------------------
> Want fast and easy access to all the code in your enterprise? Index and
> search up to 200,000 lines of code with a free copy of Black Duck
> Code Sight - the same software that powers the world's largest code
> search on Ohloh, the Black Duck Open Hub! Try it now.
> http://p.sf.net/sfu/bds
> 
> _______________________________________________
> Freedos-devel mailing list
> Freedos-devel@lists.sourceforge.net
> https://lists.sourceforge.net/lists/listinfo/freedos-devel
> 

------------------------------------------------------------------------------
Want fast and easy access to all the code in your enterprise? Index and
search up to 200,000 lines of code with a free copy of Black Duck
Code Sight - the same software that powers the world's largest code
search on Ohloh, the Black Duck Open Hub! Try it now.
http://p.sf.net/sfu/bds
_______________________________________________
Freedos-devel mailing list
Freedos-devel@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/freedos-devel

Reply via email to