-
Notifications
You must be signed in to change notification settings - Fork 3
/
spectrum.h
49 lines (34 loc) · 873 Bytes
/
spectrum.h
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
37
38
39
40
41
42
43
44
45
46
47
48
49
#ifndef INCLUDE_SPECTRUM_H
#define INCLUDE_SPECTRUM_H
// spectrum.h
// Revision 11-aug-2005
#include "pasmotypes.h"
namespace pasmo {
namespace spectrum {
class Plus3Head {
public:
Plus3Head ();
void setsize (address size);
void setstart (address start);
void write (std::ostream & out);
private:
static const size_t headsize= 128;
byte plus3 [headsize];
};
// Spectrum Basic generation.
extern const string tokNumPrefix;
extern const string tokEndLine;
extern const string tokCODE;
extern const string tokUSR;
extern const string tokLOAD;
extern const string tokPOKE;
extern const string tokRANDOMIZE;
extern const string tokCLEAR;
string number (address n);
string linenumber (address n);
string linelength (address n);
string basicline (address linenum, const string & line);
} // namespace spectrum
} // namespace pasmo
#endif
// End of spectrum.h