Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations Chriss Miller on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

Memory

Status
Not open for further replies.

Drone38

Programmer
Apr 12, 2000
29
BE
How can I allocate dynamic memory for my program!!!
Which interupt.

Can I have an example ????
PLEAAAAAAAAASSSSSSSSEEEEEEEEEE
 
I may not be able to answer your question, but could you tell us if:

You want to allocate dynamic memory using EMS or XMS or plain old conventional memory?
Are you in protected mode?
Are you creating a COM or EXE file?
How much memory at a time must you allocate?
Will you be adjusting the size of a given memory object?
Will your memory object be within a single segment?



Kim_Christensen@telus.net
 
I would like to know how to allocate XMS memory. I can do it already, but only by using the INT15-interface which you need to initialize at startup in CONFIG.SYS. Also, my program crashes each time right before exit when I use this system.

Thanks in advance and Regards,
Bert Vingerhoets
vingerhoetsbert@hotmail.com
Don't worry what people think about you. They're too busy wondering what you think about them.
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top