summaryrefslogtreecommitdiff
path: root/pcr/reicast-git/futuristic-memops.patch
blob: 51767040269d606d50e5f3a09fb31a7425d5b7b3 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
diff -Nur a/core/hw/sh4/dyna/shil_canonical.h b/core/hw/sh4/dyna/shil_canonical.h
--- a/core/hw/sh4/dyna/shil_canonical.h	2015-10-06 21:43:53.031336322 -0300
+++ b/core/hw/sh4/dyna/shil_canonical.h	2015-10-06 21:48:30.009328396 -0300
@@ -206,6 +206,27 @@
 shil_recimp()
 shil_opc_end()
 
+//mem io v2
+
+//vref = vrans<mode|size>(ptr, nil)
+//vref = vrans<mode|size>(base, offset)
+shil_opc(vtrans)
+shil_recimp()
+shil_opc_end()
+
+//dst = readpvr<size>(vref)
+//dst = readpvr<size>(vref, nil, offs) w/ offs < 1024
+shil_opc(readvptr)
+shil_recimp()
+shil_opc_end()
+
+//writevptr<size>(vref, src)
+//writevptr<size>(vref, src, offs) w/ offs < 1024
+shil_opc(writevptr)
+shil_recimp()
+shil_opc_end()
+
+
 //Canonical impl. opcodes !
 shil_opc(sync_sr)
 shil_canonical