Code: Select all
DIM code%% 100
]^P% = code%%
[.thread
mov ecx,1000000000
.pause
loop pause
mov eax,&12345678
ret
]
SYS "SDL_CreateThread", thread, "thread", FALSE TO thread%
PRINT ~thread%
SYS "SDL_WaitThread", thread%, ^result%
PRINT ~result%
END
I'm at a complete loss with this one. If anybody has a clue what is going on I would be very interested.