>On 2002-02-06 20:03:05, -KEN- wrote:
>Hey, y'all...2 questions for you.
>
>1) IS there any way for me to get VGA (erhm...any graphics, for that matter)
>in PMode (ie, no interrupts)? Like, can I just write to a certain spot of memory
>and out pops a pretty pixel...? or no?
Uhm... simply because you're in pmode doesn't mean you
no longer have access to interrupts. Unless you mean
that you've entered pmode and intend to leave interrupts
off (which I would _not_ reccomend). In any event,
interrupts wont get you anywhere video-wise... the video
bios is real mode, and so is vesa, for the most
part. You're either going to have to run the bios
in a vm, or access the video card directly through
its ports.
Ever read vgadoc? Search for it on the internet, and
look through it... that's about the only way you're
gonna get graphics in pmode.
One alternative (quick-fix-kludge!): switch into
graphics mode before entering pmode, and then
write to 0x000A0000 (assuming VGA, of course)
>2) Does holding shift while hitting another key produce it's own scancode? If so, do you know of a list of them?
>If not, how do you tell if the suer is holding shift...? I'm using inportb(0x60) to get the scancodes...
Well then you can probably take a look at those scan
codes and figure it out, couldn't you?
Jeff