mirror of
https://github.com/digarok/gsplus.git
synced 2024-11-24 06:34:02 +00:00
46 lines
2.2 KiB
Plaintext
46 lines
2.2 KiB
Plaintext
/*
|
|
GSport - an Apple //gs Emulator
|
|
Copyright (C) 2010 by GSport contributors
|
|
|
|
Based on the KEGS emulator written by and Copyright (C) 2003 Kent Dickey
|
|
|
|
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.,
|
|
59 Temple Place, Suite 330, Boston, MA 02111-1307 USA
|
|
*/
|
|
|
|
/* END_HDR */
|
|
|
|
/* engine_c.c */
|
|
void check_breakpoints(word32 addr);
|
|
word32 get_memory8_io_stub(word32 addr, byte *stat, double *fcycs_ptr, double fplus_x_m1);
|
|
word32 get_memory16_pieces_stub(word32 addr, byte *stat, double *fcycs_ptr, Fplus *fplus_ptr, int in_bank);
|
|
word32 get_memory24_pieces_stub(word32 addr, byte *stat, double *fcycs_ptr, Fplus *fplus_ptr, int in_bank);
|
|
void set_memory8_io_stub(word32 addr, word32 val, byte *stat, double *fcycs_ptr, double fplus_x_m1);
|
|
void set_memory16_pieces_stub(word32 addr, word32 val, double *fcycs_ptr, double fplus_1, double fplus_x_m1, int in_bank);
|
|
void set_memory24_pieces_stub(word32 addr, word32 val, double *fcycs_ptr, Fplus *fplus_ptr, int in_bank);
|
|
word32 get_memory_c(word32 addr, int cycs);
|
|
word32 get_memory16_c(word32 addr, int cycs);
|
|
word32 get_memory24_c(word32 addr, int cycs);
|
|
void set_memory_c(word32 addr, word32 val, int cycs);
|
|
void set_memory16_c(word32 addr, word32 val, int cycs);
|
|
void set_memory24_c(word32 addr, word32 val, int cycs);
|
|
word32 do_adc_sbc8(word32 in1, word32 in2, word32 psr, int sub);
|
|
word32 do_adc_sbc16(word32 in1, word32 in2, word32 psr, int sub);
|
|
void fixed_memory_ptrs_init(void);
|
|
word32 get_itimer(void);
|
|
void set_halt_act(int val);
|
|
void clr_halt_act(void);
|
|
word32 get_remaining_operands(word32 addr, word32 opcode, word32 psr, Fplus *fplus_ptr);
|
|
int enter_engine(Engine_reg *engine_ptr);
|