Mojo 0.2.1 released (UPDATE: fixed all reported bugs)

This forums is for OS project announcements including project openings, new releases, update notices, test requests, and job openings (both paying and volunteer).
User avatar
Tomaka17
Member
Member
Posts: 67
Joined: Thu Oct 02, 2008 8:20 am

Re: Mojo 0.2.1 released

Post by Tomaka17 »

Athlon x2 at 2.8 Ghz for me (that confirms your suspicions once more)
MysteriOS
Currently working on: TCP/IP
clange
Member
Member
Posts: 163
Joined: Sun Oct 05, 2008 5:00 am
Location: Copenhagen, Denmark
Contact:

Re: Mojo 0.2.1 released (beta 2, fixed a few bugs)

Post by clange »

Tomaka17 wrote:Athlon x2 at 2.8 Ghz for me (that confirms your suspicions once more)
Indeed it does. Thanks for helping me.

I have found and fixed the hard disk driver halting bug and the mouse out-of-sync bug. Please download the newest version:
Direct link: http://softwarewizard.dk/mojo/downloads ... ta-img.zip

Please note that the GUI works quite bad in VirtualBox and that you have to add the --no-mmx kernel parameter to make the GUI work under Virtual PC.

clange
AUsername
Member
Member
Posts: 54
Joined: Sun Feb 01, 2009 9:07 pm

Re: Mojo 0.2.1 released

Post by AUsername »

Pretty good, I like it so far. ^-^
It takes a little while to boot the kernel though and that kinda annoys me.

Some bugs:
- Pressing any key while loading causes Boch to throw an error:
"kbd: OUTB set and command 0xa9 encountered"
- The puritygui is very slow and eventually it crashes Boch, when testing CPU usage it was almost always 100%

Other than that it ran well, good luck.
clange
Member
Member
Posts: 163
Joined: Sun Oct 05, 2008 5:00 am
Location: Copenhagen, Denmark
Contact:

Re: Mojo 0.2.1 released

Post by clange »

Hi AUsername

Thanks for testing.
AUsername wrote:It takes a little while to boot the kernel though and that kinda annoys me.
Yeah it annoys me too. But there is not much to do about it (assuming that it is the floppy version you tested). The main reason is that I load lots of graphics for the GUI and loading from floppy is slow. Since I have not (yet) implemented a floppy disk driver everything is loaded by GRUB during boot which makes everything seem much slower than if the loads where "spread out" more. The CD version should load in under 10 seconds and the floppy version without GUI in under 30 seconds. And it even used to be be worse :D
AUsername wrote:Pressing any key while loading causes Boch to throw an error: "kbd: OUTB set and command 0xa9 encountered"
I can reproduce it but I will not spend a lot of time fixing it I think. Like the man complaining to the doctor that it hurts when he pokes his finger into his eye. The doctors advice: "Don't do that!" :D
AUsername wrote:The puritygui is very slow and eventually it crashes Boch, when testing CPU usage it was almost always 100%
It is not the GUI that is slow - it is Bochs :D Seriously, I get around 100 FPS in 640x480x32 and around 250 FPS in 640x480x8 using Qemu. But I am actually very impressed with Bochs' performance considering that I update the entire screen on each little change (using dirty lines to do partial updates is on my todo list).

Could you please tell more details about how it crashed Bochs. Did it crash Bochs itself or did the GUI process just crash and if yes which exceptions etc.

clange
User avatar
neon
Member
Member
Posts: 1567
Joined: Sun Feb 18, 2007 7:28 pm
Contact:

Re: Mojo 0.2.1 released

Post by neon »

It is not the GUI that is slow - it is Bochs :D
Even if Bochs operates in realtime rather then its default setting? ie using the pit: realtime=1 configuration option?

(I have not tested your system yet; looks quite nice though :D)
OS Development Series | Wiki | os | ncc
char c[2]={"\x90\xC3"};int main(){void(*f)()=(void(__cdecl*)(void))(void*)&c;f();}
clange
Member
Member
Posts: 163
Joined: Sun Oct 05, 2008 5:00 am
Location: Copenhagen, Denmark
Contact:

Re: Mojo 0.2.1 released

Post by clange »

neon wrote:
It is not the GUI that is slow - it is Bochs :D
Even if Bochs operates in realtime rather then its default setting? ie using the pit: realtime=1 configuration option?
It has been quite a while since I have played with Bochs' configuration so I don't know - but I suspect it is still quite slow compared to eg. Qemu. But I still think that Bochs' is pretty amazing considering that it is pure emulation.
neon wrote:(I have not tested your system yet; looks quite nice though :D)
Thanks, I hope you find some time to test :)

