PDA

View Full Version : PropTool compiler request



Rayman
04-01-2009, 01:07 AM
Using user generated graphics/characters with the standard VGA, TV drivers is pretty straightforward, except for the business of aligning with a 16 long boundary (so that the lower six bits of the base address are all 0).

It would be very useful if the compiler would have additional alignment command, something like "long16" that would automatically pad the data to align correctly.

Now, you have to manually add in padding and then calculate how for off the data is from alignment at runtime and move all the data into alignment...