On Tue, Mar 15, 2022 at 1:27 PM Liam Proven <lpro...@gmail.com> wrote: > On Tue, 15 Mar 2022 at 05:54, dmccunney <dennis.mccun...@gmail.com> wrote: > > > > (Just for the record, I don't think it's *possible* to implement .NET > > under DOS. It assumes a multitasking OS with 32 bit or better > > architecture.) > > You might be surprised. :-) > > https://www.hanselman.com/blog/net-everywhere-apparently-also-means-windows-311-and-dos > https://github.com/MichalStrehovsky/SeeSharpSnake > > A Snake game in _8 kB_ of .NET code. But using custom libraries and disabling a lot of functionality.
Uh huh. And what was it *built* on? Cross-compiling for other targets is common, Like writing and compiling C code to be run on an ARM target. This chap was able to build an 8K C# game that runs in MSDOS. Neat, but he didn't *build* it on MSDOS, and I doubt he could. (And unless I miss my guess, he's doing static linking and compiling C# to x86 machine code.) DJ Delorie maintains DJGPP, which ports a GCC toolchain to DOS. But it requires at least a 386 processor and various DOS extensions to work at all. I suspect DJ might be able to build the Mono code implementing .NET in similar fashion, so I partially retract what I said about the possibility., Edvardo wants to implement Gnu COBOL under FreeDOS 1.3. The bit he hasn't started is what he will do with it once he has. My assumption is that he wants to write and compile COBOL code under FreeDOS. There *were* DOS versions of COBOL back in the day. If memory serves, Microsoft had one. Such things still exist. About 30 seconds of Google search yielded two archives containing binaries for what were claimed to be COBOL implementations/ (One had a README file warning that it dod not implement ANSI COBOL, and some features from ANSI COBOL were missing.) I have not tried to test either, but they existed. Personally, I'd look for and install an existing DOS COBOL version that worked back when, rather than trying to reinvent the wheel and get Gnu COBOL working, unless I wanted to write code that only Gnu COBOL could successfully build. Unless otherwise specified, I assume people talking about stuff like this want the language to be self hosted, and allow them to write and compile DOS code in whatever language on the DOS machine that is the target. An environment that can build DOS code on another machine that can then be transferred to the target system will be very much a second choice. -- > Liam Proven ~ Profile: https://about.me/liamproven ______ Dennis _______________________________________________ Freedos-user mailing list Freedos-user@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/freedos-user