View Single Post
Old 14 January 2021, 13:52   #20
Daedalus
Registered User
 
Daedalus's Avatar
 
Join Date: Jun 2009
Location: Dublin, then Glasgow
Posts: 6,369
AmiBlitz3 includes the "Chip" compiler directive for locating chunks of the executable in chip RAM, but I've never tried using it. in theory it would allow you to Incbin data that will be always loaded into chip RAM. It can only be used once though, so you would put it at the end of the actual program, and put all your Incbin chunks after that.

Under Blitz 2 it would always end up in fast RAM if there's fast RAM available. That's a nice suggestion, to check if it's in chip RAM first and then do a copy if needed.
Daedalus is offline  
 
Page generated in 0.04276 seconds with 11 queries