aboutsummaryrefslogtreecommitdiff
path: root/vm.h
diff options
context:
space:
mode:
authorJuan J. Martinez <jjm@usebox.net>2023-05-10 20:34:07 +0100
committerJuan J. Martinez <jjm@usebox.net>2023-05-10 20:34:07 +0100
commitf15e55b960e1aa4d63c29f85d5db931342b617d9 (patch)
treeb0fcbe7233149dbbfe853bc23e8a42123dd92e11 /vm.h
parent2a9dba45c2219757dccb249737d504b922f4451e (diff)
downloadtr8vm-f15e55b960e1aa4d63c29f85d5db931342b617d9.tar.gz
tr8vm-f15e55b960e1aa4d63c29f85d5db931342b617d9.zip
Avoid magic number and fix in trasparent reading from VRAM
Diffstat (limited to 'vm.h')
-rw-r--r--vm.h1
1 files changed, 1 insertions, 0 deletions
diff --git a/vm.h b/vm.h
index 118ea25..9ba93ed 100644
--- a/vm.h
+++ b/vm.h
@@ -26,6 +26,7 @@
#define _TR8_H
#define VIDEO_RAM 0xbf00
+#define VIDEO_RAM_LEN 16384
#define FRAME_INT_VECT 0xff00
typedef struct