clange
xyzzy
Member
Member
Posts: 391
Joined: Wed Jul 25, 2007 8:45 am
Libera.chat IRC: aejsmith
Location: London, UK
Contact:

Re: Mojo 0.2.1 released

Post by xyzzy »

Works great with the updated build you posted, can't find any other bugs right now. I like your GUI style, btw :)
clange
Member
Member
Posts: 163
Joined: Sun Oct 05, 2008 5:00 am
Location: Copenhagen, Denmark
Contact:

Re: Mojo 0.2.1 released

Post by clange »

AlexExtreme wrote:Works great with the updated build you posted, can't find any other bugs right now.
I'm very happy to hear that it worked - and also that you didn't find any more bugs.
AlexExtreme wrote:I like your GUI style, btw :)
Thanks - but I can't take credit alone. The look is greatly inspired by OS X and actually also the earlier systems and Windows XP too :)

clange
User avatar
xDDunce
Member
Member
Posts: 173
Joined: Tue Aug 12, 2008 4:04 pm
Contact:

Re: Mojo 0.2.1 released

Post by xDDunce »

clange wrote: inspired by OS X
"inspired"? really? looks like you stole the hard disk icon, and a few other things :lol:

but aside from that, it looks REALLY good, and easy to use.

i tested the ISO image in parallels, and it crashed spectacularly. from the looks of it, it loads verbosely with a blue background text, and then something goes wrong... the screen fills with garbage, although the top line has a small amount of readable content (just says "timer: /" and then alot of garbage). after 2 seconds it then repeatedly prints "can't deliver kernel message" and then shuts down (could be a triple fault, parallels doesn't like them).

will be getting a native version of bochs working soon, and can't wait to see this OS working...

Looking good! =D>

Cheers,
James.
clange
Member
Member
Posts: 163
Joined: Sun Oct 05, 2008 5:00 am
Location: Copenhagen, Denmark
Contact:

Re: Mojo 0.2.1 released

Post by clange »

xDDunce wrote:
clange wrote: inspired by OS X
"inspired"? really? looks like you stole the hard disk icon, and a few other things :lol:
I am actually a bit offended that you accuse me of stealing! That is a very serious accusation. So serious that I think you should have done your homework a bit better. I credit everything I use that is not my own - see http://softwarewizard.dk/mojo/index.php?page=credits. I clearly have a link to http://www.iconarchive.com/category/app ... esign.html which is an icon set containing this icon http://www.iconarchive.com/show/cats-ic ... -icon.html. The license clearly says "Free for non-commercial use". </rant>

Sorry, had to get that of my chest. But you are right that the icons look the same. You would be surprised how many icons look alike. I have spend hours browsing http://www.iconarchive.com/ and so many icons look familiar. And with regards to the rest of the look - as users we have some expectations to how things should look and what different icons symbolizes. I can't differ too much without confusing the user and the icons I use are also clearly inspired by other icons (which in turn is inspired by other icons as well). I am very confident that what I am doing is well within the limits of fair use and inspiration.

I actually spend time before each release to review all my graphics to ensure that I can use them legally. And I would never dream of including code that is not my own without clearly crediting the originally source.
xDDunce wrote: but aside from that, it looks REALLY good, and easy to use.
Thanks. That is one of my goal.
xDDunce wrote:i tested the ISO image in parallels, and it crashed spectacularly. from the looks of it, it loads verbosely with a blue background text, and then something goes wrong... the screen fills with garbage, although the top line has a small amount of readable content (just says "timer: /" and then alot of garbage). after 2 seconds it then repeatedly prints "can't deliver kernel message" and then shuts down (could be a triple fault, parallels doesn't like them).
That sounds like a massive throw up by my kernel :D . I don't have Parallels myself (I use Fusion my Mac) so I can't test it. "can't deliver kernel message" means that an IRQ fired, was turned into an IPC message and then the receiving driver's message queues was full. Something weird is going on - I clearly have a massive bug in my kernel. It should never just shut down. I have a double fault handler setup with its own TSS and address space which should catch these errors... But clearly it doesn't happen. I will have to think a bit about what possible scenario could cause what you describe.
xDDunce wrote:will be getting a native version of bochs working soon, and can't wait to see this OS working...

Looking good! =D>

Cheers,
James.
Thanks. I just tried this on my Mac http://www.kju-app.org/ and it works very well. It installed flawless in a few minutes and boots my system perfectly - almost. The RGB values are inverted so instead of a light blue background I now get a light pink background :D

clange

P.S. After having finished writing this I am not offended any more :D I just feel strongly about this issue and had to let out some steam.
User avatar
NickJohnson
Member
Member
Posts: 1249
Joined: Tue Mar 24, 2009 8:11 pm
Location: Sunnyvale, California

Re: Mojo 0.2.1 released

Post by NickJohnson »

I can't get the CD image working under VirtualBox, but even your text mode setup looks great under Bochs. I really like the Life simulator and Tetris game, although the latter crashed a couple of times. I can't wait to get the GUI working, because the screenshots look pretty impressive on your site.

By the way, the error I get in VirtualBox (OSE 2.2.2) is this:

Code: Select all

starting harddisk device driver [7]
internal kernel error in src/kernel/interrupt/interrupt.c at line 233:
failed expression: 'g_enter_kernel_time < g_exit_kernel_time'
User avatar
xDDunce
Member
Member
Posts: 173
Joined: Tue Aug 12, 2008 4:04 pm
Contact:

Re: Mojo 0.2.1 released

Post by xDDunce »

I apologize if I offended. To be honest, the icons look great. Just like the ENTIRE GUI.

Finally got round to testing it in Q and i'm loving it. Good work. Small lack in functionality, but I'm not complaining. If there was a gcc/nasm port for it, I would consider using it as a development environment, due to it's fast loading speed, simplicity AND good looks.

I shall be watching with great intent.

Cheers,
James.
clange
Member
Member
Posts: 163
Joined: Sun Oct 05, 2008 5:00 am
Location: Copenhagen, Denmark
Contact:

Re: Mojo 0.2.1 released

Post by clange »

xDDunce wrote:I apologize if I offended.
Apology accepted. I just had to mention it. I care about rights - mine and others. I make a living making software - and I really, really, really like it when people pay me a lot of money for it :D
xDDunce wrote:To be honest, the icons look great. Just like the ENTIRE GUI.
Thanks a lot.
xDDunce wrote:Finally got round to testing it in Q and i'm loving it. Good work. Small lack in functionality, but I'm not complaining. If there was a gcc/nasm port for it, I would consider using it as a development environment, due to it's fast loading speed, simplicity AND good looks.
Porting gcc and nasm (and the rest of the tools) is on my ToDo list - but just so much to do before I am ready for it. With my current plan I don't think it will happen the next 6-9 months. Being self hosting of course a goal.

clange
clange
Member
Member
Posts: 163
Joined: Sun Oct 05, 2008 5:00 am
Location: Copenhagen, Denmark
Contact:

Re: Mojo 0.2.1 released

Post by clange »

Hi,
thanks for testing.
NickJohnson wrote:I can't get the CD image working under VirtualBox, but even your text mode setup looks great under Bochs. I really like the Life simulator and Tetris game, although the latter crashed a couple of times. I can't wait to get the GUI working, because the screenshots look pretty impressive on your site.

By the way, the error I get in VirtualBox (OSE 2.2.2) is this:

Code: Select all

starting harddisk device driver [7]
internal kernel error in src/kernel/interrupt/interrupt.c at line 233:
failed expression: 'g_enter_kernel_time < g_exit_kernel_time'
Hmmm, it should be impossible (like all other errors :D ). I keep track of the time stamp when entering and exiting the kernel to keep track of time. As usually it is probably my kernel throwing up. I have had this error before, but previously it suddenly disappeared (this always make me nervous). Could you try to reproduce the error with the kernel log level set to 4 and send me a screen shot of the result.

How did you crash the Tetris game. I just tested in VirtualBox 2.2.2 myself. I can't crash it but it clearly doesn't work either. Only 1 block ever falls down. I will add it to my bug list.

clange
User avatar
NickJohnson
Member
Member
Posts: 1249
Joined: Tue Mar 24, 2009 8:11 pm
Location: Sunnyvale, California

Re: Mojo 0.2.1 released

Post by NickJohnson »

I tried it again using loglevel=4, but it gave the same output directly before the error, except that it got to [10] first (it spit some stuff out earlier though.) I would suspect that it has to do with a task switch caused by the PIT handler, because it seems to happen at different intervals based on configuration.

And I guess what I meant by Tetris crashing was it only dropping one piece then stopping. I don't think the system itself crashed.
Attachments
screenshot.png
Post Reply