mirror of
https://github.com/ekeeke/Genesis-Plus-GX.git
synced 2024-12-28 12:11:50 +01:00
code/header cleanup
This commit is contained in:
parent
180317a392
commit
e793e3c8fd
@ -1,6 +1,6 @@
|
|||||||
/****************************************************************************
|
/****************************************************************************
|
||||||
* Genesis Plus
|
* Genesis Plus
|
||||||
* Serial EEPROM support
|
* I2C EEPROM support
|
||||||
*
|
*
|
||||||
* Copyright (C) 2007, 2008, 2009 Eke-Eke (GCN/Wii port)
|
* Copyright (C) 2007, 2008, 2009 Eke-Eke (GCN/Wii port)
|
||||||
*
|
*
|
||||||
|
@ -1,6 +1,6 @@
|
|||||||
/****************************************************************************
|
/****************************************************************************
|
||||||
* Genesis Plus
|
* Genesis Plus
|
||||||
* Serial EEPROM support
|
* I2C EEPROM support
|
||||||
*
|
*
|
||||||
* Copyright (C) 2007, 2008, 2009 Eke-Eke (GCN/Wii port)
|
* Copyright (C) 2007, 2008, 2009 Eke-Eke (GCN/Wii port)
|
||||||
*
|
*
|
||||||
|
@ -1,6 +1,6 @@
|
|||||||
/***************************************************************************************
|
/***************************************************************************************
|
||||||
* Genesis Plus
|
* Genesis Plus
|
||||||
* 68k memory handlers
|
* 68k bus arbitration
|
||||||
*
|
*
|
||||||
* Copyright (C) 1998, 1999, 2000, 2001, 2002, 2003 Charles Mac Donald (original code)
|
* Copyright (C) 1998, 1999, 2000, 2001, 2002, 2003 Charles Mac Donald (original code)
|
||||||
* Eke-Eke (2007,2008,2009), additional code & fixes for the GCN/Wii port
|
* Eke-Eke (2007,2008,2009), additional code & fixes for the GCN/Wii port
|
||||||
|
@ -1,6 +1,6 @@
|
|||||||
/***************************************************************************************
|
/***************************************************************************************
|
||||||
* Genesis Plus
|
* Genesis Plus
|
||||||
* 68k memory handlers
|
* 68k bus arbitration
|
||||||
*
|
*
|
||||||
* Copyright (C) 1998, 1999, 2000, 2001, 2002, 2003 Charles Mac Donald (original code)
|
* Copyright (C) 1998, 1999, 2000, 2001, 2002, 2003 Charles Mac Donald (original code)
|
||||||
* Eke-Eke (2007,2008,2009), additional code & fixes for the GCN/Wii port
|
* Eke-Eke (2007,2008,2009), additional code & fixes for the GCN/Wii port
|
||||||
|
@ -1,6 +1,6 @@
|
|||||||
/***************************************************************************************
|
/***************************************************************************************
|
||||||
* Genesis Plus
|
* Genesis Plus
|
||||||
* M68k Bank access from Z80
|
* 68k bus banked access from Z80
|
||||||
*
|
*
|
||||||
* Copyright (C) 1998, 1999, 2000, 2001, 2002, 2003 Charles Mac Donald (original code)
|
* Copyright (C) 1998, 1999, 2000, 2001, 2002, 2003 Charles Mac Donald (original code)
|
||||||
* Eke-Eke (2007,2008,2009), additional code & fixes for the GCN/Wii port
|
* Eke-Eke (2007,2008,2009), additional code & fixes for the GCN/Wii port
|
||||||
|
@ -1,6 +1,6 @@
|
|||||||
/***************************************************************************************
|
/***************************************************************************************
|
||||||
* Genesis Plus
|
* Genesis Plus
|
||||||
* M68k Bank access from Z80
|
* 68k bus banked access from Z80
|
||||||
*
|
*
|
||||||
* Copyright (C) 1998, 1999, 2000, 2001, 2002, 2003 Charles Mac Donald (original code)
|
* Copyright (C) 1998, 1999, 2000, 2001, 2002, 2003 Charles Mac Donald (original code)
|
||||||
* Eke-Eke (2007,2008,2009), additional code & fixes for the GCN/Wii port
|
* Eke-Eke (2007,2008,2009), additional code & fixes for the GCN/Wii port
|
||||||
|
@ -1,6 +1,6 @@
|
|||||||
/***************************************************************************************
|
/***************************************************************************************
|
||||||
* Genesis Plus
|
* Genesis Plus
|
||||||
* Z80 memory handler
|
* Z80 bus arbitration (Genesis mode)
|
||||||
*
|
*
|
||||||
* Copyright (C) 1998, 1999, 2000, 2001, 2002, 2003 Charles Mac Donald (original code)
|
* Copyright (C) 1998, 1999, 2000, 2001, 2002, 2003 Charles Mac Donald (original code)
|
||||||
* Eke-Eke (2007,2008,2009), additional code & fixes for the GCN/Wii port
|
* Eke-Eke (2007,2008,2009), additional code & fixes for the GCN/Wii port
|
||||||
|
@ -1,6 +1,6 @@
|
|||||||
/***************************************************************************************
|
/***************************************************************************************
|
||||||
* Genesis Plus
|
* Genesis Plus
|
||||||
* Z80 memory handler
|
* Z80 bus arbitration (Genesis mode)
|
||||||
*
|
*
|
||||||
* Copyright (C) 1998, 1999, 2000, 2001, 2002, 2003 Charles Mac Donald (original code)
|
* Copyright (C) 1998, 1999, 2000, 2001, 2002, 2003 Charles Mac Donald (original code)
|
||||||
* Eke-Eke (2007,2008,2009), additional code & fixes for the GCN/Wii port
|
* Eke-Eke (2007,2008,2009), additional code & fixes for the GCN/Wii port
|
||||||
@ -23,4 +23,9 @@
|
|||||||
#ifndef _MEMZ80_H_
|
#ifndef _MEMZ80_H_
|
||||||
#define _MEMZ80_H_
|
#define _MEMZ80_H_
|
||||||
|
|
||||||
|
extern unsigned int cpu_readmem16(unsigned int address);
|
||||||
|
extern void cpu_writemem16(unsigned int address, unsigned int data);
|
||||||
|
extern unsigned int cpu_readport16(unsigned int port);
|
||||||
|
extern void cpu_writeport16(unsigned int port, unsigned int data);
|
||||||
|
|
||||||
#endif /* _MEMZ80_H_ */
|
#endif /* _MEMZ80_H_ */
|
||||||
|
@ -2,6 +2,7 @@
|
|||||||
#define Z80_H_
|
#define Z80_H_
|
||||||
|
|
||||||
#include "cpuintrf.h"
|
#include "cpuintrf.h"
|
||||||
|
#include "memz80.h"
|
||||||
|
|
||||||
enum
|
enum
|
||||||
{
|
{
|
||||||
@ -51,10 +52,5 @@ void z80_get_context (void *dst);
|
|||||||
void z80_set_context (void *src);
|
void z80_set_context (void *src);
|
||||||
void z80_set_irq_line(int irqline, int state);
|
void z80_set_irq_line(int irqline, int state);
|
||||||
|
|
||||||
unsigned int cpu_readport16(unsigned int port);
|
|
||||||
void cpu_writeport16(unsigned int port, unsigned int data);
|
|
||||||
unsigned int cpu_readmem16(unsigned int address);
|
|
||||||
void cpu_writemem16(unsigned int address, unsigned int data);
|
|
||||||
|
|
||||||
#endif
|
#endif
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user