OSDev.org

The Place to Start for Operating System Developers
It is currently Tue Sep 07, 2010 3:13 pm

All times are UTC - 6 hours




Post new topic Reply to topic  [ 9 posts ] 
Author Message
 Post subject: Aprom 100626: VESA testing
PostPosted: Sat Jun 26, 2010 4:12 pm 
Offline
Member
Member
User avatar

Joined: Fri Aug 21, 2009 5:54 am
Posts: 60
Location: Moscow, Russia
Hello once more, continuing from viewtopic.php?f=2&t=22021

Aprom is a modular 32bit OS with tightly bound design, that i have been developing every now and then over the years.
An interesting OS needs a GUI. A working GUI. Just the thing that wasn't a focus before, resulting in an emulator-only slow and buggy.

You can get it here:
http://orbides.1gb.ru/aprom_100626.zip
Contains a floppy image and a grub script for other options.

What is it about:
Right now i want to know, whether the VESA driver works properly on various real PCs with VESA-supporting graphic cards. Properly means no artefacts, holes in image, missing parts, etc (except for flashing mouse cursor).
So, if you have a system that meets the description, feedback is welcome.

HowTo:
-At start you can select which mode to run, auto will detect and select 800x600 LFB mode.
If that fails, manual would allow you to pick a mode yourself (- before mode number disables LFB). If some of the programs are causing problems (lack of memory+no fixed sequence=everything loads before GUI server gets a chance, for example), there is a manual, no-autorun mode, which will only start a file browser and a shell. Lastly, there is a currently-useless console mode (you can run the GUI from it with "gui & zterm" command).

-The tasks are switched by the rectangles in the upper-left corner.
If the mouse doesn't work, Caps Lock toggles them one by one.

-In LFB mode, the general expectation is responsiveness and fluid motion (unless PC is really slow), in banked mode - only correctness, things should appear more or less like in screenshots below.

Test apps:
Sin wave animation. No controls, expected fluid motion.
Image

Variety of controls, FASM not included, so won't do much. Should appear and behave correctly, and be responsive.
Image

Two OpenGL tests. Fluid animation expected.
Image

Particle pool. Left mouse button attracts, right - repels.
Image

File browser. Arrows to select, enter to execute or go in. Should be responsive.
Image

Generic graphics test. Mouse moves the image. Should be reasonably fluid, look for edge artefacts.
Image

Console. Should be responsive (as all of them :) ), other than that - not consistent enough for useability. Supports minimal bash-like tokens. No current dir - ls only accepts full path like /bin/hello.
Image


Top
 Profile  
 
 Post subject: Re: Aprom 100626: VESA testing
PostPosted: Sat Jun 26, 2010 5:15 pm 
Offline
Member
Member
User avatar

