mirror of
https://github.com/dolphin-emu/dolphin.git
synced 2025-02-08 13:43:33 +01:00
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 #0x05
|
||||||
sbset #0x06
|
sbset #0x06
|
||||||
|
|
||||||
s40
|
set16
|
||||||
lri $CR, #0x00ff
|
lri $CR, #0x00ff
|
||||||
|
|
||||||
; Why do we have a main label here?
|
; Why do we have a main label here?
|
||||||
@ -192,7 +192,7 @@ main:
|
|||||||
mrr $r00, $r13
|
mrr $r00, $r13
|
||||||
call send_back
|
call send_back
|
||||||
|
|
||||||
s16
|
set40
|
||||||
nop
|
nop
|
||||||
lris $AC0.M, #0xcc
|
lris $AC0.M, #0xcc
|
||||||
lris $AC1.M, #0xcc
|
lris $AC1.M, #0xcc
|
||||||
@ -208,11 +208,11 @@ main:
|
|||||||
cw 0xa900
|
cw 0xa900
|
||||||
|
|
||||||
call send_back
|
call send_back
|
||||||
s16
|
set40
|
||||||
cw 0xa100
|
cw 0xa100
|
||||||
|
|
||||||
call send_back
|
call send_back
|
||||||
s16
|
set40
|
||||||
cw 0xa900
|
cw 0xa900
|
||||||
|
|
||||||
call send_back
|
call send_back
|
||||||
@ -502,7 +502,7 @@ irq4:
|
|||||||
jmp irq
|
jmp irq
|
||||||
irq5:
|
irq5:
|
||||||
; No idea what this code is doing.
|
; No idea what this code is doing.
|
||||||
s40
|
set16
|
||||||
mrr $r0d, $r1c
|
mrr $r0d, $r1c
|
||||||
mrr $r0d, $r1e
|
mrr $r0d, $r1e
|
||||||
clr $acc0
|
clr $acc0
|
||||||
@ -644,8 +644,8 @@ dma_copy:
|
|||||||
|
|
||||||
ret ; from send_back
|
ret ; from send_back
|
||||||
|
|
||||||
; If you are in s16 mode, use this instead of send_back if you want to stay
|
; If you are in set40 mode, use this instead of send_back if you want to stay
|
||||||
; in s16 mode.
|
; in set40 mode.
|
||||||
send_back_40:
|
send_back_40:
|
||||||
set16
|
set16
|
||||||
call send_back
|
call send_back
|
||||||
|
Loading…
x
Reference in New Issue
Block a user