Page 103 of 262

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

Posted: Sat Mar 01, 2014 9:21 pm
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)

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

Posted: Sat Mar 01, 2014 10:45 pm
by Bender
@thepowersgang: Should we be expecting Mozilla Firefox on Acess in a few weeks? :)

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

Posted: Mon Mar 03, 2014 3:53 am
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();
}

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

Posted: Mon Mar 03, 2014 5:56 pm
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.

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

Posted: Mon Mar 03, 2014 7:41 pm
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. :)

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

Posted: Fri Mar 07, 2014 2:23 pm
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!

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

Posted: Sat Mar 08, 2014 1:51 am
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.

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

Posted: Sun Mar 09, 2014 7:44 am
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

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

Posted: Sun Mar 16, 2014 11:14 pm
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

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

Posted: Mon Mar 17, 2014 5:54 am
by Bender
ToaruOS could turn into an everyday OS once it gets networking capabilities I guess. :)

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

Posted: Thu Mar 27, 2014 1:46 pm
by SoUrcerer
Meanwhile, KolibriOS boots into Windows (using 8086tiny VM):
Image

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

Posted: Thu Mar 27, 2014 10:57 pm
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 :).

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

Posted: Fri Mar 28, 2014 12:58 am
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?

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

Posted: Fri Mar 28, 2014 3:08 am
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. :)

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

Posted: Fri Mar 28, 2014 2:41 pm
by Roman
Image