Page 1 of 1

Author:  NotArtyom [ Mon Apr 27, 2020 12:44 pm ]
Post subject:  G-DOS

Hello all,
I just want to share the hobby OS that I've been developing over the past year and a half: G-DOS

Link to the G-DOS GitHub repository

It's a 32-bit ROM-native OS that I initially made for my m68k/68030 based homebrew computer.
I designed it with portability in mind; it currently supports the m68k, arm, and PowerPC architectures, with 6+ platforms implemented.

Some highlights:
Custom libc, shell, and machine monitor
Disk drivers for ATA, ramdisks, and romdisks
ISA driver for CGA graphics output
PS/2 Keyboard driver, and several serial drivers

I've treated G-DOS as my sandbox for playing with various random ideas. It's not intended to be a serious OS for real use, but more as a playground for my low-level coding.
If you want to try running G-DOS, there are instructions on the GitHub page. I warn that I haven't tested the build system for portability that much, and it will probably have cause trouble.

I'm sharing this mostly as a resource for others, since it targets more esoteric hardware.

Author:  BigEd [ Mon Apr 27, 2020 1:40 pm ]
Post subject:  Re: G-DOS

Bravo! Thanks for sharing. A portable OS for anything with a C compiler, more or less?

Author:  NotArtyom [ Mon Apr 27, 2020 2:18 pm ]
Post subject:  Re: G-DOS


Yes, that's the general idea. I put a lot of work into architecture independence.
I can usually port it to new architectures and platforms in just a few hours work.

Author:  oldben [ Mon Apr 27, 2020 6:45 pm ]
Post subject:  Re: G-DOS

I got a 24 bit cpu ... and 6 bit FEILD DATA bytes . Is your OS really portable?
Will it fit in 32K words? Joking aside. Most cpu's now days tend all to be the same
8 bit bytes. 32 or 64 bit ints. Large virtual memory. I tend to feel what makes
a system portable is the C compiler. If you can't port that and self comple on your system
you don't have a portable system.
I have nice 32 bit CPU (DE1 FPGA) but no C compiler or software, just paper tape loader
at the moment. The design is LS TTL from about 1978 time frame with 128KB of memory
and serial I/O. OS/32KB HEAP 32KB RAM 64K, unsigned bytes only. My problem is finding SMALL software.

Author:  NotArtyom [ Mon Apr 27, 2020 9:22 pm ]
Post subject:  Re: G-DOS

Its as portable as I could make it without compromising my sanity :D.
I agree that its not true portability if it's not self hosting. Since I'm not too focused about porting other software to it at the moment, it might be a while before I can be truly portable.
When I started the project, I was focused on the commercial 16-bit CPUs of the home computer era (specifically the m68k), which influenced what I was willing to work with compatibility wise
G-DOS can boot on systems using as little as 16KB of RAM, since its designed to run directly from the ROM of system.

Page 1 of 1 All times are UTC
Powered by phpBB® Forum Software © phpBB Group