# snap_accessors.txt: simple accessors for libspectrum_snap
# Copyright (c) 2003 Philip Kendall

# $Id: snap_accessors.txt,v 1.9 2004/06/02 13:38:10 pak21 Exp $

# This program is free software; you can redistribute it and/or modify
# it under the terms of the GNU General Public License as published by
# the Free Software Foundation; either version 2 of the License, or
# (at your option) any later version.

# This program is distributed in the hope that it will be useful,
# but WITHOUT ANY WARRANTY; without even the implied warranty of
# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
# GNU General Public License for more details.

# You should have received a copy of the GNU General Public License
# along with this program; if not, write to the Free Software
# Foundation, Inc., 49 Temple Place, Suite 330, Boston, MA 02111-1307 USA

# Author contact information:

# E-mail: pak21-fuse@srcf.ucam.org
# Postal address: 15 Crescent Road, Wokingham, Berks, RG40 2DB, England

libspectrum_machine machine

libspectrum_byte a
libspectrum_byte f
libspectrum_word bc
libspectrum_word de
libspectrum_word hl
libspectrum_byte a_
libspectrum_byte f_
libspectrum_word bc_
libspectrum_word de_
libspectrum_word hl_
libspectrum_word ix
libspectrum_word iy
libspectrum_byte i
libspectrum_byte r
libspectrum_word sp
libspectrum_word pc
libspectrum_byte iff1
libspectrum_byte iff2
libspectrum_byte im

libspectrum_dword tstates

int halted
int last_instruction_ei

libspectrum_byte out_ula

libspectrum_byte out_128_memoryport
libspectrum_byte out_plus3_memoryport

libspectrum_byte out_ay_registerport
libspectrum_byte ay_registers 1

libspectrum_byte out_scld_hsr
libspectrum_byte out_scld_dec

int beta_paged
int beta_direction
libspectrum_byte beta_system
libspectrum_byte beta_track
libspectrum_byte beta_sector
libspectrum_byte beta_data
libspectrum_byte beta_status

libspectrum_byte* pages 1

libspectrum_byte* slt 1
size_t slt_length 1
libspectrum_byte* slt_screen
int slt_screen_level

int zxatasp_active
int zxatasp_upload
int zxatasp_writeprotect
libspectrum_byte zxatasp_port_a
libspectrum_byte zxatasp_port_b
libspectrum_byte zxatasp_port_c
libspectrum_byte zxatasp_control
size_t zxatasp_pages
size_t zxatasp_current_page
libspectrum_byte* zxatasp_ram 1

int zxcf_active
int zxcf_upload
libspectrum_byte zxcf_memctl
size_t zxcf_pages
libspectrum_byte* zxcf_ram 1

int interface2_active
libspectrum_byte* interface2_rom 1

int dock_active
libspectrum_byte exrom_ram 1
libspectrum_byte* exrom_cart 1
libspectrum_byte dock_ram 1
libspectrum_byte* dock_cart 1
