move declarations out of emulator.h
Signed-off-by: Gwenhael Le Moine <gwenhael.le.moine@gmail.com>
This commit is contained in:
parent
645abec1d2
commit
c31b6c083d
4 changed files with 20 additions and 13 deletions
|
@ -296,7 +296,6 @@ t1_t2_ticks get_t1_t2( void )
|
|||
int i;
|
||||
|
||||
gettimeofday( &tv, &tz );
|
||||
|
||||
tv.tv_sec -= systime_offset;
|
||||
|
||||
if ( timers[ T1_TIMER ].run ) {
|
||||
|
|
|
@ -296,25 +296,13 @@ typedef struct saturn_t {
|
|||
|
||||
extern bool sigalarm_triggered;
|
||||
|
||||
extern int set_t1;
|
||||
|
||||
extern long sched_adjtime;
|
||||
extern long schedule_event;
|
||||
|
||||
extern char* wire_name;
|
||||
extern char* ir_name;
|
||||
|
||||
extern device_t device;
|
||||
extern display_t display;
|
||||
|
||||
extern saturn_t saturn;
|
||||
|
||||
extern bool device_check;
|
||||
extern bool port1_is_ram;
|
||||
extern long port1_mask;
|
||||
extern bool port2_is_ram;
|
||||
extern long port2_mask;
|
||||
|
||||
extern hpkey_t keyboard[ NB_KEYS ];
|
||||
|
||||
extern int annunciators_bits[ NB_ANNUNCIATORS ];
|
||||
|
|
|
@ -3,6 +3,13 @@
|
|||
|
||||
#include "emulator.h"
|
||||
|
||||
extern device_t device;
|
||||
|
||||
extern int set_t1;
|
||||
|
||||
extern long sched_adjtime;
|
||||
extern long schedule_event;
|
||||
|
||||
/**************/
|
||||
/* emu_init.c */
|
||||
/**************/
|
||||
|
|
|
@ -8,6 +8,19 @@
|
|||
#define T1_TIMER 0
|
||||
/* #define T2_TIMER 1 /\* unused? *\/ */
|
||||
|
||||
extern device_t device;
|
||||
|
||||
extern int set_t1;
|
||||
|
||||
extern long sched_adjtime;
|
||||
extern long schedule_event;
|
||||
|
||||
extern bool device_check;
|
||||
extern bool port1_is_ram;
|
||||
extern long port1_mask;
|
||||
extern bool port2_is_ram;
|
||||
extern long port2_mask;
|
||||
|
||||
extern bool adj_time_pending;
|
||||
|
||||
extern int start_fields[ 19 ];
|
||||
|
|
Loading…
Reference in a new issue