Home | Reviews | GUIpedia | Forum | Fun500
| aguma | os helpwell after like a year of trying i actually managed to set up a toolkit to make an os! (thank you osdev) but how do i switch into graphics mode? i know you can't call an interrupt in protected mode, so am i supposed to switch back to real mode, or maybe just send the pixel data to the monitor (groan)?
whichever way will work, i'll use that one.
thanks! :P | 2009-02-19 | 6:22 PM |
| Todd | Re:os helpI'd try switching back to real mode. I could never do anything in protected mode. | 2009-02-19 | 8:51 PM |
| pharoah | Re:os helpOne thing I do know (or at least I think I do) is that the VGA interface is really the only dependable standard for graphics. Beyond that you've got VESA, but apparently many cards these days don't support it. | 2009-02-19 | 9:49 PM |
| aguma | Re:os helpso how would i implement it? | 2009-02-20 | 9:13 PM |
| trolly | Re:os helpi my os, i've a module loaded below the limit,
When a program want to use int 10h (bios interrupt) it store the registers parameters in memory at the module header location, then call the module entry point,
the module save the context, (segment selector, stack, etc, ...) go to real mode and setup a new contect. He read the value from the header (he can read it because it's loaded below the limit) to the register and finally make an interrupt,
when the interrupt is complete, he save the register to the header (values may be needed for return value) and go back to the protected mode and restore the saved context, and return to the app procedure. | 2009-02-21 | 11:18 PM |
Other
2021 Brandon Cornell