traversing the vbe mode list
Posted: Mon Apr 11, 2005 5:41 am
Ok, here we go:
I want to traverse the vbe modelist which the vbemodeptr in the vbeinfo structure (as described f. ex. in chris gieses wat32vbe.c (?)) points to.
Ok. the vm86-stuff returns the vbe_info structure - correctly. I can get hold of oem strings, the vbe version number. I can also read vbe_mode_info - which comes in handy whan traversing the mode list attached to the vbe_info structure.
My question is - as I only get rubbish by reading from the address vbemodeptr points to - what do I have to take care of? I'm changing it from real mode addressing to protected mode addressing.
Any HInts? quick pseudo code stuff to show how it can be solved? (I've looked at clicker io - vbe2 driver - it looks cool - I've also looked at Chris Gieses stuff - and still I'm kinda dumbfounded)
@DevL: Hmmm ... well, the whole past week I've been up to no good ];-> *muuuaaahahahaha*
I want to traverse the vbe modelist which the vbemodeptr in the vbeinfo structure (as described f. ex. in chris gieses wat32vbe.c (?)) points to.
Ok. the vm86-stuff returns the vbe_info structure - correctly. I can get hold of oem strings, the vbe version number. I can also read vbe_mode_info - which comes in handy whan traversing the mode list attached to the vbe_info structure.
My question is - as I only get rubbish by reading from the address vbemodeptr points to - what do I have to take care of? I'm changing it from real mode addressing to protected mode addressing.
Any HInts? quick pseudo code stuff to show how it can be solved? (I've looked at clicker io - vbe2 driver - it looks cool - I've also looked at Chris Gieses stuff - and still I'm kinda dumbfounded)
@DevL: Hmmm ... well, the whole past week I've been up to no good ];-> *muuuaaahahahaha*