Jump to page: 1 2
Thread overview
DOSX support for D
May 20, 2003
Simon J Mackenzie
May 20, 2003
Nic Tiger
May 21, 2003
Simon J Mackenzie
May 25, 2003
Simon J Mackenzie
May 25, 2003
Walter
May 26, 2003
Simon J Mackenzie
May 27, 2003
Nic Tiger
May 28, 2003
Walter
May 28, 2003
Nic Tiger
May 28, 2003
Georg Wrede
May 30, 2003
Walter
May 30, 2003
Walter
May 31, 2003
Nic Tiger
Jun 01, 2003
Walter
May 20, 2003
Walter
May 21, 2003
Nic Tiger
May 21, 2003
Walter
May 22, 2003
Nic Tiger
May 22, 2003
Walter
May 22, 2003
Ilya Minkov
May 20, 2003
I'm wanting to try out D with DOSX.
Has anyone ported the D to DOSX yet?
What would the port involve?

Regards, Simon, potential DeeVohTee

May 20, 2003
D is not directly supported under DOSX, but you could make DMD binaries run under DOS by using modified WDOSX.

For details, look for message 'Re: Using DMC from DOS' in "c++.announce" news-group.

WDOSX is obviously slower than Doug Huffman's DOSX (by my estimations, it is
twice slower), but it supports DLLs 'natively'.
In order to make DMD produce DOSX executables the run-time library should be
rewritten and appropriate startup module written. And in addition to this
Walter should add DOSX model for compilation.

I am going to rewrite RTL for DOSX but this will be little later. I think I will be very busy in next 2-3 months.

Nic Tiger.

"Simon J Mackenzie" <project.d@smackoz.fastmail.fm> wrote in message news:bac9ap$1jd4$1@digitaldaemon.com...
> I'm wanting to try out D with DOSX.
> Has anyone ported the D to DOSX yet?
> What would the port involve?
>
> Regards, Simon, potential DeeVohTee
>


May 20, 2003
"Simon J Mackenzie" <project.d@smackoz.fastmail.fm> wrote in message news:bac9ap$1jd4$1@digitaldaemon.com...
> I'm wanting to try out D with DOSX.
> Has anyone ported the D to DOSX yet?
> What would the port involve?

It would not be difficult, but you're the first to express any interest in it.


May 21, 2003
I was the first interested in D for DOSX, but I never expressed it :-).

Nic Tiger.

"Walter" <walter@digitalmars.com> wrote in message news:badtq7$4f5$1@digitaldaemon.com...
>
> "Simon J Mackenzie" <project.d@smackoz.fastmail.fm> wrote in message news:bac9ap$1jd4$1@digitaldaemon.com...
> > I'm wanting to try out D with DOSX.
> > Has anyone ported the D to DOSX yet?
> > What would the port involve?
>
> It would not be difficult, but you're the first to express any interest in it.
>
>


May 21, 2003
Hi Nic,
Thanks for the speedy reply and pointing me to an interem solution.

As I see it the broader the base the greater the potential market acceptance for D.

My hunch is that there is a viable group of supporters out there who do want a good 32bit DOS extender/compiler option for D.  A solution for 32bit DOS D apps would be icing on the cake and possibly others as well?!  It would provide a toolset to build fast D apps across Linux, Windows and DOS!!!  Very nice indeed!!!

NB: The OpenWatcom project has certainly provided me with what I'm looking for for DOS extended C / C++ apps and now DMC has DOSX.

Nic Tiger wrote:
> D is not directly supported under DOSX, but you could make DMD binaries run
> under DOS by using modified WDOSX.
> 
> For details, look for message 'Re: Using DMC from DOS' in "c++.announce"
> news-group.
> 
> WDOSX is obviously slower than Doug Huffman's DOSX (by my estimations, it is
> twice slower), but it supports DLLs 'natively'.

Thanks Nic, I've downloaded the WDOSX material and I will set it up and try it out as soon as I have time (next week).

> In order to make DMD produce DOSX executables the run-time library should be
> rewritten and appropriate startup module written. And in addition to this
> Walter should add DOSX model for compilation.

These steps seem like a much more appealing long term solution and one that would be fully intregrated into DMD and not a partial solution, so I'll will look forward to progress in this area.

> 
> I am going to rewrite RTL for DOSX but this will be little later. I think I
> will be very busy in next 2-3 months.

A good, sound long term solution will be worth the wait if the first option gets me up and running with 32 bit DOS apps.  If Walter adds the DOSX model to DMD that would certainly make the job that much easier! Here's hoping.

> 
> Nic Tiger.
> 
> "Simon J Mackenzie" <project.d@smackoz.fastmail.fm> wrote in message
> news:bac9ap$1jd4$1@digitaldaemon.com...
> 
>>I'm wanting to try out D with DOSX.
>>Has anyone ported the D to DOSX yet?
>>What would the port involve?
>>
>>Regards, Simon, potential DeeVohTee
>>
> 
> 
> 

Regards, Simon, a DeeVoteTee (formerly a DeeVohTee)

May 21, 2003
I forgot, there's another problem. DOSX doesn't support 80 bit reals (primarilly so it can run on machines without a coprocessor).

