1
0
mirror of https://github.com/jscrane/r65emu.git synced 2024-06-08 07:29:37 +00:00
r65emu/hardware.h
2023-08-30 14:38:41 +01:00

29 lines
543 B
C

/*
* The hardware configuration of the machine.
*/
#ifndef __HARDWARE_H__
#define __HARDWARE_H__
#if defined(HARDWARE_H)
#include HARDWARE_H
#else
#include "hw/user.h"
#endif
bool hardware_reset();
void hardware_init(class CPU &);
void hardware_checkpoint(class Stream &);
void hardware_restore(class Stream &);
#if defined(__PS2DRV_H__) && defined(USE_KBD)
extern class PS2Driver ps2;
#endif
#if defined(__SPIRAM_H__) && defined(USE_SPIRAM)
extern class spiram sram;
#endif
#ifdef __MEMORY_H__
extern class Memory memory;
#endif
#endif