[Search for users] [Overall Top Noters] [List of all Conferences] [Download this site]

Conference hydra::amiga_v1

Title:AMIGA NOTES
Notice:Join us in the *NEW* conference - HYDRA::AMIGA_V2
Moderator:HYDRA::MOORE
Created:Sat Apr 26 1986
Last Modified:Wed Feb 05 1992
Last Successful Update:Fri Jun 06 1997
Number of topics:5378
Total number of notes:38326

2931.0. "Catch reset and GURUS" by NBOSWS::FRIES () Tue Sep 19 1989 06:39

1.  The following text is from
    ROM Kernel Libraries and Devices, page 339 (Keyboard device):
    
    "When a user presses ... CTRL-AMIGA-AMIGA (the reset sequence), the
    keyboard device sences this and calls a ... chain of reset-handlers.
    These might be thought of as clean-up routines that "must" 
    be performed BEFORE reset is allowed
    to occur." (For examples close all open files).
    
    Anyone figured it out? (Aztec-C)
    The example on the same page doesn't work.
    I thought, this sequence produces a reset signal, so NOTHING could
    be done BEFORE reset occurs.
    
    With this knowledge, I would be able to move my harddisk-heads to
    track 0, to boot faster.
    
2.  I wrote an application, which contents a lot of datas.
    Now I want to know, if other applications produce a GURU.
    I am able to catch the 68000-traps (Division by zero, etc.)
    with SysBase->TrapCode (I think).
    But all exceptions are not catched (Free memory twice, etc.).
    SysBase->ExceptionCode seems not to work.
    GomF does the same with traps, but what about exceptions?
    
1+2 With 1 and 2, I would have a "relatively save" application.
    
    Thanks in advance
    Gerald
    
        
    
T.RTitleUserPersonal
Name
DateLines
2931.1Not on A500WJG::GUINEAUImpossible ConcentrationTue Sep 19 1989 12:505
I believe the A500 does not pass C-A-A reset down the food chain. It's
a "hardwired" reset on the 500.

John
2931.2NBOSWS::FRIESTue Sep 19 1989 13:146
    re: .1
    
    I own an A1000.
    But what does page 339 (see .0) mean?
    
    Gerald
2931.3I'm busy, how about the rest out there?FRAMBO::BALZERChristian Balzer DTN:785-1029Tue Sep 19 1989 15:4216
    RE: *
    
    Off the top of my head and without any references I seem to remember
    that:
    ON the A1000 and A2000 the C-A-A combo drops the Sync or Data line
    of the keyboard connector, which is sensed in the Amiga and results
    in a genuine reset signal.
    ON the A500 it directly creates a reset.
    
    The reset signal triggers indeed some routines, but not BEFORE the
    actual reset signal is given (sorry for this confusing sentene :-).
    
    Regards,
    
    <CB>
    
2931.4It's a pity !!NBOSWS::FRIESWed Sep 20 1989 06:409
    Thanks for these answers.
    
    With this informations, it's not possible to 'catch' C-A-A and to
    use it for my own. (That's right ?)
    
    Now there's only the second question of .0 (How to catch exceptions?)
    BTW, give me a call, <CB>, I have a question about your 'TInfo' program.
    
    Gerald
2931.5COPPER DEMOAYOV28::ATHOMSONC'mon, git aff! /The Kelty ClippieWed Sep 20 1989 07:448
2931.6Reset-PointersFRAMBO::BALZERChristian Balzer DTN:785-1029Wed Sep 20 1989 10:4817
    Re: .4, .5
    
    Gerald, I'm afraid you'll have to call me again, somebody must have
    cleaned my desk! Or you can give my Vice-President and author of
    TInfo, Heiko Rath, a call at 06150/2607. Just tell him who you are
    and that I did send you. ;-)
    
    I believe that my previous statement was too misleading, here I
    go again:
    
    There are several "reset" routines that get called _after_ the reset,
    depending on the state of the machine, like Cold, Cool, Warmpointer.
    
    Regards,
    
    <CB> (still very busy)
    
2931.7WJG::GUINEAUImpossible ConcentrationWed Sep 20 1989 11:3710
I think it's off ExecBase:

	ExecBase->CoolCapture

or something like that.



John