blob: 04ec39262d3f635f551b51aaef7094c3264cf6f3 (
plain)
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
|
#include <iostream>
#include "common.h"
struct X86Board: Board {
const char *target();
void say_hello();
};
const char *X86Board::target()
{
return THE_TARGET;
}
void X86Board::say_hello()
{
std::cout << ANSI_START << "I am a 1996 PC"
<< ANSI_END << std::endl;
}
void initialize_target()
{
std::cout << ANSI_START << "ready, set, go"
<< ANSI_END << std::endl;
}
static X86Board pc;
|