ARM version of MSDOS (Announce)
> Not sure if that one uses Secure Boot (and presumably you aren't interested
> in modern Mac laptops which also use ARM64). Windows ARM64 and Snapdragon
> are still sold, but newer Lenovo Yogas seem to only use x64.
So - here's the direction I went.
I wasn't able to buy a new Windows ARM laptop in the Philippines.
Or even purchase one from Amazon and get it shipped. But I did
manage to find one - an older model I think - from ebay, which
shipped here.
And so it turns out that Windows 11 for ARM supports both 32-bit
ARM and 64-bit ARM, and just like x86/x64 has an msvcrt.dll for
both environments.
Not only that, but Visual Studio is able to target both ARM32
and ARM64 from any environment. The command prompt for ARM32
doesn't come up automatically though, so you have to copy an
existing shortcut. But all the material is included.
In both cases I was able to replace the Visual Studio C library
with PDPCLIB and stand up Win32 ARM32 and Win64 ARM64 mini-clones
that operate under UEFI, Linux or Android (via PdAndro).
And for ARM32 I was eventually able to modify my fork of gcc 3.2.3
to produce Win32 ARM32 compatible code, so I have an entire
toolchain for ARM32 (but not ARM64 which relies on Visual
Studio still).
For good measure I bought Visual Studio Professional.
So from my Zhaoxin Windows 10 I am able to build a Win64 ARM64
mini-clone.
I bought a Macbook M1 and Oracle Virtualbox can run on that,
and gives me an ARM64 UEFI environment, so that I can run my
Windows mini-clone.
I then fleshed out my mainframe (S/370, z/Arch) emulator so
that it was capable of running z/PDOS-generic.
So that is basically the one application that I run under
my Win64 ARM64 mini-clone.
The thing about mainframes is that they are too expensive
to buy, that you basically have to run under emulation anyway.
z/PDOS-generic is still being debugged, but it is expected to
provide a full toolchain. There has been a lot of work recently
by the creator of Linux Bigfoot to get binutils to support
mainframe hlasm.
So - this setup gives a mainframe on an ARM64 Macbook.
This is a physically more reliable machine than my Pinebook Pro.
And if I power my Macbook down, I can charge it using a cheap
powerbank.
And I can charge my cheap powerbank using a portable solar.
So. I have a mainframe that is (or can be) powered by the Sun.
And I am expected to have a complete toolchain that allows me
to reconstruct anything I want in pure C90.
And for those operating on a budget, you can do the same thing
using a smartphone or tablet with an external keyboard.
A mainframe emulator seems to be a lot less complicated than
an x86 emulator.
My mainframe emulator is only suitable for running z/PDOS-generic,
because it replaces the pseudo-bios too.
I'm still waiting for the bugs to be fixed so that I can see
how long it takes my Mac M1 to get gcc 3.2.3 to rebuild itself
at full optimization under an emulator. Normally it takes me
a couple of hours under Hercules on an x86. But now I am
switching emulator and processor.
I don't have the ability to use clang to replace Visual Studio
as the compiler to produce my Win64 ARM64 software, as I don't
seem to have the ability to switch off "pie".
But given time, I should be able to stand up a replacement
ARM64 compiler, using my mini mainframe.
Note that I consider z/PDOS-generic to be what MSDOS would
be if it had been ported to the mainframe. Or similar, anyway.
Regardless, I am basically happy that I have found alternative
hardware - but still in laptop form - so I am not beholden to
the x86 processor - but also I am not beholden to the Apple
software infrastructure. It's merely a means to an end.
BFN. Paul.
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