OSDev.org
https://forum.osdev.org/

What does your OS look like? (Screen Shots..)
https://forum.osdev.org/viewtopic.php?f=1&t=12087
Page 239 of 245

Author:  Peterbjornx [ Sat Nov 21, 2020 8:50 pm ]
Post subject:  Re: What does your OS look like? (Screen Shots..)

Finally got a framework for pseudofilesystems working, started work on an implementation of procfs using it. Upto this point, there was no way for a process running on my kernel to know about other processes (except for maybe something like kill()'s status return or waitpid())
Image

Author:  PeterX [ Sun Nov 22, 2020 3:51 am ]
Post subject:  Re: What does your OS look like? (Screen Shots..)

Looks really good. But the link in your signature isn't working.

Greetings
Peter

Author:  Kazinsal [ Sun Nov 22, 2020 6:42 am ]
Post subject:  Re: What does your OS look like? (Screen Shots..)

Nothing terribly exciting out of this neck of the woods. Runtime configuration is coming together, as can be seen here:

Image

Meanwhile I'm also working on laying out some documentation once again for compilation into a book to go along with the system:

Image
Click for big.

Author:  Peterbjornx [ Sun Nov 22, 2020 5:13 pm ]
Post subject:  Re: What does your OS look like? (Screen Shots..)

PeterX wrote:
Looks really good. But the link in your signature isn't working.


Hmm. I need to fix that, https://github.com/posnk/posnk/ is the kernel.

Also, getting pretty close to being able to implement an userland debugger in my OS
Image

Author:  klange [ Sun Nov 22, 2020 5:34 pm ]
Post subject:  Re: What does your OS look like? (Screen Shots..)

Peterbjornx wrote:
PeterX wrote:
Looks really good. But the link in your signature isn't working.


Hmm. I need to fix that, https://github.com/posnk/posnk/ is the kernel.

Do you have any pre-built release downloads?

Author:  Peterbjornx [ Sun Nov 22, 2020 6:36 pm ]
Post subject:  Re: What does your OS look like? (Screen Shots..)

klange wrote:
Peterbjornx wrote:
PeterX wrote:
Looks really good. But the link in your signature isn't working.


Hmm. I need to fix that, https://github.com/posnk/posnk/ is the kernel.

Do you have any pre-built release downloads?

Not any good ones, at the moment, unfortunately. Things are still somewhat broken after some major kernel refactoring. (i started the project back in '14 when i was still in high school, needless to say, i've learnt a lot since then.)

My testing at the moment uses a pretty barebones rootfs, and I also haven't yet added a lot of the new features to my busybox port.

I'll throw together a quick image without a gui or VIM. Don't have a bootloader setup script handy so you'll have to use "-kernel" on qemu.

Author:  Peterbjornx [ Sun Nov 22, 2020 6:52 pm ]
Post subject:  Re: What does your OS look like? (Screen Shots..)

Peterbjornx wrote:
I'll throw together a quick image without a gui or VIM. Don't have a bootloader setup script handy so you'll have to use "-kernel" on qemu.

To run using ATA harddrive (RW root):
Code:
qemu-system-i386 -m 512M -vga std -kernel vmpos -append "= console=/dev/tty1 root=1000 con.sink.sercon.level=debug" -hda demoroot.img -serial stdio -s -enable-kvm


To run using ramdisk (slow boot, but can be used on real HW too):
Code:
qemu-system-i386 -m 512M -vga std -kernel vmpos -append "= console=/dev/tty1 con.sink.sercon.level=debug " -initrd demoroot.img -serial stdio -s -enable-kvm



Kernel: https://pbx.sh/upl/vmpos (<2M)
Root FS: https://pbx.sh/upl/demoroot.img (128M)

This is still a pretty damn unstable build, and one of the things on top of the To Do list is to add a UBSAN runtime and clear out some of the code rot.
I had signals working fully before I added multithreading to the kernel, they are somewhat buggy now.

If you want to debug some program, set the sercon level to trace, and you'll get a strace-like output from the serial console

Author:  eekee [ Mon Nov 23, 2020 5:14 pm ]
Post subject:  Re: What does your OS look like? (Screen Shots..)

@Kazinsal: What's the .\\pipe\compipe in Putty's title? If that's a way for Putty to connect to a VM's serial port, I'm super-interested! ;)

I might go for asymmetric multiprocessing myself.

Author:  Kazinsal [ Tue Nov 24, 2020 4:23 pm ]
Post subject:  Re: What does your OS look like? (Screen Shots..)

eekee wrote:
@Kazinsal: What's the \\.\pipe\compipe in Putty's title? If that's a way for Putty to connect to a VM's serial port, I'm super-interested! ;)

I might go for asymmetric multiprocessing myself.


\\.\pipe\ is the NT namespace for named pipes, and PuTTY can open named pipes as serial ports like so:
Image

On the VirtualBox side, it's configured like this:
Image

Make sure to uncheck "Connect to existing pipe/socket" so VirtualBox creates the named pipe when the VM starts and closes it when it stops. It'll keep it open if the OS restarts the VM or if you "hard reset" it, so you won't lose any scrollback on a restart. I use it when testing changes, as I can build a new ISO, tab back over to PuTTY, type "reload" into my console, and then once it finishes rebooting I can run my test and scroll up to compare output.

Author:  eekee [ Wed Nov 25, 2020 6:43 am ]
Post subject:  Re: What does your OS look like? (Screen Shots..)

@Kazinsal: Thanks! I was hoping NT had something like this.

Author:  astralorchid [ Sat Dec 05, 2020 12:50 pm ]
Post subject:  Re: What does your OS look like? (Screen Shots..)

Image

Author:  eekee [ Sun Dec 06, 2020 11:27 am ]
Post subject:  Re: What does your OS look like? (Screen Shots..)

@astralorchid: Is that 3 programs? (terminal, test, and shell?) Whether it is or it isn't, it looks like you're getting somewhere. :)

