Made s16 into set40 and s40 into set16, should fix the test getting stuck
git-svn-id: https://dolphin-emu.googlecode.com/svn/trunk@3051 8ced0084-cf51-0410-be5f-012b33b47a6e
This commit is contained in:
parent
b4f108102d
commit
992dcea5ce
|
@ -87,7 +87,7 @@ MEM_LO: equ 0x0f7F
|
|||
sbset #0x05
|
||||
sbset #0x06
|
||||
|
||||
s40
|
||||
set16
|
||||
lri $CR, #0x00ff
|
||||
|
||||
; Why do we have a main label here?
|
||||
|
@ -192,7 +192,7 @@ main:
|
|||
mrr $r00, $r13
|
||||
call send_back
|
||||
|
||||
s16
|
||||
set40
|
||||
nop
|
||||
lris $AC0.M, #0xcc
|
||||
lris $AC1.M, #0xcc
|
||||
|
@ -208,11 +208,11 @@ main:
|
|||
cw 0xa900
|
||||
|
||||
call send_back
|
||||
s16
|
||||
set40
|
||||
cw 0xa100
|
||||
|
||||
call send_back
|
||||
s16
|
||||
set40
|
||||
cw 0xa900
|
||||
|
||||
call send_back
|
||||
|
@ -502,7 +502,7 @@ irq4:
|
|||
jmp irq
|
||||
irq5:
|
||||
; No idea what this code is doing.
|
||||
s40
|
||||
set16
|
||||
mrr $r0d, $r1c
|
||||
mrr $r0d, $r1e
|
||||
clr $acc0
|
||||
|
@ -644,8 +644,8 @@ dma_copy:
|
|||
|
||||
ret ; from send_back
|
||||
|
||||
; If you are in s16 mode, use this instead of send_back if you want to stay
|
||||
; in s16 mode.
|
||||
; If you are in set40 mode, use this instead of send_back if you want to stay
|
||||
; in set40 mode.
|
||||
send_back_40:
|
||||
set16
|
||||
call send_back
|
||||
|
|
Loading…
Reference in New Issue