hey prog'r-s :
would anybody like to take a stab at what happens once a program freezes and then we press the "warm reset" button on the backside of the st's.
does it entirly wipe out all memory?
i'm not looking for the simple answear : it resets ! but seem to recall reading somewhere that a cold reset clears the st ,memory entirerly... ,
and a warm reset just sets us back to the gem desktop......... leaving what ever it was in the "buffers or prosserors"to be cleared when the next program is exucuted.
so....has anyone ever formulated a program to retrieve the data a person was working on just before the computer freezes and we have to reset?
like an accessory that retains this info in a resevered area of memory ,then once re-booted finds this allocacted space ,and writes our
retrieved data to file..
to explain (or plea!) further a program like this would be very helpfull for some cubase users ,or art program users ,even text scrip-bers...that just have that certain ability to crash any program they use!
well deep in though !
callaghan
who knows what happens on a warm boot????
Moderators: simonsunnyboy, Mug UK, Zorro 2, Moderator Team
who knows what happens on a warm boot????
The radioactive half-life : )
Atari is a lifestyle,not a hobby.
HOLD ON ! ! ! Im printing unreadable characters ...!
Atari is a lifestyle,not a hobby.
HOLD ON ! ! ! Im printing unreadable characters ...!
- Mug UK
- Administrator
- Posts: 11542
- Joined: Thu Apr 29, 2004 7:16 pm
- Location: Stockport (UK)
- Contact:
Most reset routines were (esp. viruses) very resilient to warm boots.
First thing they did after attaching themselves to the disk read/write routines would be to put the magic number into the reset vector so that it would always be there after a warm start.
First thing they did after attaching themselves to the disk read/write routines would be to put the magic number into the reset vector so that it would always be there after a warm start.
My main site: http://www.mug-uk.co.uk - slowly digging up the bits from my past (and re-working a few): Atari ST, Sega 8-bit (game hacks) and NDS (Music ripping guide).
I develop a free Word (for Windows) add-in that's available for Word 2007 upwards. It's a fix-it toolbox that will allow power Word users to fix document errors. You can find it at: http://www.mikestoolbox.co.uk
I develop a free Word (for Windows) add-in that's available for Word 2007 upwards. It's a fix-it toolbox that will allow power Word users to fix document errors. You can find it at: http://www.mikestoolbox.co.uk
-
- Moderator
- Posts: 5254
- Joined: Wed Oct 23, 2002 4:36 pm
- Location: Friedrichshafen, Germany
- Contact:
A reset is nothing else but a jump to a special subroutine, specified by the Reset vector. It does not alter memory or registers by default so it is up to this reset routine what to do next. This can be another demo screen, reinit of the OS (default) or a jump to a debugger.
Simon Sunnyboy/Paradize - http://paradize.atari.org/
Stay cool, stay Atari!
1x2600jr, 1x1040STFm, 1x1040STE 4MB+TOS2.06+SatanDisk, 1xF030 14MB+FPU+NetUS-Bee
Stay cool, stay Atari!
1x2600jr, 1x1040STFm, 1x1040STE 4MB+TOS2.06+SatanDisk, 1xF030 14MB+FPU+NetUS-Bee
Re: who knows what happens on a warm boot????
No it doesn't. I have retrieved some sourcecode from memory after the editor hanged. After the editor crashed I was very keen on retriving the data. I removed the harddisk from my ST and pressed the reset button and booted from floppy. I fired up bugaboo and searched the memory for some keywords. When found the data I dumped the memory blocks on disk and got my precsious source code back.callaghan wrote:hey prog'r-s :
would anybody like to take a stab at what happens once a program freezes and then we press the "warm reset" button on the backside of the st's.
does it entirly wipe out all memory?
This happens after a reset:callaghan wrote:i'm not looking for the simple answear : it resets ! but seem to recall reading somewhere that a cold reset clears the st ,memory entirerly... ,
and a warm reset just sets us back to the gem desktop......... leaving what ever it was in the "buffers or prosserors"to be cleared when the next program is exucuted.
1 test for diagnostic cardridge
2 init memory controller IF(LPEEK($420)==$752019F3 AND LPEEK($43A)==$237698AA) THEN POKE $FF8001,PEEK($424)
3 execute reset vector IF(LPEEK($426)=$31415926) THEN GOTO LPEEK($42A)
4 init soundchip, set video on 50 Hz, init colour display, set screenmemory at $10000
IF(warm boot) GOTO 8
5 determine RAM configuration
6 wipe RAM
7 init systemvariables for a correct warm boot
8 clear RAM from $93A to $FFF, init system variables, init interuptvectors, init BIOS
9 check and execute 'Bit 26' cartridge programs
10 init video mode
11 check and execute 'Bit 24' cartridge programs
12 CPU enable interrupts
13 check and execute 'Bit 25' cartridge programs
14 init GEMDOS
15 check and execute 'Bit 27' cartridge programs
16 try to boot from floppy
17 try to boot from harddisk
18 execute \AUTO\*.PRG
19 start AES
20 system is up and running
Yes, used bugaboo for this.callaghan wrote:so....has anyone ever formulated a program to retrieve the data a person was working on just before the computer freezes and we have to reset?
like an accessory that retains this info in a resevered area of memory ,then once re-booted finds this allocacted space ,and writes our
retrieved data to file..
You can do that if you know where you are looking for. Ripper cardridges are very good in retrieving data from memory too, but once again: you have to know where you are looking for. Anything else as text or pictures will be quite hard.callaghan wrote:to explain (or plea!) further a program like this would be very helpfull for some cubase users ,or art program users ,even text scrip-bers...that just have that certain ability to crash any program they use!
Hans Wessels
Re: who knows what happens on a warm boot????
Yay! Another bugaboo userNyh wrote:No it doesn't. I have retrieved some sourcecode from memory after the editor hanged. After the editor crashed I was very keen on retriving the data. I removed the harddisk from my ST and pressed the reset button and booted from floppy. I fired up bugaboo and searched the memory for some keywords. When found the data I dumped the memory blocks on disk and got my precsious source code back.callaghan wrote:hey prog'r-s :
would anybody like to take a stab at what happens once a program freezes and then we press the "warm reset" button on the backside of the st's.
does it entirly wipe out all memory?

George
is 73 Falcon patched atari games enough ? ^^