2 * Copyright (C) 2011, The AROS Development Team. All rights reserved.
3 * Author: Jason S. McMullan <jason.mcmullan@gmail.com>
5 * Licensed under the AROS PUBLIC LICENSE (APL) Version 1.1
8 #include <proto/exec.h>
11 /* Trivial startup for AROS */
12 extern void handler(struct DosPacket
*dp
);
14 __startup
void _main(void)
19 mp
= &((struct Process
*)FindTask(NULL
))->pr_MsgPort
;
23 dp
= (struct DosPacket
*)(GetMsg(mp
)->mn_Node
.ln_Name
);