Amiga.org
Amiga computer related discussion => Amiga Software Issues and Discussion => Topic started by: orange on December 23, 2013, 03:52:12 PM
-
I'm trying to compile this simple program:
include
main ()
{
char *p = 0xbfd100;
*p = 4;
TimeDelay(0,0,31000);
*p = 0;
return (0);
}
It compiles nicely (minor warning about pointer type mismatch), but I don't know how to link it.
slink asks about DEFINE value for: __XCOVF _TimeDelay and ___base ?
If I enter some values, program gurus with #80000003
How to link it?
-
compiles through "starter_project"?
-
compiles through "starter_project"?
thanks Bobo, that works like a charm.
edit: I seem to have another problem now, how to make a pause/delay of exactly N miliseconds?