OSDev.org

The Place to Start for Operating System Developers
It is currently Thu Mar 04, 2021 7:24 am

All times are UTC - 6 hours




Post new topic Reply to topic  [ 3666 posts ]  Go to page Previous  1 ... 236, 237, 238, 239, 240, 241, 242 ... 245  Next
Author Message
 Post subject: Re: What does your OS look like? (Screen Shots..)
PostPosted: Sat Nov 21, 2020 8:50 pm 
Offline
Member
Member

Joined: Thu May 06, 2010 4:34 am
Posts: 113
Location: Leiden, The Netherlands
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

_________________
posnk ( a simple unix clone )
twitter profile - security research, die shots and IC reverse engineering, low level stuff


Top
 Profile  
 
 Post subject: Re: What does your OS look like? (Screen Shots..)
PostPosted: Sun Nov 22, 2020 3:51 am 
Offline
Member
Member
User avatar

Joined: Fri Nov 22, 2019 5:46 am
Posts: 576
Looks really good. But the link in your signature isn't working.

Greetings
Peter

_________________
The "fanboy" ;)
https://wiki.osdev.org/User:PeterX


Top
 Profile  
 
 Post subject: Re: What does your OS look like? (Screen Shots..)
PostPosted: Sun Nov 22, 2020 6:42 am 
Offline
Member
Member
User avatar

Joined: Wed Jul 13, 2011 7:38 pm
Posts: 556
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.


Top
 Profile  
 
 Post subject: Re: What does your OS look like? (Screen Shots..)
PostPosted: Sun Nov 22, 2020 5:13 pm 
Offline
Member
Member

Joined: Thu May 06, 2010 4:34 am
Posts: 113
Location: Leiden, The Netherlands
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

_________________
posnk ( a simple unix clone )
twitter profile - security research, die shots and IC reverse engineering, low level stuff


Top
 Profile  
 
 Post subject: Re: What does your OS look like? (Screen Shots..)
PostPosted: Sun Nov 22, 2020 5:34 pm 
Online
Member
Member

Joined: Wed Mar 30, 2011 12:31 am
Posts: 432
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?

_________________
toaruos on github | toaruos.org | gitlab | twitter | bim - a text editor


Top
 Profile  
 
 Post subject: Re: What does your OS look like? (Screen Shots..)
PostPosted: Sun Nov 22, 2020 6:36 pm 
Offline
Member
Member

Joined: Thu May 06, 2010 4:34 am
Posts: 113
Location: Leiden, The Netherlands
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.

_________________
posnk ( a simple unix clone )
twitter profile - security research, die shots and IC reverse engineering, low level stuff


Top
 Profile  
 
 Post subject: Re: What does your OS look like? (Screen Shots..)
PostPosted: Sun Nov 22, 2020 6:52 pm 
Offline
Member
Member

Joined: Thu May 06, 2010 4:34 am
Posts: 113
Location: Leiden, The Netherlands
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

_________________
posnk ( a simple unix clone )
twitter profile - security research, die shots and IC reverse engineering, low level stuff


Top
 Profile  
 
 Post subject: Re: What does your OS look like? (Screen Shots..)
PostPosted: Mon Nov 23, 2020 5:14 pm 
Offline
Member
Member
User avatar

Joined: Mon May 22, 2017 5:56 am
Posts: 546
@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.

_________________
Kaph link pending. code pending. design pending. plans in a state of flux! everything pending! choice of language still up in the air! why is nothing coming together?!?


Top
 Profile  
 
 Post subject: Re: What does your OS look like? (Screen Shots..)
PostPosted: Tue Nov 24, 2020 4:23 pm 
Offline
Member
Member
User avatar

Joined: Wed Jul 13, 2011 7:38 pm
Posts: 556
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.


Top
 Profile  
 
 Post subject: Re: What does your OS look like? (Screen Shots..)
PostPosted: Wed Nov 25, 2020 6:43 am 
Offline
Member
Member
User avatar

Joined: Mon May 22, 2017 5:56 am
Posts: 546
@Kazinsal: Thanks! I was hoping NT had something like this.

_________________
Kaph link pending. code pending. design pending. plans in a state of flux! everything pending! choice of language still up in the air! why is nothing coming together?!?


Top
 Profile  
 
 Post subject: Re: What does your OS look like? (Screen Shots..)
PostPosted: Sat Dec 05, 2020 12:50 pm 
Offline

Joined: Sun Nov 29, 2020 10:24 pm
Posts: 6
Image


Top
 Profile  
 
 Post subject: Re: What does your OS look like? (Screen Shots..)
PostPosted: Sun Dec 06, 2020 11:27 am 
Offline
Member
Member
User avatar

Joined: Mon May 22, 2017 5:56 am
Posts: 546
@astralorchid: Is that 3 programs? (terminal, test, and shell?) Whether it is or it isn't, it looks like you're getting somewhere. :)

_________________
Kaph link pending. code pending. design pending. plans in a state of flux! everything pending! choice of language still up in the air! why is nothing coming together?!?


Top
 Profile  
 
 Post subject: Re: What does your OS look like? (Screen Shots..)
PostPosted: Sun Dec 06, 2020 12:21 pm 
Offline

Joined: Sun Nov 29, 2020 10:24 pm
Posts: 6
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.


Top
 Profile  
 
 Post subject: Re: What does your OS look like? (Screen Shots..)
PostPosted: Sun Dec 06, 2020 1:41 pm 
Offline
Member
Member
User avatar

Joined: Mon May 22, 2017 5:56 am
Posts: 546
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. :)

_________________
Kaph link pending. code pending. design pending. plans in a state of flux! everything pending! choice of language still up in the air! why is nothing coming together?!?


Top
 Profile  
 
 Post subject: Re: What does your OS look like? (Screen Shots..)
PostPosted: Fri Dec 11, 2020 12:48 pm 
Offline
Member
Member

Joined: Sat Nov 21, 2009 5:11 pm
Posts: 737
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 389 times ]
Top
 Profile  
 
Display posts from previous:  Sort by  
Post new topic Reply to topic  [ 3666 posts ]  Go to page Previous  1 ... 236, 237, 238, 239, 240, 241, 242 ... 245  Next

All times are UTC - 6 hours


Who is online

Users browsing this forum: Google [Bot] and 16 guests


You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot post attachments in this forum

Search for:
Jump to:  
Powered by phpBB © 2000, 2002, 2005, 2007 phpBB Group