i gotz VGA =]

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
lukem95
Member
Member
Posts: 536
Joined: Fri Aug 03, 2007 6:03 am
Location: Cambridge, UK

i gotz VGA =]

Post by lukem95 »

ok, so yeah its not much, but i got a basic VGA driver implemented using some of Chris Giese's code mixed with some magic i thought up/guessed.

I'm now gonna start on some basic GUI stuff until i get bored, when i'll try for VESA and a remotely decent res (not piddly 320x200x256).

anyway, i had to announce it, cos im well chuffed =]

Image
~ Lukem95 [ Cake ]
Release: 0.08b
Image
User avatar
01000101
Member
Member
Posts: 1599
Joined: Fri Jun 22, 2007 12:47 pm
Contact:

Post by 01000101 »

nice, good job.
chuffed? lol i haven't the foggiest of what that means.

do you have mouse support yet? or are you just doing graphics for the fun of it?
User avatar
piranha
Member
Member
Posts: 1391
Joined: Thu Dec 21, 2006 7:42 pm
Location: Unknown. Momentum is pretty certain, however.
Contact:

Post by piranha »

Did you use a tutorial or a doc or what? And can you give me the link?

-JL
SeaOS: Adding VT-x, networking, and ARM support
dbittman on IRC, @danielbittman on twitter
https://dbittman.github.io
User avatar
Combuster
Member
Member
Posts: 9301
Joined: Wed Oct 18, 2006 3:45 am
Libera.chat IRC: [com]buster
Location: On the balcony, where I can actually keep 1½m distance
Contact:

Post by Combuster »

vga graphics are easy. VGA Hardware
"Certainly avoid yourself. He is a newbie and might not realize it. You'll hate his code deeply a few years down the road." - Sortie
[ My OS ] [ VDisk/SFS ]
User avatar
AJ
Member
Member
Posts: 2646
Joined: Sun Oct 22, 2006 7:01 am
Location: Devon, UK
Contact:

Post by AJ »

01000101 wrote:chuffed? lol i haven't the foggiest of what that means.

[url=http://www.urbandictionary.com/define.php?term=chuffed]Definition
- quite a popular expression in the UK.

@OP: Well done! I was very happy having plotted a single pixel on the top corner of the screen in VESA 1024x768x32. Good luck with the window manager.

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

Post by xyzzy »

Nice, well done. Sometime I should try getting some basic GUI support on top of my VBE driver, currently all I've got with it is a PNG image viewer (still cool, but windows, etc are cooler :))
User avatar
xyjamepa
Member
Member
Posts: 397
Joined: Fri Sep 29, 2006 8:59 am

Post by xyjamepa »

Could you put a link to Chris Giese's code.

Thanx.
The man who follows the crowd will usually get no further than the crowd.
The man who walks alone is likely to find himself in places
no one has ever been before.
User avatar
lukem95
Member
Member
Posts: 536
Joined: Fri Aug 03, 2007 6:03 am
Location: Cambridge, UK

Post by lukem95 »

sure, i found it in the wiki by searching VGA... although i never found the page combuster linked to. [EDIT]http://my.execpc.com/~geezer/osd/graphics/modes.c[/EDIT] - forgot link

No i didnt follow a tut, i found some stuff from the DJGPP site on VGA, and used Chris Giese's code and that was all i needed, but the stuff on the wiki looks excellent, im gonna give it a read and extend my VGA driver.

The next step is VESA/VBE however, as 320x200x256 (plus REALLY slow pixel-putting) is not ideal, AlexExtreme maybe we could chat sometime or you could link me to the resources you used?

oh.. i don't have mouse support working yet (or any i/o for that matter). I'm sort of sidetracking for this VGA thing, then its back onto the API, implementing all the syscalls, drivers... and then kb/mouse etc.
~ Lukem95 [ Cake ]
Release: 0.08b
Image
User avatar
jerryleecooper
Member
Member
Posts: 233
Joined: Mon Aug 06, 2007 6:32 pm
Location: Canada

Post by jerryleecooper »

That's very good achievement. Having graphics is something us amateur OS developeurs we seek to get, is one major milestone. The others, I guess, would be...
2) devices drivers
3) network
4) filesystem
5) stability, which is involved in each milestones in fact

note that the eacfh ones are not in a particular order. Butr from each of the milestones, graphics is the best.
pcmattman
Member
Member
Posts: 2566
Joined: Sun Jan 14, 2007 9:15 pm
Libera.chat IRC: miselin
Location: Sydney, Australia (I come from a land down under!)
Contact:

Post by pcmattman »

I used to have all 5, jerryleecooper, and trust me, it sucks. Once you hit there every single bug you've written and missed decides it's time to show themselves :(.
User avatar
AJ
Member
Member
Posts: 2646
Joined: Sun Oct 22, 2006 7:01 am
Location: Devon, UK
Contact:

Post by AJ »

Absolutely. Once you have all 5, you go from 'adding new features mode' in to 'read through the existing code and debug' mode, which is a lot less fun and takes a lot more patience. This seems to be where a lot of developers get the feeling "maybe I should scrap it and start again - it will be even better next time". Hopefully, this time, I will persist :)

Cheers,
Adam
User avatar
t0xic
Member
Member
Posts: 216
Joined: Sat May 05, 2007 3:16 pm
Location: VA
Contact:

Post by t0xic »

I think we should add a sixth item to that list
6) Multitasking

I'm proud to say that I got multitasking (software) to finally work last night! VGA is next on my list.[/list]
User avatar
AJ
Member
Member
Posts: 2646
Joined: Sun Oct 22, 2006 7:01 am
Location: Devon, UK
Contact:

Post by AJ »

Well done. I remember that spark of pride at seeing 'task1task2task1task2task1task2...' on the screen for the first time :)

Of course, once you have VGA and add SMP support, you then have to start worrying about multiple processes wanting a piece of the screen / keyboard / hdd / fdd... all at once, which is where it gets 'interesting'!

Cheers,
Adam
User avatar
jerryleecooper
Member
Member
Posts: 233
Joined: Mon Aug 06, 2007 6:32 pm
Location: Canada

Post by jerryleecooper »

Multitasking, so true! I was really proud when I got it. But then I realised I got it wrong it didnt work well on vpc and qemu, but's thats another story. Now everythinf works well in my kernel, I accomplished 5) solved the concurrency problems I had with the text printing functions.
User avatar
piranha
Member
Member
Posts: 1391
Joined: Thu Dec 21, 2006 7:42 pm
Location: Unknown. Momentum is pretty certain, however.
Contact:

Post by piranha »

Well, I have the first 5, and I am implementing multitasking now.

-JL
SeaOS: Adding VT-x, networking, and ARM support
dbittman on IRC, @danielbittman on twitter
https://dbittman.github.io
Post Reply