What does your OS look like? (Screen Shots..)

Question about which tools to use, bugs, the best way to implement a function, etc should go here. Don't forget to see if your question is answered in the wiki first! When in doubt post here.
User avatar
thepowersgang
Member
Member
Posts: 734
Joined: Tue Dec 25, 2007 6:03 am
Libera.chat IRC: thePowersGang
Location: Perth, Western Australia
Contact:

Re: What does your OS look like? (Screen Shots..)

Post by thepowersgang »

It's been a while since I've shown off :)

These two screenshots are from running irssi via ssh (with the ssh client being my OS).
The first is it derping a little because I forgot a 'break' in the terminal code, send shot it actually works.

TCP stack is a little glitchy though (when taking these screenshots, the connection would freeze for a few mins at a time then flush in one go)
Attachments
Working!
Working!
Irssi not quite working via ssh
Irssi not quite working via ssh
Kernel Development, It's the brain surgery of programming.
Acess2 OS (c) | Tifflin OS (rust) | mrustc - Rust compiler
Currently Working on: mrustc
User avatar
Bender
Member
Member
Posts: 449
Joined: Wed Aug 21, 2013 3:53 am
Libera.chat IRC: bender|
Location: Asia, Singapore

Re: What does your OS look like? (Screen Shots..)

Post by Bender »

@thepowersgang: Should we be expecting Mozilla Firefox on Acess in a few weeks? :)
"In a time of universal deceit - telling the truth is a revolutionary act." -- George Orwell
(R3X Runtime VM)(CHIP8 Interpreter OS)
User avatar
Bender
Member
Member
Posts: 449
Joined: Wed Aug 21, 2013 3:53 am
Libera.chat IRC: bender|
Location: Asia, Singapore

Re: What does your OS look like? (Screen Shots..)

Post by Bender »

Time to show off a little bit.
My kernel's name is ZNU :), right now it has C and assembly apps support, FAT16 (Read Only, IDE HDD)
PS/2 Keyboard Support, and some nice VGA (80x25 and 90x60) drivers, Palette, VGA Font Loading, VGA Resolution
setting all is done by the driver, the only places I use BIOS calls are for PCI Installation Check, A20, and Memory Detection,
so my OS is mostly free from the BIOS :)
Newlib? Hell no, enough of people have ported newlib, way too boring now :)
So?
ZNULIB! ZNULIB!
LOL!
And Why Not Newlib?
Because, Zicronix is Not Un*x :)
And gcc is also boring, so?
SmallerC :)
Image

Code: Select all

// Compile with SmallerC
// smlrc -seg32 -no-externs helloc.c helloc.asm
// nasm -f bin helloc.asm -o helloc.znx
#include "znu\\lib\\znulib.h"
int z_main(void)
{
	// Called by Zicronix
	printf("Application in C? Cool!");
	// Change Color
	set_text_color(0x2F);
	// Print
	printf("I can change Text Color\n, Load Files, Read PCI stuff all in C!");
	// Return
	kernel_return();
}
"In a time of universal deceit - telling the truth is a revolutionary act." -- George Orwell
(R3X Runtime VM)(CHIP8 Interpreter OS)
User avatar
VolTeK
Member
Member
Posts: 815
Joined: Sat Nov 15, 2008 2:37 pm
Location: The Fire Nation

Re: What does your OS look like? (Screen Shots..)

Post by VolTeK »

Bender wrote:Time to show off a little bit.
Assuming you copied none of that, that actually looks like some pretty good progress.
User avatar
Bender
Member
Member
Posts: 449
Joined: Wed Aug 21, 2013 3:53 am
Libera.chat IRC: bender|
Location: Asia, Singapore

Re: What does your OS look like? (Screen Shots..)

Post by Bender »

