repo.or.cz
/
AROS-Contrib.git
/
blob
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
log
|
graphiclog1
|
graphiclog2
|
commit
|
commitdiff
|
tree
|
refs
|
edit
|
fork
blame
|
history
|
raw
|
HEAD
set the include directory
[AROS-Contrib.git]
/
Games
/
Doom
/
amiga_timer.s
blob
54ce513e628a6c988520ce24bdf7145ce8b90cf5
1
2
.extern ppctimer
3
4
# return the timebase registers in the structure passed in
5
6
.align 4
7
8
ppctimer
:
mftbu
r4
9
mftbl
r5
10
mftbu
r6
11
cmpw
r4
,
r6
12
bne
ppctimer
13
14
stw
r4
,
0
(
r3
)
15
stw
r5
,
4
(
r3
)
16
blr
17