Page 1 of 1

[Test Request] GZistem 0.1

Posted: Tue Mar 25, 2008 4:41 pm
by gzaloprgm
I'm doing a little os which works on my pc.

I'll like if someone tests it in real hardware and tell me if it works in your hardware. (Don't test vm86 because it crashes :P)

(write "help" for command list)

Please comment about it.

Thanks,
Gonzalo

Posted: Tue Mar 25, 2008 6:13 pm
by lukem95
i like it, it seems very stable. It worked fine on my laptop (see my test bed entry) and on Qemu. I couldn't test the serial port stuff, but i assume you have. Is the source GPL?

your bitmap (i assume it yours) font is also very sexy :)

and one last query, how did you calculate the CPU spins for each task? is it a PIT generated number?

Posted: Tue Mar 25, 2008 6:51 pm
by gzaloprgm
i like it, it seems very stable. It worked fine on my laptop (see my test bed entry) and on Qemu. I couldn't test the serial port stuff, but i assume you have. Is the source GPL?

Cool, it worked in (another) real hardware!. About the source I've doubts concerning license election, but I'll probably use GPL or New BSD.
your bitmap (i assume it yours) font is also very sexy Smile
I didn't implement any bitmap font yet xD. It's the 8x8 bitmap font that your vga bios has. :P
and one last query, how did you calculate the CPU spins for each task? is it a PIT generated number?
Exactly, on each PIT fire I increment atomically the global tick counter and the task spin counter.

Cheers,
Gonzalo

Posted: Wed Mar 26, 2008 7:37 am
by allih
Looks alright to me :)

I've just found one little bug:
If you type more than one line in the command shell ("asdfjkl;" ten times) and press enter, your shell will either block forever, or show a nice red screen with characters having all the colors of the rainbow for an instant, before it reboots.
I've always liked testing for shell bugs ;)

Posted: Wed Mar 26, 2008 8:19 am
by 01000101
hehe, all looks pretty solid except for the shell issue... which here is a screenshot of a little hack on your echo command. =)

Posted: Wed Mar 26, 2008 8:45 am
by JamesM
Works fine for me in qEmu.

Posted: Wed Mar 26, 2008 1:46 pm
by gzaloprgm
If you type more than one line in the command shell ("asdfjkl;" ten times) and press enter, your shell will either block forever, or show a nice red screen with characters having all the colors of the rainbow for an instant, before it reboots.
Hahaha, thanks allih for discovering that bug xD. In fact its caused by this:

Code: Select all

void parse_input(char *input)

{

	char name[64]; //Todo: make it a pointer to a dynamic allocated char array 
Colors of the Rainbow? xD, I guess something of my fault handler was overridden by data, and my shell is running in Ring0 with (almost) no memory protection. :oops:

The bug that 01000101 mentioned is in my strsplit() function, I think.

Cheers,
Gonzalo.