Quote:
Originally Posted by pmc
Personally, I don't really allocate memory at all. Instead, I just ask the assembler to reserve memory in my code for my use.
For example, if I wanted to have space for a standard 320*256 bitplane I would usually do something like:
Code:
bitplane: dcb.b 10240,0
Then, at run time, I can just use this space as bitplane data.
|
Wouldn't this be better as ds.b? Won't dcb.b bloat the size of the executable?