nelhage / bemu

A just-in-time compiler for MIT 6.004's "Beta" processor.

This URL has Read+Write access

bemu / bconsole.h
100644 11 lines (7 sloc) 0.158 kb
1
2
3
4
5
6
7
8
9
10
11
#ifndef __BCONSOLE_H__
#define __BCONSOLE_H__
 
void console_open(bool interrupt);
void console_close();
 
void beta_wrchr(int chr);
int beta_rdchr();
 
#endif