src/state.c

changeset 80
9581358e92b0
parent 79
674226015c8a
child 97
240e195e4bed
     1.1 --- a/src/state.c	Wed Dec 29 09:06:17 2010 +0000
     1.2 +++ b/src/state.c	Wed Feb 09 15:03:31 2011 +0000
     1.3 @@ -3,6 +3,7 @@
     1.4  #include <malloc.h>
     1.5  #include <stdio.h>
     1.6  #include "wd279x.h"
     1.7 +#include "keyboard.h"
     1.8  #include "state.h"
     1.9  
    1.10  int state_init(size_t base_ram_size, size_t exp_ram_size)
    1.11 @@ -92,6 +93,8 @@
    1.12  
    1.13  	// Initialise the disc controller
    1.14  	wd2797_init(&state.fdc_ctx);
    1.15 +	// Initialise the keyboard controller
    1.16 +	keyboard_init(&state.kbd);
    1.17  
    1.18  	return 0;
    1.19  }