1 |
|
/* |
2 |
|
* main_beos.cpp - SIDPlayer BeOS main program |
3 |
|
* |
4 |
< |
* SIDPlayer (C) Copyright 1996-2001 Christian Bauer |
4 |
> |
* SIDPlayer (C) Copyright 1996-2003 Christian Bauer |
5 |
|
* |
6 |
|
* This program is free software; you can redistribute it and/or modify |
7 |
|
* it under the terms of the GNU General Public License as published by |
311 |
|
{ |
312 |
|
BAlert *theAlert = new BAlert("", |
313 |
|
"SIDPlayer\nVersion " VERSION "\n\n" |
314 |
< |
"Copyright " B_UTF8_COPYRIGHT " 1996-2001 Christian Bauer\n" |
314 |
> |
"Copyright " B_UTF8_COPYRIGHT " 1996-2003 Christian Bauer\n" |
315 |
|
"E-mail: Christian.Bauer@uni-mainz.de\n" |
316 |
< |
"http://www.uni-mainz.de/~bauec002/\n\n" |
316 |
> |
"http://www.uni-mainz.de/~bauec002/SPMain.html\n\n" |
317 |
|
"SIDPlayer comes with ABSOLUTELY NO\n" |
318 |
|
"WARRANTY. This is free software, and\n" |
319 |
|
"you are welcome to redistribute it\n" |
641 |
|
} |
642 |
|
|
643 |
|
|
644 |
+ |
/* |
645 |
+ |
* Get current value of microsecond timer |
646 |
+ |
*/ |
647 |
+ |
|
648 |
+ |
uint64 GetTicks_usec(void) |
649 |
+ |
{ |
650 |
+ |
return system_time(); |
651 |
+ |
} |
652 |
+ |
|
653 |
+ |
|
654 |
+ |
/* |
655 |
+ |
* Delay by specified number of microseconds (<1 second) |
656 |
+ |
*/ |
657 |
+ |
|
658 |
+ |
void Delay_usec(uint32 usec) |
659 |
+ |
{ |
660 |
+ |
snooze(usec); |
661 |
+ |
} |
662 |
+ |
|
663 |
+ |
|
664 |
|
/* |
665 |
|
* Main program |
666 |
|
*/ |