Page 1 of 1

Halfix v1.0 rc1

Posted: Wed Jul 13, 2005 3:07 pm
by Therx
Finally I've basically finished a kernel of a reasonable standard. I'm sure there are plenty of bugs to be found but I'm releasing what I call "rc1". For the moment I'm just giving the floppy image and code to make modules (the makefile generates module.bin which you can rename and then add to the menu.lst file - the word following the filename is used as the task name and has a maximum of 4 chars).

Unfortunately there aren't any drivers as of yet (that's for rc2) so if you want to display output you'll have to grab the video memory (only 1 task can do this) as it's done in the test module code included. Maybe some kind person could write a video driver :P

I'll be grateful for any comments and suggestions and bug reports etc.

http://halfix.ath.cx/halfix-rc1.zip

Pete

EDIT: Ok, found that it doesn't work in bochs or on a real pc, just VMWare, so I'll try and fix that, but anyone with VMWare, take a look :)

Re:Halfix v1.0 rc1

Posted: Wed Jul 13, 2005 11:52 pm
by distantvoices
The link you have provided doesnt work. Neither does therx.uni.cc. Both give a "not found" error.

Stay safe.

Btw: it's not *that* hard to get a nitty-gritty-text-driver working.

BTWII: Are you nice to your page dir and page tables and zero them out ere using them? That's maybe the source of the "I don't want to work on the pc"-thing.

Re:Halfix v1.0 rc1

Posted: Thu Jul 14, 2005 2:05 am
by Therx
The link should work now. The error is that at some stage the module loaded by GRUB is clobbered. Just got to findout where now...

Pete

Re:Halfix v1.0 rc1

Posted: Thu Jul 14, 2005 4:41 am
by Therx
Thx beyond infinity. It was that I was not using invlpg correctly so it wasn't mapping a page correctly. The same link above should have an image that works now. It won't wrok in bochs because of the use of inportb in a ring3 task although it seems to work on real pcs. If you want to get it to run on bochs you might be able to replace the inportb line with lib_wait_irq(1); but i haven't tested that...

Pete