.text
;navigation & etc
#define GLOBAL_MAINTHROTTLE		0
#define GLOBAL_YAW			1
#define GLOBAL_PITCH			2
#define GLOBAL_ROLL			3

#define GLOBAL_SURFACE_EAST		4
#define GLOBAL_SURFACE_UP		7
#define	GLOBAL_SURFACE_NORTH		10
#define GLOBAL_VESSEL_X			13
#define GLOBAL_VESSEL_Y			16
#define GLOBAL_VESSEL_HEADING		16;ALTERNATE NAME
#define GLOBAL_VESSEL_Z			19
#define GLOBAL_ORBITSPEED		22
#define GLOBAL_SURFACESPEED		25
#define GLOBAL_ANGULARVELOCITY		28
#define GLOBAL_ALTITUDE			31

#define GLOBAL_NUMPAD_OUT		32
#define GLOBAL_NUMPAD_MSG		36
#define GLOBAL_NUMPAD_IN		37
#define GLOBAL_NUMPAD_NEWIN		38
#define GLOBAL_NUMPAD_FORMAT		39

#define GLOBAL_VECTORACCURACY		41
#define GLOBAL_RADARALT			42
#define GLOBAL_SPEEDACCURACY		43

#define GLOBAL_IADRESS			44
#define GLOBAL_IENABLE			45

#define GLOBAL_PILOT_THROTTLE		48
#define GLOBAL_PILOT_YAW		49
#define GLOBAL_PILOT_PITCH		50
#define GLOBAL_PILOT_ROLL		51
#define GLOBAL_PILOT_RCS_RIGHT		52
#define GLOBAL_PILOT_RCS_UP		53
#define GLOBAL_PILOT_RCS_FORWARD	54

#define GLOBAL_ACTIONGROUP		55

#define GLOBAL_RCS_RIGHT		56
#define GLOBAL_RCS_UP			57
#define GLOBAL_RCS_FORWARD		58

#define GLOBAL_CLOCK			59
#define GLOBAL_TIMER			60
#define GLOBAL_TIMER_MAX		61

#define GLOBAL_TAPE_OUT			64
#define GLOBAL_TAPE_IN			65
#define GLOBAL_TAPE_STATUS		66
#define GLOBAL_TAPE_INTERRUPT		67

#define GLOBAL_KEYBOARD			68
#define GLOBAL_KEYBOARD_STATUS		69

;monitor stuff
#define GLOBAL_SCREEN_SCROLL		60910
#define GLOBAL_SCREEN_MODE		60911
#define GLOBAL_SCREEN			61440
#define GLOBAL_SCREEN_COLOR		60912
#define GLOBAL_SCREEN_FONT		60928

;other stuff
#define CPU_CLOCKRATE			384000
#define CPU_RAM				65536
#define CPU_MAXADDRESS			65535