Click Here
home features news forums classifieds faqs links search
5922 members 
Amiga Q&A /  Free for All /  Emulation /  Gaming / (Latest Posts)
Login

Nickname

Password

Lost Password?

Don't have an account yet?
Register now!

Support Amigaworld.net
Your support is needed and is appreciated as Amigaworld.net is primarily dependent upon the support of its users.
Donate

Menu
Main sections
» Home
» Features
» News
» Forums
» Classifieds
» Links
» Downloads
Extras
» OS4 Zone
» IRC Network
» AmigaWorld Radio
» Newsfeed
» Top Members
» Amiga Dealers
Information
» About Us
» FAQs
» Advertise
» Polls
» Terms of Service
» Search

IRC Channel
Server: irc.amigaworld.net
Ports: 1024,5555, 6665-6669
SSL port: 6697
Channel: #Amigaworld
Channel Policy and Guidelines

Who's Online
38 crawler(s) on-line.
 19 guest(s) on-line.
 0 member(s) on-line.



You are an anonymous user.
Register Now!
 NutsAboutAmiga:  17 mins ago
 gryfon:  19 mins ago
 BigD:  28 mins ago
 Fl@sh:  42 mins ago
 Frank:  53 mins ago
 Templario:  1 hr 14 mins ago
 Heinz:  1 hr 19 mins ago
 AndreasM:  1 hr 45 mins ago
 geit:  2 hrs 8 mins ago
 WolfToTheMoon:  3 hrs 16 mins ago

software OS4   software OS4 : The Cat is out of the Box...(NoYellow v2.0)
   posted by NutsAboutAmiga on 7-Sep-2012 18:28:27 (2698 reads)
No more gurus you can't click away.....

Download NoYellow now, its on the upload queue at OS4Depot.net

Read more...


Download here:
http://os4depot.net/?function=showfile&file=utility/shell/noyellow.lha

NoYellow stops yellow guru mediations.

This file consists of two hacks nodisplayalert and noalert

noalert stops exec.library/alert from displaying,
nodisplayalert stops intuition.library/displayalert from displaying.

noalert redirect to readable ringhio messages. The hex error code is translated so humans can read it.
noalert tries to identify the task or process not just print task address. If the task really is a process it will look for last command executed from the shell
window. noalert does not recover errors it only intercept the exec.library alert function. You can run noalert in two ways, suspend all tasks, or ignore and continue all tasks. (there is no white list or black list)

nodisplayalert redirects to reaction requestor.

etch of commands have some options check out --help for more information

To install add these lines to s:user-startup:

run >NIL: c:noalert.elf
run >NIL: c:nodisplayalert.elf

License: Freeware
Use it as you like, but do not distribute it without the ReadMe file.

Chanages:

Version 2.0

noalert:

* renamed noyellow.exe renamed noalert.elf
* Improved error filtering and error messages
* process name detection might have improved

nodisplayalert:

* Redirect DisplayAlert to Reaction Requestor

Version 1.0

* First version only for Exec/Alert

Best Regards
Kjetil Hvalstrand
    

Related Links
· More about software OS4
· News by NutsAboutAmiga


Most read story about software OS4
Homebank 4.4 for AmiCygnix released

Last news about software OS4
Game package for AmiCygnix 1.6
Printer Friendly Page  Send this Story to a Friend

PosterThread
samo79 
Re: The Cat is out of the Box...(NoYellow)
Posted on 7-Sep-2012 19:24:24
#1 ]
Elite Member
Joined: 13-Feb-2003
Posts: 3418
From: Italy, Perugia

Nice util, should be integrated to OS4 by default imho


_________________
BACK FOR THE FUTURE

http://www.betatesting.it/backforthefuture

Sam440ep Flex 800 Mhz 1 GB Ram + AmigaOS 4.1 Update 6
AmigaOne XE G3 800 Mhz - 640 MB Ram - Radeon 9200 SE + AmigaOS 4.1 Update 6

 Status: Offline
Profile     Report this post  
ikir 
Re: The Cat is out of the Box...(NoYellow v2.0)
Posted on 7-Sep-2012 22:19:06
#2 ]
Elite Member
Joined: 18-Dec-2002
Posts: 5646
From: Italy

@Samo79
Yes i agree, we should use Ringhio for all system alert and notifications


_________________
Amiga News.it
Sam460ex 1,15Ghz
2GB RAM, 120GB Crucial v4 SSD, 32GB SDHC
Radeon HD 6450 1GB

 Status: Offline
Profile     Report this post  
Chris_Y 
Re: The Cat is out of the Box...(NoYellow)
Posted on 7-Sep-2012 23:52:38
#3 ]
Elite Member
Joined: 21-Jun-2003
Posts: 3144
From: Beds, UK

