mirror of
https://github.com/aap/pdp6.git
synced 2026-04-28 21:07:28 +00:00
better debugging tracing; fixed bug related to keys
This commit is contained in:
12
pdp6.h
12
pdp6.h
@@ -16,6 +16,11 @@ typedef uint8_t u8;
|
||||
typedef unsigned char uchar;
|
||||
typedef uchar bool;
|
||||
|
||||
extern FILE *debugfp;
|
||||
extern int dotrace;
|
||||
void trace(char *fmt, ...);
|
||||
void debug(char *fmt, ...);
|
||||
|
||||
enum Mask {
|
||||
FW = 0777777777777,
|
||||
RT = 0000000777777,
|
||||
@@ -49,6 +54,13 @@ enum FullwordBits {
|
||||
F33 = 0000000000004, F34 = 0000000000002, F35 = 0000000000001
|
||||
};
|
||||
|
||||
/* external pulses, bits of Apr.extpulse */
|
||||
enum Extpulse {
|
||||
EXT_KEY_MANUAL = 1,
|
||||
EXT_KEY_STOP = 2,
|
||||
EXT_NONEXIT_MEM = 4
|
||||
};
|
||||
|
||||
enum Opcode {
|
||||
FSC = 0132,
|
||||
IBP = 0133,
|
||||
|
||||
Reference in New Issue
Block a user