forked from uli/cascade
-
Notifications
You must be signed in to change notification settings - Fork 3
Expand file tree
/
Copy pathhints.h
More file actions
36 lines (28 loc) · 697 Bytes
/
hints.h
File metadata and controls
36 lines (28 loc) · 697 Bytes
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
/*
* hints.h
*
* (C) Copyright 2014 Ulrich Hecht
*
* This file is part of CASCADE. CASCADE is almost free software; you can
* redistribute it and/or modify it under the terms of the Cascade Public
* License 1.0. Read the file "LICENSE" for details.
*/
#include "serial.h"
#include "cpu.h"
class Hints {
public:
Hints(Cpu *cpu, UI *ui);
void setSerial(Serial *serial);
void byteReceived(uint8_t byte);
void byteSent(uint8_t byte);
void baudrate(uint16_t specified, uint16_t actual);
void slowInit(uint8_t bit);
void commLine(int line);
void beep();
void port254(uint8_t value);
private:
int vag_04_counter;
Cpu *cpu;
UI *ui;
Serial *serial;
};