Assuming you copied none of that, that actually looks like some pretty good progress.
Lol thanks.
But just to bring your hopes down, I did use some JamesM code as a reference (mostly paging) Some code blocks are directly converted to assembler from C, and the VGA 8x8 font is direct copy-paste. Credits are given though. However converting the code to asm wasn't easy. :)
"In a time of universal deceit - telling the truth is a revolutionary act." -- George Orwell
(R3X Runtime VM)(CHIP8 Interpreter OS)
User avatar
piranha
Member
Member
Posts: 1391
Joined: Thu Dec 21, 2006 7:42 pm
Location: Unknown. Momentum is pretty certain, however.
Contact:

Re: What does your OS look like? (Screen Shots..)

Post by piranha »

Woo, updates! Spent yesterday evening with some tea, and coded up a module for my OS that does AES encryption with Intel's AES instructions! And they work! (I know, I was amazed too!)
Here is a test encrypt / decrypt:
Image

And if you want to see the relevant code (Not quite as cleaned up as I'd like, and it wouldn't surprise me if there is a bug somewhere): https://github.com/dbittman/seakernel/b ... /aes-x86.c

The article that I worked from is here: http://software.intel.com/en-us/article ... ctions-set

Happy coding!
SeaOS: Adding VT-x, networking, and ARM support
dbittman on IRC, @danielbittman on twitter
https://dbittman.github.io
User avatar
Bender
Member
Member
Posts: 449
Joined: Wed Aug 21, 2013 3:53 am
Libera.chat IRC: bender|
Location: Asia, Singapore

Re: What does your OS look like? (Screen Shots..)

Post by Bender »

Getting ready for FASM port, once I get some writing functions done, it's gonna look cool.
Implemented directories, and 'cd' command in shell :).
Image
Browsing the kernel sources :).
Also, note that the root directory will remain inaccessible to programs or shell, since it contains
'kernel32.exe', way too important :)
@piranha: Congratulations. Cool.
"In a time of universal deceit - telling the truth is a revolutionary act." -- George Orwell
(R3X Runtime VM)(CHIP8 Interpreter OS)
windows8
Member
Member
Posts: 33
Joined: Sat Feb 23, 2013 3:52 am

Re: What does your OS look like? (Screen Shots..)

Post by windows8 »

--- The Serial Port support! Now my os will send the kernel log to the first serial port!
--- The Rock Ridge and POSIX File Permission support!
Image
Image

The source code is at http://github.com/docqstudio/docqos :D :D
klange
Member
Member
Posts: 679
Joined: Wed Mar 30, 2011 12:31 am
Libera.chat IRC: klange
Discord: klange

Re: What does your OS look like? (Screen Shots..)

Post by klange »

I've had a busy couple of weeks running through a list of long-standing issues and TODOs in my kernel, mostly things to improve "quality of life", so to speak.

The complete list is:
- Loadable kernel modules
- Block devices for disk drives (/dev/hda) and partitions (/dev/hda0)
- Exposed character devices for mouse (/dev/mouse) and keyboard (/dev/kbd) rather than using dedicated system calls
- Almost a complete rewrite of my ext2 drivers to support block devices and multiple instances
- All of ^ that stuff is in modules, as is my kernel debug shell, and other minor virtual devices (null, zero, random, tmpfs) and real devices (serial)

Code: Select all

toaru-0.6.1-dev /# modules
ps2kbd at 0x0016e000 {.init=0x0016e050, .fini=0x0016e040}
serial at 0x00159000 {.init=0x00159290, .fini=0x00159060}
random at 0x00158000 {.init=0x00158080, .fini=0x00158070}
procfs at 0x0015b000 {.init=0x0015b060, .fini=0x0015b050}
ext2 at 0x00162000 {.init=0x00162320, .fini=0x00162060}
debugshell at 0x00166000 {.init=0x00166090, .fini=0x00166060}
ata at 0x00160000 {.init=0x001609e0, .fini=0x00160070}
ps2mouse at 0x0016c000 {.init=0x0016c1e0, .fini=0x0016c040}
zero at 0x00157000 {.init=0x001570f0, .fini=0x001570b0}
tmpfs at 0x0015d000 {.init=0x0015dd80, .fini=0x0015d060}
Image
User avatar
Bender
Member
Member
Posts: 449
Joined: Wed Aug 21, 2013 3:53 am
Libera.chat IRC: bender|
Location: Asia, Singapore

