Jump to content
  • Advertisement


This topic is now archived and is closed to further replies.


Q: Reserving Memory in DOS

This topic is 6888 days old which is more than the 365 day threshold we allow for new replies. Please post a new topic.

If you intended to correct an error in the post then please contact us.

Recommended Posts

It might sound silly but I'm still doing some of my stuff in old DOS and even worse am using Pascal to do so. Anyhow, using the Pascal GetMem command I can reserve conventional memory for use in my program. However, Pascal only allows blocks of up to 65528, which is 8 bytes short of a full segment (likely due to a header). My question ishow to reserve a full segment of memory without going to protected mode or using any flat model tricks. (I am willing to use assembler and to give up space elsewhere in memory to store information needed to reserve and then free the segment).

Share this post

Link to post
Share on other sites

  • Advertisement

Important Information

By using GameDev.net, you agree to our community Guidelines, Terms of Use, and Privacy Policy.

We are the game development community.

Whether you are an indie, hobbyist, AAA developer, or just trying to learn, GameDev.net is the place for you to learn, share, and connect with the games industry. Learn more About Us or sign up!

Sign me up!