1 /* 2 * vdc-mem.h - Memory interface for the MOS 8563 (VDC) emulation. 3 * 4 * Written by 5 * Ettore Perazzoli <ettore@comm2000.it> 6 * Markus Brenner <markus@brenner.de> 7 * Andreas Boose <viceteam@t-online.de> 8 * 9 * This file is part of VICE, the Versatile Commodore Emulator. 10 * See README for copyright notice. 11 * 12 * This program is free software; you can redistribute it and/or modify 13 * it under the terms of the GNU General Public License as published by 14 * the Free Software Foundation; either version 2 of the License, or 15 * (at your option) any later version. 16 * 17 * This program is distributed in the hope that it will be useful, 18 * but WITHOUT ANY WARRANTY; without even the implied warranty of 19 * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the 20 * GNU General Public License for more details. 21 * 22 * You should have received a copy of the GNU General Public License 23 * along with this program; if not, write to the Free Software 24 * Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 25 * 02111-1307 USA. 26 * 27 */ 28 29 #ifndef VICE_VDC_MEM_H 30 #define VICE_VDC_MEM_H 31 32 #include "types.h" 33 34 extern void vdc_store(uint16_t addr, uint8_t value); 35 extern uint8_t vdc_read(uint16_t addr); 36 extern uint8_t vdc_peek(uint16_t addr); 37 38 extern void vdc_ram_store(uint16_t addr, uint8_t value); 39 extern uint8_t vdc_ram_read(uint16_t addr); 40 41 extern int vdc_dump(void *context, uint16_t addr); 42 43 #endif 44