04-08-2006, 08:13 AM
When I call that, what happens when let's say I call
Peek(1024)? Where
Am I peeking at DATA + 1024?
thanks!!!
Peek(1024)? Where
Am I peeking at DATA + 1024?
thanks!!!
DEF SEG = 0
|
04-08-2006, 08:13 AM
When I call that, what happens when let's say I call
Peek(1024)? Where Am I peeking at DATA + 1024? thanks!!!
04-08-2006, 08:39 AM
It's just segment 0. So you are peeking at 0000:0400. (Which happens to be the start of the BIOS Data Area.)
04-08-2006, 03:17 PM
So I could read the BIOS by peeking? Yeeehaaaa!!!!
Do you have some info on what is inside the bios that I could read?
04-09-2006, 03:24 AM
What the hell are you doing now? :lol:
04-09-2006, 04:08 AM
Well, the actual BIOS code is in segments F000-FFFF, but here's the info you can access from the BDA: http://www.phatcode.net/res/236/files/ht..._area.html
04-09-2006, 07:05 AM
Quote:What the hell are you doing now? :lol: Oldskool crap. :*( But I get pais for this. :*) hehehehehehe
04-09-2006, 10:17 AM
You should note that much of the BIOS data area is provided for backwards compatibility. Most new BIOS code and most emulator code simply updates the BIOS data area, but does actually use it the way earlier code did, so some tricks like poking character into the type ahead buffer don't work the way you might hope.
04-09-2006, 11:30 AM
While it's true that many entries in the BDA are no longer relevant, I have yet to see a BIOS or emulator that ignores the keyboard buffer in the BDA. This would break a ton of existing programs. Even NTVDM supports poking keystrokes to the buffer.
04-10-2006, 11:13 AM
Have you tried it recently? You can read the buffer, but in my last experiment with NTVDM, anything I poked into the buffer (along with adjusting the head and tail) had no effect on BIOS keyboard services. If you have an example that works, I'd like to see it.
04-10-2006, 01:14 PM
|
« Next Oldest | Next Newest »
|