DOSes written in assembly (Developers)
> Somewhere in 1985 I had to choose between Turbo Pascal and C as programming
> language. I chose for TP but sometimes I regret it, seeing how many
> programs and OSes are written in C. That Linux is written in C, is
> completely understandable, but a DOS, like FreeDOS, no.
Can you explain why it is not appropriate for FreeDOS to be written in C? I believe they advertise that anything that runs on MSDOS should run on FreeDOS too. Surely that is the ultimate arbiter of whether it is possible to do the job in C?
But I'm interested in what you perceive the technical reasons are.
Note that I'm familiar with the generated assembler from C compilers with optimization on and it looks perfectly fine to me.
> My question: are there other open source DOSes around, meant for 8088/8086
> computers and purely written in assembly?
I know of LK-DOS. I can contact the author to find out where it is currently if you are interested.
But I'm more interested in why you are choosing the 8088/8086 for a new OS.
If there is some 16-bit segmentation challenge, why not make it dual 8086/80286?
And what's the reason to not use the OS/2 1.x or MSDOS API? Is there something wrong with it? If so, can you elaborate?
Note that I'm not being sarcastic - this is my interest. OS philosophy or whatever you want to call it.
Complete thread:
- DOSes written in assembly - Ruud, 31.03.2024, 08:48 (Developers)
- DOSes written in assembly - Rugxulo, 31.03.2024, 09:42
- DOSes written in assembly - ecm, 31.03.2024, 10:01
- DOSes written in assembly - Laaca, 31.03.2024, 17:09
- DOSes written in assembly - boeckmann, 31.03.2024, 18:52
- DOSes written in assembly - Ruud, 01.04.2024, 08:06
- DOSes written in assembly - RayeR, 01.04.2024, 20:24
- DOSes written in assembly - Ruud, 01.04.2024, 08:06
- DOSes written in assembly - tom, 31.03.2024, 20:00
- DOSes written in assembly - samwdpckr, 01.04.2024, 20:54
- DOSes written in assembly - kerravon, 04.04.2024, 15:11
- DOSes written in assembly - Ruud, 07.04.2024, 14:45
- DOSes written in assembly - kerravon, 07.04.2024, 16:55
- DOSes written in assembly - Rugxulo, 08.04.2024, 02:45
- Disassembly quality - ecm, 14.04.2024, 19:33
- DOSes written in assembly - kerravon, 07.04.2024, 16:55
- DOSes written in assembly - Ruud, 07.04.2024, 14:45
- DOSes written in assembly - rr, 07.04.2024, 17:24
- DOSes written in assembly - Ruud, 07.04.2024, 21:48
- DOSes written in assembly - Rugxulo, 31.03.2024, 09:42