1 /* 2 * crtc-mem.h - A line-based CRTC emulation (under construction). 3 * 4 * Written by 5 * Ettore Perazzoli <ettore@comm2000.it> 6 * Andre Fachat <fachat@physik.tu-chemnitz.de> 7 * 8 * 16/24bpp support added by 9 * Steven Tieu <stieu@physics.ubc.ca> 10 * Teemu Rantanen <tvr@cs.hut.fi> 11 * 12 * This file is part of VICE, the Versatile Commodore Emulator. 13 * See README for copyright notice. 14 * 15 * This program is free software; you can redistribute it and/or modify 16 * it under the terms of the GNU General Public License as published by 17 * the Free Software Foundation; either version 2 of the License, or 18 * (at your option) any later version. 19 * 20 * This program is distributed in the hope that it will be useful, 21 * but WITHOUT ANY WARRANTY; without even the implied warranty of 22 * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the 23 * GNU General Public License for more details. 24 * 25 * You should have received a copy of the GNU General Public License 26 * along with this program; if not, write to the Free Software 27 * Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 28 * 02111-1307 USA. 29 * 30 */ 31 32 33 #ifndef VICE_CRTC_MEM_H 34 #define VICE_CRTC_MEM_H 35 36 #include "types.h" 37 38 extern void crtc_store(uint16_t addr, uint8_t value); 39 extern uint8_t crtc_read(uint16_t addr); 40 extern uint8_t crtc_peek(uint16_t addr); 41 extern int crtc_dump(void); 42 43 extern void crtc_set_char(int crom); 44 45 extern void crtc_update_memory_ptrs(void); 46 47 #endif 48