[comp.sys.atari.st] COLD BOOT in GFA Basic.

TOXI_CE@HNYKUN51.BITNET (07/27/89)

Subject:  RE: COLD BOOT RESET GFA CODE

>    I'm armed only with the GFA version 2.0 manual, nothing else.  I
>am looking for GFA VERSION 2.0 code that will cause a COLD BOOT.  Many
>thanks....

>Larry Rymal in wet and flooded East Texas <Z4648252@SFAUSTIN.BITNET>

I wonder why you would want to do a cold boot in GFA-basic, but I think
this will do it:

Slpoke &H420,0          ! Clear Memvalid (makes next boot COLD)
Void Gemdos(32,L:0)     ! Go in to supervisor mode
'                          you can void the result, since there is
'                          no return form a reset
Reset%=Lpeek(4)         ! Get reset vector
Call Reset%             ! Jump there

+++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++

                             Chris Evelo
                             TOXI_CE@HNYKUN51 (BITNET/EARN)
                                 |
                                 an underscore _ not -.

will change to: MFAGKCHR@HMARL5

+++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++