View Single Post
Old 24 July 2018, 12:12   #13
phx
Natteravn
 
phx's Avatar
 
Join Date: Nov 2009
Location: Herford / Germany
Posts: 2,500
Quote:
Originally Posted by Yragael View Post
First source code is for reading by polling, second source code is for reading by being interrupted. The key that is read is the ESC key.
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!
phx is offline  
 
Page generated in 0.04974 seconds with 11 queries