From a50b3820e29af6d12b86c55afb8be1aee9091558 Mon Sep 17 00:00:00 2001 From: Ian C Date: Mon, 9 Oct 2006 00:32:14 +0000 Subject: Working version with a few games included --- arm9/include/zx81.h | 18 ++++++++++++++++++ 1 file changed, 18 insertions(+) (limited to 'arm9/include/zx81.h') 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); -- cgit v1.2.3