Re: What does your OS look like? (Screen Shots..)

Post by Bender »

ToaruOS could turn into an everyday OS once it gets networking capabilities I guess. :)
"In a time of universal deceit - telling the truth is a revolutionary act." -- George Orwell
(R3X Runtime VM)(CHIP8 Interpreter OS)
SoUrcerer
Posts: 11
Joined: Thu Sep 22, 2011 2:45 am

Re: What does your OS look like? (Screen Shots..)

Post by SoUrcerer »

Meanwhile, KolibriOS boots into Windows (using 8086tiny VM):
Image
User avatar
Bender
Member
Member
Posts: 449
Joined: Wed Aug 21, 2013 3:53 am
Libera.chat IRC: bender|
Location: Asia, Singapore

Re: What does your OS look like? (Screen Shots..)

Post by Bender »

This had driven me insane for the past few weeks, I had lost almost all hope of my OS having a text editor, but today made some few changes and got it working. :)
Reasons why it's better than Vim.
You CAN EASILY exit. Exit is supported by pressing escape, no need to force quit or something like that. Is exit even supported in vim </troll>
You can now save by just pressing F2, no need to switch modes. :)
Only 3.2 KB in size. :P
No need to memorize commands like q!, :w, etc. just remember the keys, if you get stuck just press F1 :)
If anyone wonders, that green 'E' on the top left corner is basically for debugging purposes, green E means IRQ 0xE is handled properly.
You can also press 'CTRL + ALT' to stop the current program and look at the registers :).
Attachments
zedit.png
"In a time of universal deceit - telling the truth is a revolutionary act." -- George Orwell
(R3X Runtime VM)(CHIP8 Interpreter OS)
User avatar
Shirk
Posts: 8
Joined: Thu Dec 16, 2010 3:05 am

Re: What does your OS look like? (Screen Shots..)

Post by Shirk »

Pretty nice Bender - I like the progress you made in the past months (I have the 'What does your OS look like?' and 'When your OS goes crazy' threads pinned).
Is it still as much borrowed code as when you started or are you rewriting / replacing?
--
Cheers,
Shirk
User avatar
Bender
Member
Member
Posts: 449
Joined: Wed Aug 21, 2013 3:53 am
Libera.chat IRC: bender|
Location: Asia, Singapore

Re: What does your OS look like? (Screen Shots..)

Post by Bender »

Shirk wrote:Pretty nice Bender - I like the progress you made in the past months (I have the 'What does your OS look like?' and 'When your OS goes crazy' threads pinned).
Is it still as much borrowed code as when you started or are you rewriting / replacing?
Thanks, I do have some borrowed code, but most parts of system are written by me, when I started I had used MikeOS as a base, but I soon felt 16-bit to be limited, so I started out by creating some test projects (not exactly an OS), that switch to Protected Mode and did some specific stuff, like one of them switched to PM and read a disk sector, or another one which printed the registers to screen or one that enabled SSE and VMX and executed their instructions respectively or a basic task switcher, soon I merged these little bits and the result was a sort of OS. Hopefully I'll get rid of the borrowed code, that's one of my goals before I do an official release of the project. :)
"In a time of universal deceit - telling the truth is a revolutionary act." -- George Orwell
(R3X Runtime VM)(CHIP8 Interpreter OS)
User avatar
Roman
Member
Member
Posts: 568
Joined: Thu Mar 27, 2014 3:57 am
Location: Moscow, Russia
Contact:

Re: What does your OS look like? (Screen Shots..)

Post by Roman »

Image
"If you don't fail at least 90 percent of the time, you're not aiming high enough."
- Alan Kay
Post Reply