commit | bb478f1c74e16fbd3c562a521102a8eaa9ea5e1e | [log] [tgz] |
---|---|---|
author | swissChili <swisschili@fastmail.com> | Fri Aug 07 20:45:07 2020 -0700 |
committer | swissChili <swisschili@fastmail.com> | Fri Aug 07 20:45:07 2020 -0700 |
tree | 9072ad4e53a00a43529f6de87f79b97f921ba7bc | |
parent | 2f370baebe450006b503028c914d44bdcd4127c4 [diff] [blame] |
Add screen(), memory mapped frame buffer
diff --git a/cpu.h b/cpu.h index 4629b14..cee84c5 100644 --- a/cpu.h +++ b/cpu.h
@@ -4,6 +4,9 @@ #include <stdbool.h> #define REGISTERS R(A) R(X) R(Y) R(SP) +#define CPU_FB_ADDR 0x200 +#define CPU_FB_W 32 +#define CPU_FB_H 32 enum // Registers {