What it catches errors it is really appreciated. With a USB mouse, proper alerts are a case of waiting a few seconds, and invariably another alert comes up straight after. This patch (or something like it) should be part of OS4.


_________________
"Miracles we do at once, the impossible takes a little longer" - AJS on Hyperion
Avatar is Tabitha by Eric W Schwartz

 Status: Offline
Profile     Report this post  
realize 
Re: The Cat is out of the Box...(NoYellow)
Posted on 8-Sep-2012 1:53:38
#4 ]
Super Member
Joined: 14-Apr-2003
Posts: 1797
From: nyc

Very cool. I agree with the others it should be integrated into os4 and Ringhio should be used for all system messages too. Looks very modern.

 Status: Offline
Profile     Report this post  
ilbarbax 
Re: The Cat is out of the Box...(NoYellow)
Posted on 8-Sep-2012 8:21:30
#5 ]
Regular Member
Joined: 17-Jan-2010
Posts: 174
From: Italy

Guru's yellow or red are part of the Amiga DNA, I don't agree to loose them or convert them to Ringhio, Grim etc. I would move instead to have those poverfull tools with an output remembering the guru messages.

 Status: Offline
Profile     Report this post  
ChrisH 
Re: The Cat is out of the Box...(NoYellow v2.0)
Posted on 8-Sep-2012 9:32:22
#6 ]
Elite Member
Joined: 30-Jan-2005
Posts: 6673
From: Unknown

Many thanks. I will install this right away . I rarely get these alerts, but when I do it is rather annoying the mouse is ignored.


_________________
Author of the PortablE programming language.
I can usually be found on www.Amigans.net (my favourite Amiga forum).
It is pitch black. You are likely to be eaten by a grue...

 Status: Offline
Profile     Report this post  
PR 
Re: The Cat is out of the Box...(NoYellow v2.0)
Posted on 8-Sep-2012 13:39:00
#7 ]
Super Member
Joined: 1-Sep-2004
Posts: 1948
From: Suomi-Finland

I'd like my XE back before commenting but never loose Guru's as it's part of the WB.
Still good if not comming. Explanatory is good and more colours. From the A500 it told something with blinking the lights. Never broke down like machines today..

 Status: Offline
Profile     Report this post  
samo79 
Re: The Cat is out of the Box...(NoYellow v2.0)
Posted on 8-Sep-2012 14:31:37
#8 ]
Elite Member
Joined: 13-Feb-2003
Posts: 3418
From: Italy, Perugia

@ChrisH

Yeah, the main problem is that currently you can't skip these errors (almost with an USB device) some time ago i open a report to the Hyperion forum and if i remember correctly a ticket was opened aswell so let's see if they fix it or not in the future, for now even if reported it wasn't fixed yet but almost they know


_________________
BACK FOR THE FUTURE

http://www.betatesting.it/backforthefuture

Sam440ep Flex 800 Mhz 1 GB Ram + AmigaOS 4.1 Update 6
AmigaOne XE G3 800 Mhz - 640 MB Ram - Radeon 9200 SE + AmigaOS 4.1 Update 6

 Status: Offline
Profile     Report this post  
BillE 
Re: The Cat is out of the Box...(NoYellow)
Posted on 8-Sep-2012 20:23:07
#9 ]
Super Member
Joined: 14-Nov-2003
Posts: 1182
From: Northern Scotland

Good riddance to the yellow alerts which you can't cancel with a USB mouse and take ages to timeout. At least now you can do a quick soft reboot if things get nasty, rather than waitng for the eternal timeout or having to press the reset button.

This should officially be incorporated into the OS.

 Status: Offline
Profile     Report this post  
Hypex 
Re: The Cat is out of the Box...(NoYellow)
Posted on 9-Sep-2012 6:53:01
#10 ]
Elite Member
Joined: 6-May-2007
Posts: 10095
From: Greensborough, Australia

@ilbarbax 

The OS4 yellow alerts look fake and overtwrite the screen. That is not a real Amiga guru!

Plus if you have only USB mouse it lies to you when it says to press left mouse button. Because that doesn't work anymore. Not when I got one. I expect an Amiga to react instantly to mouse buttons like it has always done.

AFAIK the original routine hardware banged the CIA register so why doesn't it still do that now? OS4 includes CIA mouse emulation so it should work anytime!

Last edited by Hypex on 09-Sep-2012 at 02:36 PM.

 Status: Offline
Profile     Report this post  
broadblues 
Re: The Cat is out of the Box...(NoYellow)
Posted on 9-Sep-2012 14:18:05
#11 ]
Amiga Developer Team
Joined: 20-Jul-2004
Posts: 4415
From: Portsmouth England

@Hypex

Quote:

The OS4 yellow alerts look fake and overtwrite the screen. That is not a real Amiga guru!


They are not "fake", the design you refer to is only true of gurus on 1.3, after they were not called gurus anymore and were different, if the alrts for AmigaOS 2.04 and up can differ in appearance from AmigaOS 1.3 why shouldn't the design for AmigaOS 4 differ slightly again?


Quote:

Plus if you have only USB mouse it lies to you when it says to press left mouse button. Because that doesn't work anymore. Not when I got one. I excpet an Amiga to react instantly to mouse buttons like it has always done.


You know very well this is because alerts run in a forbid state and thus USB cannot work, PS2 do work as they are hardware interupt driven.


Quote:

AFAIK the original routine hardware banged the CIA register so why doesn't it still do that now? OS4 includes CIA mouse emulation so it should work anytime


I've no idea if the original alerts banged hadware or not, but one reason why they can't no is that there is no CIA to bang. If the cia is emulated as you descfribe (really not sure about that) then clearly the emulation wont work in a forbid state.

@thread

I would recomend against this patch. Why? Because the with is the alert is not in a forbid state! Whilst this is what make them a pain, it's clearly done for a reason. Alerts usually happen when low level things have gone wrong, they are quite rare now, but the most common is corrupt memeory list (0x01000005) imagine if you memlists are corrupted and another application can happily carry on accessing them, because of the lack of forbid? If that's not a route to loss of data I don't know what is.


_________________
BroadBlues On Blues BroadBlues On Amiga Walker Broad

 Status: Offline
Profile     Report this post  
Hypex 
Re: The Cat is out of the Box...(NoYellow)
Posted on 9-Sep-2012 14:57:40
#12 ]
Elite Member
Joined: 6-May-2007
Posts: 10095
From: Greensborough, Australia

@broadblues

Quote:
They are not "fake", the design you refer to is only true of gurus on 1.3


I'm not talking about design or whatever the alerts call themselves. I'm talking about how they are placed on screen. Alerts push the screen down on AmigaOS up 3.x. OS4 just writes them over the top, which isn't the correct way to do an alert.

Quote:
You know very well this is because alerts run in a forbid state and thus USB cannot work,


Yes I do know but why doesn't USB run on a higher level than a task? For things like input this is now a major design flaw. It's also not an Amiga thing to be unable to read input like this.

USB input should be running as a soft interrupt in that case but I haven't been told why it doesn't.

Quote:
If the cia is emulated as you descfribe (really not sure about that) then clearly the emulation wont work in a forbid state.


Yes it still would. Hitting the CIAs will cause a DSI and generate a hardware interrupt. The Exec handler would be called and the hit intercepted above the task level.

Quote:
I would recomend against this patch.


After some preliminary testing I would agree with you. I tried it with DvPlayer on my X1000 that is causing yellow alerts when I try to open a DVD with it. With this there is no alert but the system becomes unstable and eventually freezes. So it's no different than before!

Quote:
Because the with is the alert is not in a forbid state!


I would forbid the task that acted badly.

BTW, how would a task corrupt the memory list? Can it happen indirectly? No task should be touching it directly.

 Status: Offline
Profile     Report this post  
broadblues 
Re: The Cat is out of the Box...(NoYellow)
Posted on 9-Sep-2012 16:59:54
#13 ]
Amiga Developer Team
Joined: 20-Jul-2004
Posts: 4415
From: Portsmouth England

@Hypex
Quote:

Quote:

They are not "fake", the design you refer to is only true of gurus on 1.3


I'm not talking about design or whatever the alerts call themselves. I'm talking about how they are placed on screen. Alerts push the screen down on AmigaOS up 3.x. OS4 just writes them over the top, which isn't the correct way to do an alert.


From the autodocs:


New for V36: Alerts are always rendered in Topaz 8 (80 column font),
regardless of the system default font. Also, RECOVERY_ALERTs are
displayed in amber, while DEADEND_ALERTs are still red. Alerts
no longer push down the application screens to be displayed. Rather,
they appear alone in a black display.


version 36 is 2,.04 IIRC but I may be wrong, TBH the appearance of an alert is the most trivial aspect of this so I am not going to fire up my a1200 to verify.

Quote:

Yes I do know but why doesn't USB run on a higher level than a task? For things like input this is now a major design flaw. It's also not an Amiga thing to be unable to read input like this.


It doesn't matter how high your taskpri is if another task call Forbid() it wont get executed.

Quote:

USB input should be running as a soft interrupt in that case but I haven't been told why it doesn't.


IIUC USB is designed to not use interupts as such, it's pollled. That's ageneral USB thing not amiga thing.

Should USB be using software interupts as you suggest, some task would have to be Cause() ing those interupts. But we are in a forbid() so that task wont be running, hence no change (That was abit of a guess and may bear no relation to the truth)

Quote:

Quote:

Quote:
If the cia is emulated as you descfribe (really not sure about that) then clearly the emulation wont work in a forbid state.


Yes it still would. Hitting the CIAs will cause a DSI and generate a hardware interrupt. The Exec handler would be called and the hit intercepted above the task level.


Okay if that's the way it works, it doesn't solve anythng as USB is still locked out. the exec handler for the cia emulation cannot possibly scan the entire usb system in the hope of a mouse and extract any recent mouse presses from it.

The Forbid is thing here, that both saves and damns us.

Quote:

After some preliminary testing I would agree with you. I tried it with DvPlayer on my X1000 that is causing yellow alerts when I try to open a DVD with it. With this there is no alert but the system becomes unstable and eventually freezes. So it's no different than before!


Absolutly! Yellow alerts are rarely gratiutus, the best way to eradicate the problem they cause is to fix the software that caused them! You have ofcourse checked the serial output and file a suitable bugreport?

Quote:

BTW, how would a task corrupt the memory list? Can it happen indirectly? No task should be touching it directly


By doing somethng nasty like, free memeory that was never allocated in the first place (unitialsed pointer) freeing memory twice, buffer over/underuns that corrupt adjacent memory, in particulr the 'cookie' which decribes the memory block, writing into memory at random becauseof a stackoverflow or other similar source of dud data.


_________________
BroadBlues On Blues BroadBlues On Amiga Walker Broad

 Status: Offline
Profile     Report this post  
NutsAboutAmiga 
Re: The Cat is out of the Box...(NoYellow)
Posted on 9-Sep-2012 22:33:50
#14 ]
Elite Member
Joined: 9-Jun-2004
Posts: 11491
From: Norway

Quote:
I would recomend against this patch. Why? Because the with is the alert is not in a forbid state! Whilst this is what make them a pain, it's clearly done for a reason. Alerts usually happen when low level things have gone wrong, they are quite rare now, but the most common is corrupt memeory list (0x01000005) imagine if you memlists are corrupted and another application can happily carry on accessing them, because of the lack of forbid? If that's not a route to loss of data I don't know what is.


That's way you have the --suspend option for noalert.elf, to kill of tasks before they do anymore harm,

the data is lost anyway if you can't click away the alert.

its not alert that should kill the task but but the errror handling routines that calls the alert.

In --suspend mode the task will be suspended, and forbid will be broken after task was suspended, in this mode you will not be able to run legacy crap, but your system will stay relatively safe (It will suspend all task and processes even the recoverable alerts).

NOTE:
This does not effect DisplayAlert(), I consider displayalert relatively a safe alert, only for displaying stupid messages like missing font or stuff like that.

Last edited by NutsAboutAmiga on 09-Sep-2012 at 10:50 PM.
Last edited by NutsAboutAmiga on 09-Sep-2012 at 10:48 PM.
Last edited by NutsAboutAmiga on 09-Sep-2012 at 10:35 PM.


_________________
http://lifeofliveforit.blogspot.no/
Facebook::LiveForIt Software for AmigaOS

 Status: Offline
Profile     Report this post  
NutsAboutAmiga 
Re: The Cat is out of the Box...(NoYellow)
Posted on 9-Sep-2012 22:39:34
#15 ]
Elite Member
Joined: 9-Jun-2004
Posts: 11491
From: Norway

Quote:
Absolutly! Yellow alerts are rarely gratiutus, the best way to eradicate the problem they cause is to fix the software that caused them! You have ofcourse checked the serial output and file a suitable bugreport?


It's is not a magical fix, it does not repair broken programs, it only helps agents system locking up's.


_________________
http://lifeofliveforit.blogspot.no/
Facebook::LiveForIt Software for AmigaOS

 Status: Offline
Profile     Report this post  
NutsAboutAmiga 
Re: The Cat is out of the Box...(NoYellow)
Posted on 9-Sep-2012 22:45:01
#16 ]
Elite Member
Joined: 9-Jun-2004
Posts: 11491
From: Norway

Quote:
By doing somethng nasty like, free memeory that was never allocated in the first place (unitialsed pointer) freeing memory twice


ARexx does that, check out AmiPodder.
Its so easy to read the errors when you have my patch

Quote:
buffer over/underuns that corrupt adjacent memory, in particulr the 'cookie' which decribes the memory block, writing into memory at random becauseof a stackoverflow or other similar source of dud data.


Grim Reaper will catch this errors.
DSI / ISI errors.

Last edited by NutsAboutAmiga on 09-Sep-2012 at 10:57 PM.
Last edited by NutsAboutAmiga on 09-Sep-2012 at 10:46 PM.


_________________
http://lifeofliveforit.blogspot.no/
Facebook::LiveForIt Software for AmigaOS

 Status: Offline
Profile     Report this post  
[ home ][ about us ][ privacy ] [ forums ][ classifieds ] [ links ][ news archive ] [ link to us ][ user account ]
Copyright (C) 2000 - 2019 Amigaworld.net.
Amigaworld.net was originally founded by David Doyle