Originally posted by Borisz@Mon, 2004-12-13 @ 11:25 PM
if you are testing it on emus, its possible that none of the emus have those commands implemented in the SMPC block.
[post=125865]Quoted post[/post]
Originally posted by antime@Mon, 2004-12-13 @ 09:45 PM
Have you verified that you even have proper Saturn-specific implementations of either function?
[post=125868]Quoted post[/post]
Originally posted by antime@Tue, 2004-12-14 @ 04:52 PM
There is no C library provided with SGL.[post=125911]Quoted post[/post]
vbt said:
.text
.global _OSTrap
.global _OSTrapErrno
OSTrap:
sts.l pr, @-r15
mova TrapTable, r0
shll2 r4
mov.l @(r0, r4), r0
tst r0, r0
bt Exit
mov r5, r4
mov r6, r5
jsr @r0
mov r7, r6
mov.l OSTrapErrno, r1
mov.l @r1, r1
Exit:
lds.l @r15+, pr
rte
nop
.balign 4
OSTrapErrno:
.long 0
TrapTable:
.long _SysCall0Implementation
.long _SysCall1Implementation
/* ..and so on */