ARM version of MSDOS (Announce)
> > > > I remember that porting FreeDOS to other
> > > > processors has already been a topic many years ago [...]
> >
> > > DOS/NT (predecessor to DOS-C) ran atop 68k processors for a client,
> > right?
> > > But it was very limited. Full MS-DOS portability is harder for other
> > > architectures (needing some emulation).
> >
> > Could you please expand on this? What is "Full
> > MS-DOS portability" and why is it hard?
>
> The summary of the 68k portability case can be found in
>
> https://en.wikipedia.org/wiki/Pat_Villani#FreeDOS_involvement
>
> Pat Villani had written XDOS which grew to NSS-DOS and DOS/NT:
>
> "When one potential contractor sought to use the OS in a system equipped
> with Motorola 680x0 processors instead of Intel x86 processors, for which
> the system was designed originally and which utilize different instruction
> sets and memory models, Villani was able to redesign his system to become
> portable across a range of different compilers and target environments"
That article continues:
"This move to a completely different target platform, while losing binary compatibility with existing applications, would have required a complete rewrite from scratch had his system not been written in a high-level language such as C, which allowed him to reuse large parts."
Which is exactly my experience. ie writing in C makes porting the OS relatively easy. At least the core functionality that an OS needs to provide (managing the filesystem, managing memory, providing APIs).
The core of MSDOS is actually the same as Unix with open/read/write/seek/close - and the source code of MSDOS even mentions Xenix.
I assume that due to limited memory, tools and processor speed, MSDOS was hand-coded in assembler rather than simply copying the Xenix code (had it been written in C). Which is fine for the 8086. But if you need to port to some other environment then the MSDOS basics - if written in C - ie Xenix-like - should be portable.
So it depends what is meant by "full MSDOS portability". The fact that it is being ported clearly speaks to the fact that the application API is not going to be accepting segment/offset pairs in 8086 registers. It is clear that the interface is going to accept some sort of appropriate pointer for the system (ie same as Unix/Windows and presumably Xenix).
And so once you establish an "appropriate API" (which cannot possibly be 8086 registers on a 68000), then I'm not sure what the terms "limited", "full MSDOS portability" and "hard" even mean.
I mean - yes it's hard to write an OS (although some people dispute that). But that's the case even if you're not trying to achieve MSDOS compatibility. And again - all OSes essentially support C90 - so they're all essentially MSDOS compatible anyway.
Sorry if I rambled somewhat, but this is my exact interest for 30 years.
Complete thread:
- ARM version of MSDOS - kerravon, 05.11.2022, 13:46 (Announce)
- ARM version of MSDOS - rr, 05.11.2022, 14:46
- ARM version of MSDOS - kerravon, 05.11.2022, 15:16
- ARM version of MSDOS - tkchia, 05.11.2022, 16:29
- ARM version of MSDOS - kerravon, 05.11.2022, 16:37
- ARM version of MSDOS - tkchia, 05.11.2022, 16:50
- ARM version of MSDOS - kerravon, 05.11.2022, 17:15
- ARM version of MSDOS - tkchia, 05.11.2022, 18:03
- ARM version of MSDOS - kerravon, 05.11.2022, 23:14
- ARM version of MSDOS - tkchia, 06.11.2022, 00:08
- ARM version of MSDOS - kerravon, 06.11.2022, 05:42
- ARM version of MSDOS - tkchia, 06.11.2022, 00:08
- ARM version of MSDOS - kerravon, 05.11.2022, 23:14
- ARM version of MSDOS - tkchia, 05.11.2022, 18:03
- ARM version of MSDOS - kerravon, 05.11.2022, 17:15
- ARM version of MSDOS - Rugxulo, 05.11.2022, 19:18
- ARM version of MSDOS - tkchia, 05.11.2022, 16:50
- ARM version of MSDOS - kerravon, 05.11.2022, 16:37
- ARM version of MSDOS - DosWorld, 06.11.2022, 20:41
- ARM version of MSDOS - kerravon, 06.11.2022, 22:39
- ARM version of MSDOS - DosWorld, 06.11.2022, 23:59
- ARM version of MSDOS - kerravon, 06.11.2022, 22:39
- ARM version of MSDOS - tkchia, 05.11.2022, 16:29
- ARM version of MSDOS - kerravon, 05.11.2022, 15:16
- ARM version of MSDOS - tom, 05.11.2022, 19:06
- ARM version of MSDOS - kerravon, 05.11.2022, 23:08
- ARM version of MSDOS - Rugxulo, 06.11.2022, 02:05
- ARM version of MSDOS - kerravon, 06.11.2022, 05:44
- ARM version of MSDOS - boeckmann, 06.11.2022, 16:53
- ARM version of MSDOS - kerravon, 06.11.2022, 17:50
- ARM version of MSDOS - boeckmann, 06.11.2022, 18:35
- ARM version of MSDOS - kerravon, 06.11.2022, 22:28
- ARM version of MSDOS - boeckmann, 06.11.2022, 18:35
- ARM version of MSDOS - glennmcc, 06.11.2022, 21:54
- ARM version of MSDOS - kerravon, 06.11.2022, 22:48
- ARM version of MSDOS - glennmcc, 07.11.2022, 03:49
- ARM version of MSDOS - kerravon, 07.11.2022, 04:13
- ARM version of MSDOS - kerravon, 07.11.2022, 11:19
- ARM version of MSDOS - kerravon, 15.01.2024, 13:01
- ARM version of MSDOS - Rugxulo, 15.01.2024, 23:21
- ARM version of MSDOS - kerravon, 15.01.2024, 23:54
- ARM version of MSDOS - kerravon, 18.01.2024, 18:52
- ARM version of MSDOS - mceric, 18.01.2024, 23:54
- ARM version of MSDOS - Rugxulo, 19.01.2024, 01:02
- ARM version of MSDOS - kerravon, 19.01.2024, 02:21
- ARM version of MSDOS - Rugxulo, 19.01.2024, 03:00
- ARM version of MSDOS - tom, 19.01.2024, 09:31
- ARM version of MSDOS - mceric, 19.01.2024, 10:21
- ARM version of MSDOS - kerravon, 19.01.2024, 16:44
- ARM version of MSDOS - tom, 19.01.2024, 17:31
- ARM version of MSDOS - kerravon, 19.01.2024, 17:35
- ARM version of MSDOS - tkchia, 20.01.2024, 00:44
- ARM version of MSDOS - kerravon, 20.01.2024, 10:15
- ARM version of MSDOS - kerravon, 20.01.2024, 10:42
- ARM version of MSDOS - tkchia, 20.01.2024, 12:36
- ARM version of MSDOS - kerravon, 20.01.2024, 15:52
- ARM version of MSDOS - tkchia, 20.01.2024, 16:44
- ARM version of MSDOS - kerravon, 20.01.2024, 16:51
- ARM version of MSDOS - tkchia, 20.01.2024, 16:57
- ARM version of MSDOS - kerravon, 20.01.2024, 18:01
- ARM version of MSDOS - tkchia, 20.01.2024, 16:57
- ARM version of MSDOS - kerravon, 20.01.2024, 16:51
- ARM version of MSDOS - tkchia, 20.01.2024, 16:44
- ARM version of MSDOS - kerravon, 20.01.2024, 15:52
- ARM version of MSDOS - kerravon, 20.01.2024, 10:15
- ARM version of MSDOS - tkchia, 20.01.2024, 00:44
- ARM version of MSDOS - kerravon, 19.01.2024, 17:35
- ARM version of MSDOS - tom, 19.01.2024, 17:31
- ARM version of MSDOS - kerravon, 19.01.2024, 16:44
- ARM version of MSDOS - kerravon, 19.01.2024, 02:21
- ARM version of MSDOS - Rugxulo, 19.01.2024, 01:02
- ARM version of MSDOS - kerravon, 25.01.2024, 23:34
- ARM version of MSDOS - mceric, 18.01.2024, 23:54
- ARM version of MSDOS - kerravon, 18.01.2024, 18:52
- ARM version of MSDOS - kerravon, 30.01.2024, 04:03
- ARM version of MSDOS - kerravon, 20.11.2024, 04:13
- ARM version of MSDOS - Oso2k, 20.11.2024, 05:57
- ARM version of MSDOS - kerravon, 15.01.2024, 23:54
- ARM version of MSDOS - Rugxulo, 15.01.2024, 23:21
- ARM version of MSDOS - kerravon, 15.01.2024, 13:01
- ARM version of MSDOS - kerravon, 07.11.2022, 11:19
- ARM version of MSDOS - kerravon, 07.11.2022, 04:13
- ARM version of MSDOS - glennmcc, 07.11.2022, 03:49
- ARM version of MSDOS - kerravon, 06.11.2022, 22:48
- ARM version of MSDOS - kerravon, 06.11.2022, 17:50
- ARM version of MSDOS - boeckmann, 06.11.2022, 16:53
- ARM version of MSDOS - kerravon, 06.11.2022, 05:44
- ARM version of MSDOS - Rugxulo, 06.11.2022, 02:05
- ARM version of MSDOS - tkchia, 06.11.2022, 00:31
- ARM version of MSDOS - Rugxulo, 06.11.2022, 01:53
- ARM version of MSDOS - Richard, 06.11.2022, 04:56
- ARM version of MSDOS - tkchia, 06.11.2022, 06:31
- ARM version of MSDOS - Richard, 06.11.2022, 09:31
- ARM version of MSDOS - kerravon, 06.11.2022, 09:47
- ARM version of MSDOS - Richard, 06.11.2022, 09:31
- ARM version of MSDOS - tkchia, 06.11.2022, 06:31
- ARM version of MSDOS - Richard, 06.11.2022, 04:56
- ARM version of MSDOS - Rugxulo, 06.11.2022, 01:53
- ARM version of MSDOS - Zyzzle, 06.11.2022, 00:32
- ARM version of MSDOS - Rugxulo, 06.11.2022, 01:58
- ARM version of MSDOS - Zyzzle, 06.11.2022, 02:24
- ARM version of MSDOS - kerravon, 06.11.2022, 05:48
- ARM version of MSDOS - marcov, 06.11.2022, 21:49
- ARM version of MSDOS - kerravon, 06.11.2022, 22:35
- ARM version of MSDOS - Rugxulo, 06.11.2022, 01:58
- ARM version of MSDOS - kerravon, 05.11.2022, 23:08
- 86-DOS question - ecm, 05.11.2022, 19:15
- 86-DOS question - kerravon, 05.11.2022, 23:04
- ARM version of MSDOS - Richard, 06.11.2022, 10:41
- ARM version of MSDOS - kerravon, 06.11.2022, 11:13
- ARM version of MSDOS - kerravon, 01.02.2024, 01:23
- ARM version of MSDOS - kerravon, 30.04.2024, 22:07
- ARM version of MSDOS - rr, 05.11.2022, 14:46