aboutsummaryrefslogtreecommitdiff
path: root/vm.c
diff options
context:
space:
mode:
authorJuan J. Martinez <jjm@usebox.net>2023-05-12 23:49:49 +0100
committerJuan J. Martinez <jjm@usebox.net>2023-05-12 23:49:49 +0100
commit2e1cf13e604121b9d1cb79ef7ca7a08b475eaadb (patch)
treeb690e515a1c0e8c3e85fc549a11f8fd5669eb989 /vm.c
parenta20b308cfe92a8bb47c6896e7fdb24b15c2efd59 (diff)
downloadtr8vm-2e1cf13e604121b9d1cb79ef7ca7a08b475eaadb.tar.gz
tr8vm-2e1cf13e604121b9d1cb79ef7ca7a08b475eaadb.zip
We can do 4MIPS fine!
Diffstat (limited to 'vm.c')
-rw-r--r--vm.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/vm.c b/vm.c
index 98f33ef..63836c6 100644
--- a/vm.c
+++ b/vm.c
@@ -51,8 +51,8 @@
#define INT_VECTOR ((uin16_t)0xff00)
-/* (1 / 60.) * 8000000 */
-#define INSTR_PER_FRAME 133333L
+/* (1 / 60.) * 4000000 */
+#define INSTR_PER_FRAME 66666L
static uint8_t flags(uint8_t *f, uint16_t v, uint8_t mask)
{