TempleOSTS_130315.ISO
This commit is contained in:
1 parent
e57428affb
commit
17b71f1a2d
958 files changed
+26043
-15907
No files matched your search
@@ -0,0 +1,31 @@
|
||||
// imports all syms from the Adam Task's hash table.
|
||||
#include "::/TempleOS/Kernel/AOTAdam.HPP"
|
||||
|
||||
asm {
|
||||
USE64
|
||||
IMPORT Beep;
|
||||
_MY_BEEP::
|
||||
ENTER 0
|
||||
|
||||
PUSH FALSE
|
||||
PUSH 300
|
||||
CALL Beep
|
||||
|
||||
LEAVE
|
||||
RET
|
||||
}
|
||||
|
||||
_extern _MY_BEEP U0 MyBeep();
|
||||
|
||||
U0 Routine2(U8 *st)
|
||||
{
|
||||
PrintF("Routine2:%s\n",st);
|
||||
MyBeep();
|
||||
}
|
||||
|
||||
PutS("$$BK,1$$Woo-Hoo!$$BK,0$$\n");
|
||||
Dir;
|
||||
PutS("$$BK,1$$Woo-Hoo!$$BK,0$$\n");
|
||||
|
||||
Routine2("Cool");
|
||||
|
||||
Reference in new issue
Block a user