TIP: Click on subject to list as thread! ANSI
echo: os2prog
to: DENIS TONN
from: IVAN TODOROSKI
date: 1998-12-29 15:00:00
subject: Some weird addressing...

Hey, what's all this 64 KB allocation stuff?!

  I thought that was gone?

  Can you explain (from a point of view of an C/ASM programmer who
  doesn's know all the specifics of OS/2) what exactly happens when you
  call DosAllocMem(1000000)? Sorry, I didn't quite understand all you
  extensive explanations :( I'll go back at them tonight, and will try
  hard to figure them out.

   Do you get a single descritor with a 1000000 byte limit, or a bunch
   of small descriptors with 65536 limits?

   And if it is the later, what exactly happens when you try to acces
   say the 500000th byte? Is there some overhead involved in
   calculating exactly which descriptor covers it?

  What's going on inside there? :)


                                                            - Ivan -

.!. "Life," said Marvin. "Don't talk to me about life."
--- Terminate 5.00/Pro [OS/2]
 þ TerMail/QWK þ  
* Origin: GET ALL YOUR FIDO HERE! telnet://bbs.docsplace.org (1:3603/140)
SEEN-BY: 396/1 632/0 371 633/260 262 267 270 371 635/444 506 728 639/252
SEEN-BY: 670/218
@PATH: 3603/140 396/1 633/260 635/506 728 633/267

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™.