code/header cleanup

This commit is contained in:
ekeeke31 2010-02-19 12:37:39 +00:00
parent 180317a392
commit e793e3c8fd
9 changed files with 14 additions and 13 deletions

View File

@ -1,6 +1,6 @@
/****************************************************************************
* Genesis Plus
* Serial EEPROM support
* I2C EEPROM support
*
* Copyright (C) 2007, 2008, 2009 Eke-Eke (GCN/Wii port)
*

View File

@ -1,6 +1,6 @@
/****************************************************************************
* Genesis Plus
* Serial EEPROM support
* I2C EEPROM support
*
* Copyright (C) 2007, 2008, 2009 Eke-Eke (GCN/Wii port)
*

View File

@ -1,6 +1,6 @@
/***************************************************************************************
* Genesis Plus
* 68k memory handlers
* 68k bus arbitration
*
* 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

View File

@ -1,6 +1,6 @@
/***************************************************************************************
* Genesis Plus
* 68k memory handlers
* 68k bus arbitration
*
* 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

View File

@ -1,6 +1,6 @@
/***************************************************************************************
* 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)
* Eke-Eke (2007,2008,2009), additional code & fixes for the GCN/Wii port

View File

@ -1,6 +1,6 @@
/***************************************************************************************
* 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)
* Eke-Eke (2007,2008,2009), additional code & fixes for the GCN/Wii port

View File

@ -1,6 +1,6 @@
/***************************************************************************************
* Genesis Plus
* Z80 memory handler
* Z80 bus arbitration (Genesis mode)
*
* 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

View File

@ -1,6 +1,6 @@
/***************************************************************************************
* Genesis Plus
* Z80 memory handler
* Z80 bus arbitration (Genesis mode)
*
* 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
@ -23,4 +23,9 @@
#ifndef _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_ */

View File

@ -2,6 +2,7 @@
#define Z80_H_
#include "cpuintrf.h"
#include "memz80.h"
enum
{
@ -51,10 +52,5 @@ void z80_get_context (void *dst);
void z80_set_context (void *src);
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