mirror of
https://github.com/autc04/Retro68.git
synced 2024-12-01 11:52:47 +00:00
17 lines
170 B
C
17 lines
170 B
C
|
|
||
|
|
||
|
int p;
|
||
|
extern int edata;
|
||
|
extern int end;
|
||
|
start()
|
||
|
{
|
||
|
int *s;
|
||
|
asm ("lda #stack");
|
||
|
asm ("tcs");
|
||
|
for (s = &edata; s != &end; s++)
|
||
|
*s = 0;
|
||
|
|
||
|
main();
|
||
|
exit(0);
|
||
|
}
|