View Single Post
Old 28 December 2007, 18:31   #77
Going nowhere

Galahad/FLT's Avatar
Join Date: Oct 2001
Location: United Kingdom
Age: 44
Posts: 6,761
Originally Posted by Calgor View Post

LOL, I don't even code asm, and I am thinking who in their right mind would code in such a way on a multitasking system with no memory protection. But coders do copy other coders. I haven't done this before, but I suppose it is the exec function AvailMem you are referring to that could be used instead, are there also any others? Seems straightforward to me, except maybe it wasn't available in early OS versions like KS1.1, and then coders just kept on doing the same thing?

I simply used Allocate Absolute of about 8 bytes at addresses I knew would be clear on a freshly booted system (i.e. loaded from a bootblock).
Galahad/FLT is offline  
Page generated in 0.08769 seconds with 9 queries