View Single Post
Old 01 August 2021, 16:05   #16
Galahad/FLT
Going nowhere
 
Galahad/FLT's Avatar
 
Join Date: Oct 2001
Location: United Kingdom
Age: 50
Posts: 8,994
This might help

So, I resourced your intro, and i've changed the setup to show you that you don't need to use hardcoded addresses for the copperlist and the screen setup.

i've commented the code to show you what i've done, so you can see how a screen is setup in the copperlist, where we get the values from, and how we set the copperlist to operate from any chip mem that is freely available.

Your code is so small, there really is no problem with you having it all run from chip mem and it being entirely PC relative, i.e. relocatable in any memory.

I've also set FMODE to 0 in your copperlist, saves problems on AGA systems and means they don't need to degrade to OCS/ECS to view your screen properly.

Hopefully this will give you further insight and the reasons why we do things the way we do.
Attached Files
File Type: s pandoratrainer.s (16.3 KB, 53 views)
Galahad/FLT is offline  
 
Page generated in 0.04710 seconds with 12 queries