Quote:
Originally Posted by phx
Nice tutorial. Just two annotations:
- Why do you force the code into Chip RAM? When writing a demo or a game you always have too few Chip RAM, so you shouldn't put anything there which also works (better) in Fast RAM.
- Readability can be improved by limiting lines to 80 characters. I have seen some comment lines with a length of more than 20000 characters!
|
Yes, forcing the code in Chip is bad habit, and you are right to point it. I should have created a data section if data had to be loaded in Chip. Also, I will shorten the comments lines in new or updated tutorials for better readability (I'm writing code with Notepad++ on Windows and loading it in ASM-One from a directory mapped as a hard drive, and Notepad++ breaks line by itself, so I did not really noticed how annoying this can be).