"Nic Tiger" <tiger7@progtech.ru> wrote in message news:baeua5$190m$1@digitaldaemon.com...
> I was the first interested in D for DOSX, but I never expressed it :-).
>
> Nic Tiger.
>
> "Walter" <walter@digitalmars.com> wrote in message news:badtq7$4f5$1@digitaldaemon.com...
> >
> > "Simon J Mackenzie" <project.d@smackoz.fastmail.fm> wrote in message news:bac9ap$1jd4$1@digitaldaemon.com...
> > > I'm wanting to try out D with DOSX.
> > > Has anyone ported the D to DOSX yet?
> > > What would the port involve?
> >
> > It would not be difficult, but you're the first to express any interest
in
> > it.
> >
> >
>
>


May 22, 2003
I know, and I successfully lived for last 4 years without long double in DOSX.

It would be good to have 80-bit float, but certainly not mandating.

Nic Tiger.

"Walter" <walter@digitalmars.com> wrote in message news:baghne$2u4o$1@digitaldaemon.com...
> I forgot, there's another problem. DOSX doesn't support 80 bit reals (primarilly so it can run on machines without a coprocessor).
>
> "Nic Tiger" <tiger7@progtech.ru> wrote in message news:baeua5$190m$1@digitaldaemon.com...
> > I was the first interested in D for DOSX, but I never expressed it :-).
> >
> > Nic Tiger.
> >
> > "Walter" <walter@digitalmars.com> wrote in message news:badtq7$4f5$1@digitaldaemon.com...
> > >
> > > "Simon J Mackenzie" <project.d@smackoz.fastmail.fm> wrote in message news:bac9ap$1jd4$1@digitaldaemon.com...
> > > > I'm wanting to try out D with DOSX.
> > > > Has anyone ported the D to DOSX yet?
> > > > What would the port involve?
> > >
> > > It would not be difficult, but you're the first to express any
interest
> in
> > > it.
> > >
> > >
> >
> >
>
>


May 22, 2003
The trouble is a lot of dependencies on that existing has crept into the compiler & libraries. Not impossible to fix, just a substantial amount of work.

"Nic Tiger" <tiger7@progtech.ru> wrote in message news:bahib5$shh$1@digitaldaemon.com...
> I know, and I successfully lived for last 4 years without long double in DOSX.
>
> It would be good to have 80-bit float, but certainly not mandating.
>
> Nic Tiger.
>
> "Walter" <walter@digitalmars.com> wrote in message news:baghne$2u4o$1@digitaldaemon.com...
> > I forgot, there's another problem. DOSX doesn't support 80 bit reals (primarilly so it can run on machines without a coprocessor).
> >
> > "Nic Tiger" <tiger7@progtech.ru> wrote in message news:baeua5$190m$1@digitaldaemon.com...
> > > I was the first interested in D for DOSX, but I never expressed it
:-).
> > >
> > > Nic Tiger.
> > >
> > > "Walter" <walter@digitalmars.com> wrote in message news:badtq7$4f5$1@digitaldaemon.com...
> > > >
> > > > "Simon J Mackenzie" <project.d@smackoz.fastmail.fm> wrote in message news:bac9ap$1jd4$1@digitaldaemon.com...
> > > > > I'm wanting to try out D with DOSX.
> > > > > Has anyone ported the D to DOSX yet?
> > > > > What would the port involve?
> > > >
> > > > It would not be difficult, but you're the first to express any
> interest
> > in
> > > > it.
> > > >
> > > >
> > >
> > >
> >
> >
>
>


May 22, 2003
Walter wrote:
> The trouble is a lot of dependencies on that existing has crept into the
> compiler & libraries. Not impossible to fix, just a substantial amount of
> work.

Depandence? In compiler is understandable, but in libararies? Why hot make a special compiler mode which would replace every occurence of "real" with a "double"? This would also be appreciated by some freaks outside DOS. :>

-i.

May 25, 2003
Hi Nic,
I assume that WDosX is not designed to be used with a DMD executable. When I run stubit -nowfse hello.exe (dmd hello.d from the samples\d directory) it seems happy enough but I get the following runtime errors with hello.exe. a) with your *.wdl files : Could not find CreateThread in module Kernel32.DLL b) with WDosX 97B1 : Could not find ReleaseSemaphore in module Kernel32.DLL. NB: Yes KERNEL32.DLL and not ..32.WDL!

Does this mean there are still more Win32 calls in a DMD executable that are not supported by WDosX???  If this is the case then I guess it means I will be unable to use DMD to create 32bit DOS apps?

cheers
Simon




Nic Tiger wrote:
> D is not directly supported under DOSX, but you could make DMD binaries run
> under DOS by using modified WDOSX.
> 
> For details, look for message 'Re: Using DMC from DOS' in "c++.announce"
> news-group.
> 
> WDOSX is obviously slower than Doug Huffman's DOSX (by my estimations, it is
> twice slower), but it supports DLLs 'natively'.
> In order to make DMD produce DOSX executables the run-time library should be
> rewritten and appropriate startup module written. And in addition to this
> Walter should add DOSX model for compilation.
> 
> I am going to rewrite RTL for DOSX but this will be little later. I think I
> will be very busy in next 2-3 months.
> 
> Nic Tiger.
> 
> "Simon J Mackenzie" <project.d@smackoz.fastmail.fm> wrote in message
> news:bac9ap$1jd4$1@digitaldaemon.com...
> 
>>I'm wanting to try out D with DOSX.
>>Has anyone ported the D to DOSX yet?
>>What would the port involve?
>>
>>Regards, Simon, potential DeeVohTee
>>
> 
> 
> 

« First   ‹ Prev
1 2