Revision 1.0
DMA
99
Figure 4-3
DMA Wait Example
############################################
# Procedure to do DMA waits.
#
# Registers:
#
# $11 used as tmp
#
.name tmp, $11
DMAwait:
# request DMA access: (get semaphore)
mfc0 tmp, SP_RESERVED
bne tmp, zero, DMAwait
# note delay slot
WaitSpin:
mfc0 tmp, DMA_BUSY
bne tmp, zero, WaitSpin
nop
jr return
# clear semaphore, delay slot
mtc0 zero, SP_RESERVED
.unname tmp
#
#
#############################################
Содержание Ultra64
Страница 2: ...2 ...
Страница 10: ...10 ...
Страница 12: ...12 Figure 6 2 buildtask Operation 137 ...
Страница 14: ...14 ...
Страница 80: ...80 Vector Unit Instructions vmadm dres_int dres_int vconst 3 vmadn dres_frac vconst vconst 0 ...
Страница 104: ...104 RSP Coprocessor 0 ...
Страница 150: ...150 Advanced Information ...
Страница 155: ...Revision 1 0 155 ...
Страница 248: ...248 Exceptions None ...
Страница 251: ...Revision 1 0 251 Exceptions None ...
Страница 254: ...254 Exceptions None ...
Страница 257: ...Revision 1 0 257 Exceptions None ...
Страница 293: ...Revision 1 0 293 Exceptions None ...
Страница 316: ...316 Exceptions None ...