mirror of
https://github.com/RaySollium99/picodrive.git
synced 2025-09-06 15:48:05 -04:00
32x: interpreter-wrap drc works (demos only). SVP drc refactoring.
git-svn-id: file:///home/notaz/opt/svn/PicoDrive@812 be3aeb3a-fb24-0410-a615-afba39da0efa
This commit is contained in:
parent
98da48e418
commit
679af8a3f4
19 changed files with 1505 additions and 46 deletions
16
cpu/sh2/stub_x86.asm
Normal file
16
cpu/sh2/stub_x86.asm
Normal file
|
@ -0,0 +1,16 @@
|
|||
section .text
|
||||
|
||||
global sh2_drc_entry ; SH2 *sh2, void *block
|
||||
|
||||
sh2_drc_entry:
|
||||
push ebp
|
||||
mov ebp, [esp+4+4] ; context
|
||||
mov eax, [esp+4+8]
|
||||
jmp eax
|
||||
|
||||
global sh2_drc_exit
|
||||
|
||||
sh2_drc_exit:
|
||||
pop ebp
|
||||
ret
|
||||
|
Loading…
Add table
Add a link
Reference in a new issue