summaryrefslogtreecommitdiff
path: root/pcr/reicast-git/futuristic-memops.patch
diff options
context:
space:
mode:
authorcoadde [Márcio Alexandre Silva Delgado] <coadde@parabola.nu>2015-10-07 03:14:31 -0300
committercoadde [Márcio Alexandre Silva Delgado] <coadde@parabola.nu>2015-10-07 03:18:49 -0300
commit7b54c0078640584b82d93ad445537a9b069dfeb0 (patch)
tree25e3ac69ae0e24d4c57837e9b6a5944405e3272f /pcr/reicast-git/futuristic-memops.patch
parentb35d45f979dc2c511e94d5ad33bba43425fa45a0 (diff)
pcr/reicast-git: update pkg
Diffstat (limited to 'pcr/reicast-git/futuristic-memops.patch')
-rw-r--r--pcr/reicast-git/futuristic-memops.patch31
1 files changed, 31 insertions, 0 deletions
diff --git a/pcr/reicast-git/futuristic-memops.patch b/pcr/reicast-git/futuristic-memops.patch
new file mode 100644
index 000000000..517670402
--- /dev/null
+++ b/pcr/reicast-git/futuristic-memops.patch
@@ -0,0 +1,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