| TIP: Click on subject to list as thread! | ANSI |
| echo: | |
|---|---|
| to: | |
| from: | |
| date: | |
| subject: | Protected mode differ |
Original from Daniel Lynes to Denis Tonn on 12-05-1996
Original Subject: Protected mode differ
---------------------------------------
DT> Can you give some specific examples of what Win95 is doing and the
DT> same under OS/2?
DL> Yes, sure, although not the actual code, as it's been changed to take care
DL> of the problem. The problem was that I was inadvertently reading code from
DL> outside my allocated memory. Win95 gave me a GPF; OS/2 Warp did not.
Looks like you are reading from a shared code address. The
"locations" of these addresses can vary from OS/2 system to system,
never mind between Win95 and OS/2.
From the sound of things, you might benefit from a reading of Deitel
and Kogan's "Design of OS/2". It will give you a pretty good overview
of the "architecture" of OS/2. If you do the same thing for a Win95
book you should see that although both implement "protected memory",
this memory will not be at the same locations.
Your code example could just as easily have worked the opposite way
if the "address" were different. You managed to find an address that
is "shared code" used by your process under OS/2 while that same
address is not a "shared address" under Win95.
Denis
All opinions are my very own, IBM has no claim upon them
.
.
.
--- Maximus/2 3.01
* Origin: T-Board - (604) 277-4574 (1:153/908)SEEN-BY: 50/99 270/101 620/243 625/160 711/401 409 410 413 430 808 809 934 SEEN-BY: 711/955 712/407 515 624 628 713/317 800/1 @PATH: 153/908 8086 800 270/101 712/515 711/808 934 |
|
| SOURCE: echomail via fidonet.ozzmosis.com | |
Email questions or comments to sysop@ipingthereforeiam.com
All parts of this website painstakingly hand-crafted in the U.S.A.!
IPTIA BBS/MUD/Terminal/Game Server List, © 2025 IPTIA Consulting™.