6502 based OS - for real
Posted: Fri Jan 28, 2011 3:02 am
Guys, I think we are getting really close to pulling this together. Emulation is great, but I would propose we pull it down to a lower level.
There are a couple of projects out there such as Cosmos (for C# developers) which build a bootloader and can run managed code as an operating system. Another example is MikeOS, an x86 package which compiles and build a very simple kernal and OS which can even be programmed in C. MikeOS even has FAT12 support already.
What I am working on is a proof of concept which boots to a 6502 CPU emulator. It uses the guts of VICE for emulation. The goal is a 6502 based operating system on modern hardware.
Im currently using Cosmos. The emulation works, and Im adding a built in ML monitor. The 6502 can only access 64K RAM, but by using undocumented opcodes, we could easily add task switching capability, and access to much more memory. BASIC would be next.
On top of that, add access to external drives, and this could be really interesting. Cosmos is not ready for prime time just yet, so Id like to redo the emulation in x86 using MikeOS as the foundation.
Id be really curious if anyone else out there is liking this idea and would like to get involved.
Here's a quick screenshot. This boots directly from a CD-ROM on any x86 machine:
http://imgur.com/KLY1P.jpg
There are a couple of projects out there such as Cosmos (for C# developers) which build a bootloader and can run managed code as an operating system. Another example is MikeOS, an x86 package which compiles and build a very simple kernal and OS which can even be programmed in C. MikeOS even has FAT12 support already.
What I am working on is a proof of concept which boots to a 6502 CPU emulator. It uses the guts of VICE for emulation. The goal is a 6502 based operating system on modern hardware.
Im currently using Cosmos. The emulation works, and Im adding a built in ML monitor. The 6502 can only access 64K RAM, but by using undocumented opcodes, we could easily add task switching capability, and access to much more memory. BASIC would be next.
On top of that, add access to external drives, and this could be really interesting. Cosmos is not ready for prime time just yet, so Id like to redo the emulation in x86 using MikeOS as the foundation.
Id be really curious if anyone else out there is liking this idea and would like to get involved.
Here's a quick screenshot. This boots directly from a CD-ROM on any x86 machine:
http://imgur.com/KLY1P.jpg