summaryrefslogtreecommitdiff
path: root/arm9/include/zx81.h
diff options
context:
space:
mode:
authorIan C <ianc@noddybox.co.uk>2006-10-09 00:32:14 +0000
committerIan C <ianc@noddybox.co.uk>2006-10-09 00:32:14 +0000
commita50b3820e29af6d12b86c55afb8be1aee9091558 (patch)
treea3e74e4706488db0701bc992b1eb75e29d52e7a1 /arm9/include/zx81.h
parent09a74c822519bae9d20f79b8e7808f19c5094e7f (diff)
Working version with a few games included
Diffstat (limited to 'arm9/include/zx81.h')
-rw-r--r--arm9/include/zx81.h18
1 files changed, 18 insertions, 0 deletions
diff --git a/arm9/include/zx81.h b/arm9/include/zx81.h
index c1364d1..3d73955 100644
--- a/arm9/include/zx81.h
+++ b/arm9/include/zx81.h
@@ -39,6 +39,24 @@ void ZX81Init(uint16 *vram, Z80 *z80);
*/
void ZX81HandleKey(SoftKey k, int is_pressed);
+/* Set a file to load from tape
+*/
+void ZX81SetTape(const Z80Byte *image, int len);
+
+/* Reset the 81
+*/
+void ZX81Reset(Z80 *z80);
+
+/* Displays a string on the ZX81's dislpay. The screen is cleared and the
+ string displayed with \n characters breaking the line.
+
+ Not all characters can be respresented by the ZX81, and the screen will be
+ lost on the next emulation update cycle.
+
+ The character '%' toggles inverse video.
+*/
+void ZX81DisplayString(const char *p);
+
/* Interfaces for the Z80
*/
Z80Byte ZX81ReadMem(Z80 *z80, Z80Word addr);