4 ms·
Re [7] and the MiNT kernel/OS: If you're interested in running MiNT on your old Atari hardware (or emulator) then https://freemint.github.io/ https://freemint.
by chris_j 4y ago
Re [7] and the MiNT kernel/OS:
If you're interested in running MiNT on your old Atari hardware (or emulator) then https://freemint.github.io/ https://freemint.github.io/ is the project website.
And if you want to run it on the Aranym emulator then EasyAraMint is a good place to start: https://sites.google.com/site/beebox68k/operating-system/os/easyaramintbeta2operatingsystemimagesforaranym https://sites.google.com/site/beebox68k/operating-system/os/...
I only recently tried FreeMiNT for the first time. It's a really weird feeling to come back to the Atari platform and see something that looks familiar but has been updated and dragged, if not into the present day then into the late 90s at least. Gone is most of the CP/M heritage of the original TOS; instead, it's a UNIX-like OS with a lot of the GNU userland. For me, using it is exciting like using Linux in the late 90s was exciting. It just leaves me feeling rather sad that Atari exited the computer market before the OS was quite ready and the community had to finish the job.
(And if you're wondering how this is relevant to EmuTOS, well, EmuTOS is used as part of the boot process.)
- lproven 4y agoI have no idea if it's in any way viable, but something it would be immensely cool to see is some combination of Emu68 (or some other bare-metal emulator) and EmuTOS and FreeMINT, some combination that made it possible to run FreeMINT directly on a Raspberry Pi as the OS. Not in an emulator under Linux. As the only OS. ISTM that even a $5 Raspberry Pi Zero should be more than powerful enough to run this well.
- cmrdporcupine 4y agoIsn't that what this is https://sites.google.com/site/beebox68k/operating-system/the-manual https://sites.google.com/site/beebox68k/operating-system/the...
- chris_j 4y agoI assume you refer to BeePi, which is a fantastic thing but it doesn't run FreeMiNT as the _only_ OS on a Raspberry Pi. It basically packages up a Raspbian OS with the Hatari and Aranym emulators running on top of it, with EmuTOS/FreeMiNT running on top of that. I've got it running on one Raspberry Pi and it's quite nice; unlike Aranym on my Mac, I can actually get networking to work. But it's not running an Atari OS directly on the Raspberry Pi hardware, which is a shame.
- cmrdporcupine 4y agoOh I see, you want to baremetal it. That's tricky. My friend did this with the C64 (BMC64) by making VICE run basically as a unikernel on the Pi. It's a lot of work. There's payoff there for something like the C64 where latency is super important for video games etc. But on the ST, I dunno if I see the advantage esp if you're running MiNT etc. If you mean actually running the OS sans emulation, like a port of TOS/MiNT to ARM; I actually started down this road many years ago, trying to port as much of EmuTOS over to native ARM as I could... and others have fiddled with it, too. But it's a huge endeavour with little payoff. There's no binaries to run, so you'd end up hosting an emulator in it, and the endianness is entirely different so it's just... awkward. I found the transition to 32-bit and little endian and totally different graphics hardware made much of the EmuTOS sources useless. Take something like the AES. It uses 16 bit big-endian values throughout, hardwired into C-structs, basically. And this maps 1:1 with resource file contents. You either have to rewrite everything incompatible with ST-AES and resource files and use 32-bit little endian. Or you have to be constantly swizzling values back and forth. Or do both. Awkward. Or the VDI that's written there. I actually made "ok" progress writing a fresh VDI from scratch for the Pi framebuffer. But then... what's the value? The API is not really compatible because word sizes, framebuffer depth etc. It just starts to look really anachronistic. Better to just build something new.
- chris_j 4y agoApologies, I was assuming that lproven was talking about baremetalling it but apparently not. Re endianness, I confess I hadn't even thought of that aspect of it. (I understand that Cortex-A processors can run in big-endian mode but I bet it's not that easy.) And I bet there are a million other things that would be hard to make work. But I still wish EmuTOS/FreeMiNT could be made to run on a modern CPU. It makes me sad to think that the 680x0 architecture basically isn't going to go much further than the Apollo 68080 (or Coldfire...), whereas a modern ARM (or X86 or even RISC-V...) chip is stupendously more powerful and I'd love to be able to run those OSes on that. Oh well, I can dream I guess...
- cmrdporcupine 4y ago
- chris_j 4y agoI confess I would really like to see EmuTOS and/or FreeMiNT running directly on the Raspberry Pi, though I suspect it would be a huge amount of work. Right now, if you want Atari compatible hardware, you can either pay $$$$ for a vintage machine (and replace all the capacitors), or you can get something like a Vampire V4SA and put in a lot of effort to make it work run anything. Raspberry Pi is a really nice (and relatively simple) hardware platform that would be great for running something like this and I have thought about it myself. Something like adding ARM [32|64] support to the kernel and then using an emulator of some sort to run 68k usermode programs. But I don't think FreeMiNT has ever been ported to any other architecture and imagine it would be a _huge_ effort.
- lproven 4y agoNatively would be amazing but a vast amount of work. The way Apple moved classic MacOS from 680x0 to PowerPC was to write a tiny kernel emulator, with an API to run native stuff on the metal, and run more or less the whole OS under emulation, profile it and just translate the most speed-critical bits. https://en.wikipedia.org/wiki/Mac_OS_nanokernel https://en.wikipedia.org/wiki/Mac_OS_nanokernel That's a lot of work for a FOSS project but given the performance delta between 1980s 680x0 and 2020s ARM, total emulation of the whole thing should be perfectly fine. It's how the PiStorm Amiga upgrade works. https://amigastore.eu/853-pistorm.html https://amigastore.eu/853-pistorm.html So all I envision is something like Aranym: https://aranym.github.io/ https://aranym.github.io/ ... running on top of Ultibo, say: https://ultibo.org/ https://ultibo.org/ Or maybe Circle: https://github.com/rsta2/circle https://github.com/rsta2/circle
- chris_j 4y agoGot it. Thanks for explaining; I was definitely assuming running natively. I quite like the idea of running Aranym without a full OS but with something like Ultibo or Circle (neither of which I'd heard of before you mentioned them so thanks for putting them on my radar screen) but I'm not quite clear how much OS functionality it would miss in that sort of environment.
- 4y ago