English Amiga Board


Go Back   English Amiga Board > Coders > Coders. System

 
 
Thread Tools
Old 01 November 2014, 16:10   #21
Michael Sykes
WinUAE end user
 
Michael Sykes's Avatar
 
Join Date: Jan 2014
Location: Bremen
Age: 45
Posts: 649
If thats possible is there also a tool to change the 'Software failure' into a 'Guru meditation' message out there?
Michael Sykes is offline  
Old 01 November 2014, 16:29   #22
modrobert
old bearded fool
 
modrobert's Avatar
 
Join Date: Jan 2010
Location: Bangkok
Age: 57
Posts: 779
The guru code vector (RT_INIT) can be found in the alert.hook module (kickstart). Search for the string 'alert.hook' in the ROM (file) and add like #$23 to that offset, the RT_INIT (guru) code execution address should be stored somewhere there (depending on kick version).

Code:
        ; The "alert.hook" mechanism
        ; --------------------------

        ; This is a RomTag.  At system startup, this will be found and added
        ; to the resident module list.  Since it has the RTW_COLDSTART flag
        ; set, it will be initialized along with the other libraries,
        ; devices, etc.  The RTF_AUTOINIT flag is not set, therefore, the
        ; code at RT_INIT is called.

        ; The code at RT_INIT is the Guru routine.  This reads the LastAlert
        ; field in ExecBase.  If this is not -1, then an alert is still
        ; outstanding (from before the reboot), and this puts it up, lets
        ; the user click the mouse button, then returns.  The resident
        ; module initialization then continues, the DOS boots, and the
        ; system comes up.

        ; The purpose of all this is to allow the system to defer display
        ; of a guru message until after the system has been cold-started.


FC322D  "alert.hook", CR, LF, 00

FC323A  4AFC                    RTC_MATCHWORD   (start of ROMTAG marker)
FC323C  00FC323A                RT_MATCHTAG     (pointer RTC_MATCHWORD)
FC3240  00FC3254                RT_ENDSKIP      (pointer to end of code)
FC3244  01                      RT_FLAGS        (RTW_COLDSTART)
FC3245  21                      RT_VERSION      (33 decimal)
FC3246  00                      RT_TYPE         (NT_UNKNOWN)
FC3247  05                      RT_PRI          (priority = 5)
FC3248  00FC322D                RT_NAME         (pointer to name)
FC324C  00FC322D                RT_IDSTRING     (pointer to ID string)
FC3250  00FC30EC                RT_INIT         (execution address)
This is from kick 1.2, but I checked, and the alert.hook module is available in 3.1 also.

EDIT:

Perhaps not needed, but uploaded GOMF v3.0 to the zone. Thanks goes to idrougge @ AUGS.

Last edited by modrobert; 02 November 2014 at 06:41.
modrobert is offline  
 


Currently Active Users Viewing This Thread: 1 (0 members and 1 guests)
 
Thread Tools

Similar Threads
Thread Thread Starter Forum Replies Last Post
Guru - It Just Gets Better Loedown support.Hardware 13 09 April 2009 20:43
Guru BippyM Retrogaming General Discussion 1 09 September 2006 19:03
Guru! Fackamato support.WinUAE 17 15 September 2004 22:57
Guru? Dr. Dude request.Apps 2 29 January 2004 13:30
Space Crusade and a meditating guru Kelju Ivan support.Games 11 31 December 2002 02:52

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off

Forum Jump


All times are GMT +2. The time now is 05:29.

Top

Powered by vBulletin® Version 3.8.11
Copyright ©2000 - 2024, vBulletin Solutions Inc.
Page generated in 0.08008 seconds with 14 queries