1 /***************************************************************************
3 * ZXEmuT -- ZX Spectrum Emulator with Tcl scripting
5 * Copyright (C) 2012-2022 Ketmar Dark <ketmar@ketmar.no-ip.org>
7 * This program is free software: you can redistribute it and/or modify
8 * it under the terms of the GNU General Public License as published by
9 * the Free Software Foundation, version 3 of the License ONLY.
11 * This program is distributed in the hope that it will be useful,
12 * but WITHOUT ANY WARRANTY; without even the implied warranty of
13 * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
14 * GNU General Public License for more details.
16 * You should have received a copy of the GNU General Public License
17 * along with this program. If not, see <http://www.gnu.org/licenses/>.
19 **************************************************************************/
20 #ifndef ZXEMUT_MEMVIEW_H
21 #define ZXEMUT_MEMVIEW_H
24 #include "../libzymosis/zymosis.h"
27 extern void memviewInit (void);
28 extern void memviewSetActive (int st
);
30 extern void memviewDraw (void);
31 extern int memviewKeyEvent (SDL_KeyboardEvent
*key
);
34 extern uint8_t mv_pagemap
[256];
37 #define MV_MAX_TEXT_WIDTH (68)
60 extern uint32_t mv_staddr
;
61 extern int mv_encoding
;
62 extern int mv_viewmode
;
63 extern int mv_textwidth
;
64 extern int mv_colortext_mode
;
65 extern int mv_colortext_ignore
;
66 extern uint8_t mv_textcolor
; // paper is ignored