mirror of
https://github.com/elliotnunn/wedge.git
synced 2024-11-22 07:31:58 +00:00
15 lines
332 B
C
15 lines
332 B
C
|
#include <stdio.h>
|
||
|
|
||
|
#define Middle ((long *)0xfff20000UL)
|
||
|
|
||
|
void main(void)
|
||
|
{
|
||
|
if(Middle[-2] != 'WgLg')
|
||
|
{
|
||
|
printf("The Wedge did not run. Restart with a Mac OS ROM file in your System Folder that has the Wedge built in. This application displays the Wedge log.\n");
|
||
|
return;
|
||
|
}
|
||
|
|
||
|
fwrite((char *)Middle, 1, Middle[-1], stdout);;
|
||
|
}
|