1
0
mirror of https://github.com/jscrane/r65emu.git synced 2025-04-20 04:37:59 +00:00

fix pico build

This commit is contained in:
steve 2025-01-11 13:27:17 +00:00
parent ee005889f4
commit 096575036f
7 changed files with 14 additions and 5 deletions

View File

@ -19,7 +19,8 @@ public:
virtual void checkpoint(Stream &s) = 0;
virtual void restore(Stream &s) = 0;
inline bool halted() { return _halted; }
inline bool halted() const { return _halted; }
inline Memory::address pc() const { return PC; }
Memory &memory() const { return _mem; }

View File

@ -1,5 +1,7 @@
#pragma once
#include <functional>
#if defined(HARDWARE_H)
#include HARDWARE_H
#else

View File

@ -1,5 +1,7 @@
#pragma once
#include <functional>
// Motorola 6820 / 6821 PIA
// https://en.wikipedia.org/wiki/Peripheral_Interface_Adapter
class PIA {

View File

@ -1,5 +1,7 @@
#pragma once
#include <functional>
class matrix_keyboard {
public:
virtual void up(uint8_t) = 0;

View File

@ -1,6 +1,6 @@
#ifndef __R65EMU_H__
#define __R65EMU_H__
#pragma once
#include <functional>
#include "memory.h"
#include "CPU.h"
#include "ram.h"
@ -20,5 +20,3 @@
#include "hw_serial_kbd.h"
#include "serial_dsp.h"
#include "hw_serial_dsp.h"
#endif

View File

@ -1,5 +1,7 @@
#pragma once
#include <functional>
class serial_kbd {
public:
virtual int read() = 0;

View File

@ -1,5 +1,7 @@
#pragma once
#include <functional>
class VIA {
public:
VIA(): _timer1(false), _timer2(false), _t1(0), _t2(0), _t1_latch(0),