Page 1 of 1

Graphics 1 Chapter has been released

PostPosted: Sat Jan 30, 2010 11:13 pm
by Mike
Hello everyone,

Graphics 1, the first of several chapters covering graphics programming and topics have been released. This is the first chapter of a spinoff miniseries based off of the OS Development Series. This chapter covers general graphics concepts, some hardware concepts, VGA BIOS interface, and more.

Any feedback is welcome :D

Re: Graphics 1 Chapter has been released

PostPosted: Sun Jan 31, 2010 3:22 pm
by Andyhhp
Thats a fair amount of detail.

I would argue that description of CRT is misleading. There arnt 3 "different coloured beams of electrons". There are 3 beams specifically designed to hit different colours of phosphours on the screen. Then again, I might just be being picky.

in the CDA section, you say
The CGA only supported a Color Palette of 16 colors, because it was limited to 4 bytes per pixel.

Should this be 4 bits per pixel? 4 bytes per pixel is 4 billion colours.

Other than that, it looks good :)

~Andrew

Re: Graphics 1 Chapter has been released

PostPosted: Sun Jan 31, 2010 5:21 pm
by Mike
Hello,

Those are good catches - Ill be sure to fix the second error (Should be 4 bits per pixel) and update the CRT section.

I can expand a lot more on the chapter, however I am worried of the chapter getting too big. I can see about expanding a little more. Any more suggestions are always welcome :D

Re: Graphics 1 Chapter has been released

PostPosted: Sun Jan 31, 2010 5:42 pm
by Ecoboy
Hey, :D
I'm so happy, i was waiting for that tutorial for a long while :wink:
I'm very waiting for the next :P
PS : When the Sound's integration comes ?
PS2: What about the FileSytem ? Can't wait ofr that too :mrgreen:
Thanks so much ~Mike~ for your great tutorial

Re: Graphics 1 Chapter has been released

PostPosted: Tue Feb 23, 2010 10:04 am
by wererabit
thanks, cant wait for the next tutorial

Re: Graphics 1 Chapter has been released

PostPosted: Sun Nov 21, 2010 6:46 pm
by Hoozim
This is a little off topic but how do you enter V86 mode. I want to implement automatic shutdown but in order to do so, I want to us the real mode APM interface (accessible through APM). I have tried before but it has always resulted in an immediate triple fault.

Re: Graphics 1 Chapter has been released

PostPosted: Sun Nov 21, 2010 6:56 pm
by Hoozim
Ecoboy, what I did for filesystems is base off of the Windows file system method. So I have CD and DIR. OS DEV WIKI has some good references to the FAT filesystem (the main series has good ones too).

For sound, I would look into PCI first. It is actually fairly simple. There are only two registers for PCI and they are simple to use. The problem with sound cards is that they are often not standardized. That's why they come with driver cds. You might be able to figure out how it works on your computer but you would be throwing away portability. Contact the card's manager if you want details.

PCI is also a good way to get 100% control of the video card. VGA is great and easy, but it limits you to low resolutions and few colours. If you can figure out your graphics (they are less standardized than the Sound card), you can have graphics just like Windows.

If you haven't already, look into PCI. You can use it to access almost all deivces from Ethernet cards to Video Cards to USB. USB is also interesting but painfully long. The 2.0 specification is 600 pages long. On top of that there are the 3 interfaces that you need to implement.

On the topic of graphics, when will the next Graphics tutorial come out? It has been almost a year. HAVE FUN :lol: