Can anyone post some source code that, when compiled (if necessary) and run, will produce a 'Guru Meditation Error' on an Amiga.
Assembler, C or ARexx will do.
Thanks.
Try the Alert()
function of the exec.library
: http://amigadev.elowar.com/read/ADCD_2.1/Includes_and_Autodocs_3._guide/node01E3.html
For instance (in C):
#include <exec/execbase.h>
#include <exec/alerts.h>
#include <clib/exec_protos.h>
void main(void) {
Alert(ACPU_InstErr); /* or use 0x80000004 if you don't have alerts.h */
/* might not return if it was a dead end (non-recoverable) alert */
}