Listing 1: Struktur für das timer.device.

struct timerequest *ioreq;
struct MsgPort     *port;

if((port = IExec->CreatePort(0,0)))
{
  if((ioreq = (struct timerequest *) 
       ÂIExec->CreateIORequest(port,sizeof
       Â(struct timerequest))))
  {
    if (!(IExec->OpenDevice(¿timer.device",
        ÂUNIT_VBLANK,(struct IORequest *)ioreq,0)))
    {