diff options
Diffstat (limited to 'include/zx81.h')
-rw-r--r-- | include/zx81.h | 18 |
1 files changed, 18 insertions, 0 deletions
diff --git a/include/zx81.h b/include/zx81.h index c1364d1..3d73955 100644 --- a/include/zx81.h +++ b/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); |