|
Atari demoscene BBS
Re: Sans sujet |
Posted by: ggn
|
Jun,06.2016-21:01
|
Ok, I'll try to give a short (and hopefully accurate) explanation of what happens when you press reset on the ST:
- First of all the reset button is more or less wired to the RESET pin of the 68000. So hitting the button will simply reset the CPU but not the peripherals (to the CPU even memory is a peripheral of sorts). Since the RAM and its controller is still getting power when you press reset, its contents are kept intact. In fact TOS or whatever boots is responsible for clearing the memory if needed.
- Very very early into the TOS boot code (it barely resets some peripherals and checks if there's a diagnostic cart installed), a certain memory location is checked ($426). If that contains the magic value $31415926 (yeah, you know, geeks write O/Ses :)) then a 2nd memory location is accessed ($42a). The second memory location contains the address of where to execute code, and it proceeds doing that immediately.
(BTW, TOS is full of magic numbers internally but this one is probably the most "fun")
- Now, the machine isn't fully brought up at this point so it's at our mercy. The memory is untouched so if we have placed code somewhere, it is not overwritten by anything. So we can safely execute demo code!
- A small piece of trivia here is that all STs reset to 60Hz! Later in the boot process TOS decides whether to set 50 or 60Hz, but since the startup code runs for a few milliseconds it's not really noticeable by anyone, but it does mean that the reset demos need to set frequency to 50Hz by hand :).
Well, I can't think of anything relevant here. If I do, I might follow up this post!
|
[All messages in this thread] [Start new thread]
Topic
|
Posted by
|
Date
|
Best hidden / reset screens
|
S_t_s
|
Jun,06.2016-11:33
|
Re: Best hidden / reset screens
|
ggn
|
Jun,06.2016-12:27
|
Re: Best hidden / reset screens
|
evil
|
Jun,06.2016-16:02
|
Sans sujet
|
s_t_s
|
Jun,06.2016-17:52
|
Re: Sans sujet
|
ggn
|
Jun,06.2016-21:01
|
Re: Sans sujet
|
s_t_s
|
Jun,07.2016-08:47
|
Re: Best hidden / reset screens
|
grazey/phf
|
Jun,06.2016-18:12
|
Re: Best hidden / reset screens
|
s_t_s
|
Jun,07.2016-08:49
|
Re: Best hidden / reset screens
|
Orion_
|
Jun,08.2016-19:27
|
Re: Best hidden / reset screens
|
s_t_s
|
Jun,10.2016-16:51
|
Re: Best hidden / reset screens
|
gwEm
|
Jun,12.2016-13:05
|
Re: Best hidden / reset screens
|
Gwem
|
Jun,12.2016-13:09
|
Re: Best hidden / reset screens
|
Leonard
|
Jun,12.2016-23:57
|
Re: Best hidden / reset screens
|
s_t_s
|
Jun,14.2016-09:09
|
Re: Best hidden / reset screens
|
PeyloW
|
Jun,16.2016-23:11
|
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.
|