View Single Post
Old 01 October 2011, 04:54   #10
Minuous
Coder/webmaster/gamer
 
Minuous's Avatar
 
Join Date: Oct 2001
Location: Canberra/Australia
Posts: 2,662
Quote:
Originally Posted by pmc View Post
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?
Minuous is offline  
 
Page generated in 0.04423 seconds with 11 queries