Author:  astralorchid [ Sun Dec 06, 2020 12:21 pm ]
Post subject:  Re: What does your OS look like? (Screen Shots..)

eekee wrote:
@astralorchid: Is that 3 programs? (terminal, test, and shell?) Whether it is or it isn't, it looks like you're getting somewhere. :)

the terminal is the shell and loads like a program, but it's a bit more connected to the kernel.

I also took Terry's advice and looked into INT 0x13/AH 0x42. Now the OS is booting on everything from an old 32bit BIOS to a UEFI with CSM from this year.

Author:  eekee [ Sun Dec 06, 2020 1:41 pm ]
Post subject:  Re: What does your OS look like? (Screen Shots..)

astralorchid wrote:
eekee wrote:
@astralorchid: Is that 3 programs? (terminal, test, and shell?) Whether it is or it isn't, it looks like you're getting somewhere. :)

the terminal is the shell and loads like a program, but it's a bit more connected to the kernel.

That's fair enough. I'm not keen on normal terminals anyway.

astralorchid wrote:
I also took Terry's advice and looked into INT 0x13/AH 0x42. Now the OS is booting on everything from an old 32bit BIOS to a UEFI with CSM from this year.

Cool. :)

Author:  Gigasoft [ Fri Dec 11, 2020 12:48 pm ]
Post subject:  Re: What does your OS look like? (Screen Shots..)

New progress:
- Debugger is now accessible from very early on during booting, using text mode
- Many debugger improvements
- Drivers are now dynamically loaded instead of being compiled into the kernel. Drivers for boot media are loaded using function provided by boot sector.
- Doesn't crash as much
- Can run more DOS programs

Attachments:
emulators.png
emulators.png [ 73.74 KiB | Viewed 384 times ]

Page 239 of 245 All times are UTC - 6 hours
Powered by phpBB © 2000, 2002, 2005, 2007 phpBB Group
http://www.phpbb.com/