|
Atari coding BBS
Re: Safe Loading Address |
Posted by: ggn
|
Mar,25.2012-12:41
|
Hi,
If you don't want to use the O/S at all, you can safely load data and code from $140.w onwards. To make sure no pesky interrupts fire off and do silly things, turn them off (have a look at what addresses $fffa05-$fffa25 do in your hardware registers manual). As an extra precaution, reroute every exception/interrupt vector ($8-$13c) and have them point to an rte instruction. Don't forget to set the SR to $2700 before doing this just for a good measure.
After this, the system should be yours (unless I'm forgetting something obvious here). Set up your timers, interrupt vectors, exceptions etc. and turn on the interrupts again ($2300->sr).
The above are for stf/stfm/ste//megast/megaste. If you want to go for TT/Falcon, there are a few things more that need taken care of.
|
[All messages in this thread] [Start new thread]
What's the anti-troll code? That's your personal code to be able to add comments and messages on the dhs.nu site.
Don't have a code or forgot it? Fix it here.
|