Author Topic: [83+/84+] How to find the first free application page?  (Read 2254 times)

0 Members and 1 Guest are viewing this topic.

Offline Runer112

  • Moderator
  • LV11 Super Veteran (Next: 3000)
  • ***********
  • Posts: 2289
  • Rating: +639/-31
    • View Profile
[83+/84+] How to find the first free application page?
« on: February 21, 2013, 04:19:15 pm »
What's a foolproof (and preferably not exceedingly large) method to determine the first free application page on an 83+ or 84+? Importantly, such a method also needs to determine if there are no free application pages left.

Offline Matrefeytontias

  • Axe roxxor (kinda)
  • LV10 31337 u53r (Next: 2000)
  • **********
  • Posts: 1982
  • Rating: +310/-12
  • Axe roxxor
    • View Profile
    • RMV Pixel Engineers
Re: [83+/84+] How to find the first free application page?
« Reply #1 on: February 21, 2013, 04:25:50 pm »
I don't know that much in ASM so I won't post any code nor emit anything certain, but since a free page have precises start and end, I think it should be possible to check a variable's header somehow at the start of the page.