aboutsummaryrefslogtreecommitdiffstats
path: root/src/uxn-core.c
diff options
context:
space:
mode:
authorBad Diode <bd@badd10de.dev>2023-08-30 20:31:08 +0200
committerBad Diode <bd@badd10de.dev>2023-08-30 20:31:08 +0200
commit874ae39b6074da2778b72bcbaf6c7c7ef19aa233 (patch)
tree5ed5989ac78df0fea75c88c0b63f9a1a5ead6f53 /src/uxn-core.c
parentbe57c62f4633623005b5ac463ce7f65e8761d9bd (diff)
downloaduxngba-874ae39b6074da2778b72bcbaf6c7c7ef19aa233.tar.gz
uxngba-874ae39b6074da2778b72bcbaf6c7c7ef19aa233.zip
Remove previous uxn core
Diffstat (limited to 'src/uxn-core.c')
-rw-r--r--src/uxn-core.c4
1 files changed, 4 insertions, 0 deletions
diff --git a/src/uxn-core.c b/src/uxn-core.c
index 6ff4c50..8a2c971 100644
--- a/src/uxn-core.c
+++ b/src/uxn-core.c
@@ -30,3 +30,7 @@ extern u8 device_data[256];
30 30
31EWRAM_BSS 31EWRAM_BSS
32u8 uxn_ram[KB(64)]; 32u8 uxn_ram[KB(64)];
33
34#define PAGE_PROGRAM 0x0100
35#define POKE2(d, v) do { (d)[0] = (v) >> 8; (d)[1] = (v); } while(0)
36#define PEEK2(d) ((d)[0] << 8 | (d)[1])