home *** CD-ROM | disk | FTP | other *** search
- ' Example of a perpetually running accessory in GfA Basic 3
- ' by Richard Karsmakers
- '
- $m34000 !The amount of memory the accessory needs
- buf&=APPL_INIT() !Declera the accessory
- '
- DO !This loop is executed 'Multi-tasking'
- '
- ~EVNT_TIMER(300000) !Wait for 300000 milliseconds
- SGET screen$ !Get the screen
- PRINT "YEAH! IT WORKS!" !Do something. Put your own routine here!
- WHILE INKEY$="" !Wait for a key
- WEND
- SPUT screen$ !Put back the screen
- '
- LOOP
-