12 lines
222 B
C
12 lines
222 B
C
|
#include "debug.h"
|
||
|
|
||
|
volatile short *dbg = (volatile short *)0x100;
|
||
|
|
||
|
/**
|
||
|
* Create a two-word write watch in the UAE debugger at memory location 0x100
|
||
|
* and call this function.
|
||
|
*/
|
||
|
void triggerUAEDebugger() {
|
||
|
*(dbg) = 0;
|
||
|
}
|