2

任何人都可以发布一些源代码,这些源代码在编译(如有必要)并运行时会在 Amiga 上产生“Guru Meditation Error”。

汇编程序、C 或 ARexx 都可以。

谢谢。

4

2 回答 2

8

尝试以下Alert()功能exec.libraryhttp ://amigadev.elowar.com/read/ADCD_2.1/Includes_and_Autodocs_3._guide/node01E3.html

例如(在 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 */
}
于 2015-12-19T18:04:49.673 回答
2

一个好的旧零除法可以完成这项工作。

#include <stdio.h>
void main() {
  printf("%d", 1/0);
};
于 2016-03-17T15:22:55.807 回答