src/state.h

changeset 151
b63a3999e2e7
parent 112
a392eb8f9806
     1.1 --- a/src/state.h	Fri Apr 18 01:26:01 2014 -0600
     1.2 +++ b/src/state.h	Fri Apr 18 01:34:20 2014 -0600
     1.3 @@ -7,6 +7,8 @@
     1.4  #include "wd279x.h"
     1.5  #include "wd2010.h"
     1.6  #include "keyboard.h"
     1.7 +#include "tc8250.h"
     1.8 +
     1.9  
    1.10  // Maximum size of the Boot PROMs. Must be a binary power of two.
    1.11  #define ROM_SIZE 32768
    1.12 @@ -90,6 +92,9 @@
    1.13  
    1.14  	/// Keyboard controller context
    1.15  	KEYBOARD_STATE	kbd;
    1.16 +
    1.17 +	/// Real time clock context
    1.18 +	TC8250_CTX rtc_ctx;
    1.19  } S_state;
    1.20  
    1.21  // Global emulator state. Yes, I know global variables are evil, please don't