Dead Hackers Society
Other BBSes »
 
 
Demoscene  Coding  CT60  Buy/sell

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]

Topic Posted by  Date 
Safe Loading Address Bod/STAX Mar,24.2012-22:43
  Re: Safe Loading Address Bod/STAX Mar,24.2012-22:46
    Re: Safe Loading Address ggn Mar,25.2012-12:41
      Re: Safe Loading Address Bod/STAX Mar,26.2012-21:02
      Re: Safe Loading Address Leonard Apr,03.2012-00:04
        Re: Safe Loading Address ggn Apr,03.2012-10:13
          Re: Safe Loading Address Leonard Apr,05.2012-21:36
          Re: Safe Loading Address stghost Apr,16.2012-22:35
            Re: Safe Loading Address ggn Apr,17.2012-11:14


Reply to this message
Name:
Topic:
Anti-troll code:

Message:

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.
© 1994-2024 Dead Hackers Society Contact: Anders Eriksson