Joined: Wed Oct 18, 2006 3:45 am
Posts: 4909
Location: Staphorst, The Netherlands
I get a reset on the first computer I try, almost immediately after grub transfers control to the kernel. I can't spot any output besides that of grub. I'm sorry, but it seems that VBE testing is not going to be done today. :(

(For specs, see Amalthea)

_________________
"After you finish the first 90% of a project, you have to finish the other 90%." - Michael Abrash
[ My OS ] [ VDisk/SFS ]


Top
 Profile  
 
 Post subject: Re: Aprom 100626: VESA testing
PostPosted: Sat Jun 26, 2010 6:23 pm 
Offline
Member
Member
User avatar

Joined: Fri Aug 21, 2009 5:54 am
Posts: 60
Location: Moscow, Russia
Combuster wrote:
I get a reset on the first computer I try, almost immediately after grub transfers control to the kernel. I can't spot any output besides that of grub. I'm sorry, but it seems that VBE testing is not going to be done today. :(
Unexected would be the right word.
Can you see font change before it crashes?
Would it get to the run-level menu if you replace init on floppy with this: http://orbides.1gb.ru/ape-init-novm.zip ? (V86 monitor disabled, likely no use trying anything further. Only thing i can think of failing).
Also, with 32mb you'd like to start it in manual-no autorun, since all the apps at once would take more than that.


Top
 Profile  
 
 Post subject: Re: Aprom 100626: VESA testing
PostPosted: Sun Jun 27, 2010 5:14 am 
Offline
Member
Member
User avatar

Joined: Wed Oct 18, 2006 3:45 am
Posts: 4909
Location: Staphorst, The Netherlands
No change at all. I can't spot font changes either, but that doesn't mean it crashes before the screen gets updated.

_________________
"After you finish the first 90% of a project, you have to finish the other 90%." - Michael Abrash
[ My OS ] [ VDisk/SFS ]


Top
 Profile  
 
 Post subject: Re: Aprom 100626: VESA testing
PostPosted: Sun Jun 27, 2010 5:43 am 
Offline
Member
Member
User avatar

Joined: Fri Aug 21, 2009 5:54 am
Posts: 60
Location: Moscow, Russia
Combuster wrote:
No change at all. I can't spot font changes either, but that doesn't mean it crashes before the screen gets updated.

Sounds bad. Any luck with other systems?


Top
 Profile  
 
 Post subject: Re: Aprom 100626: VESA testing
PostPosted: Sun Jun 27, 2010 5:56 am 
Offline
Member
Member
User avatar

Joined: Wed Oct 18, 2006 3:45 am
Posts: 4909
Location: Staphorst, The Netherlands
I have nothing with better specs that's both connected and available for testing - unless you are actually looking for a 486 clone. You'll have to wait until next weekend before I can try that.

_________________
"After you finish the first 90% of a project, you have to finish the other 90%." - Michael Abrash
[ My OS ] [ VDisk/SFS ]


Top
 Profile  
 
 Post subject: Re: Aprom 100626: VESA testing
PostPosted: Tue Jul 06, 2010 5:46 am 
Offline
Member
Member
User avatar

Joined: Fri Aug 21, 2009 5:54 am
Posts: 60
Location: Moscow, Russia
So, anyone?


Top
 Profile  
 
 Post subject: Re: Aprom 100626: VESA testing
PostPosted: Tue Jul 06, 2010 3:53 pm 
Offline
Member
Member
User avatar

Joined: Wed Oct 18, 2006 3:45 am
Posts: 4909
Location: Staphorst, The Netherlands
Sorry, I forgot to do my promised testing batch :oops: Using the original image:

Saturn: Resets in the same way as Amalthea.
Io: Only resolutions up to 640x480 get reported for selection - the card can do much better. Also, there's a serious latency between the mouse and GUI functions for real hardware (the whole thing runs at about 3fps).

Do you in any way depend on a local apic/io apic being present? Because that's the only real difference between the crashing machines and the working machines I can find right now.

_________________
"After you finish the first 90% of a project, you have to finish the other 90%." - Michael Abrash
[ My OS ] [ VDisk/SFS ]


Top
 Profile  
 
 Post subject: Re: Aprom 100626: VESA testing
PostPosted: Wed Jul 07, 2010 4:08 am 
Offline
Member
Member
User avatar

Joined: Fri Aug 21, 2009 5:54 am
Posts: 60
Location: Moscow, Russia
Combuster wrote:
Saturn: Resets in the same way as Amalthea.
Io: Only resolutions up to 640x480 get reported for selection - the card can do much better. Also, there's a serious latency between the mouse and GUI functions for real hardware (the whole thing runs at about 3fps).

Do you in any way depend on a local apic/io apic being present? Because that's the only real difference between the crashing machines and the working machines I can find right now.
Okay, let's see.
Here is a newer image:
http://orbides.1gb.ru/aprom_100707.zip

In there there are two img's - a.img is the regular demo like the one before, b.img is a minimal hello world with the same kernel.

Please try a.img as before, and if it keep crashing, try b.img where it does. Latter should blank the screen and write a string on it's top. Hopefully, it will at least tell if the crash happens early in the kernel, or somewhere down the line in the user space.

local/io apic's are not used, so it's probably unrelated.

About the working case - does it say LFB or Banked in green font at middle-right of the top panel? If latter, does the content look correct?
Then, does the mode selection options improved in any way with the new image?

And, btw, thank you for the efforts.


Top
 Profile  
 
Display posts from previous:  Sort by  
Post new topic Reply to topic  [ 9 posts ] 

All times are UTC - 6 hours


Who is online

Users browsing this forum: MSN [Bot] and 3 guests


You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot post attachments in this forum

Search for:
Jump to:  
Powered by phpBB © 2000, 2002, 2005, 2007 phpBB Group