add Error Enable bit to system state

Fri, 04 Mar 2011 00:41:52 +0000

author
Philip Pemberton <philpem@philpem.me.uk>
date
Fri, 04 Mar 2011 00:41:52 +0000
changeset 101
e20f02519835
parent 100
d6f699f89303
child 102
4e1c29899aca

add Error Enable bit to system state

src/state.c file | annotate | diff | revisions
src/state.h file | annotate | diff | revisions
     1.1 --- a/src/state.c	Thu Mar 03 13:05:21 2011 +0000
     1.2 +++ b/src/state.c	Fri Mar 04 00:41:52 2011 +0000
     1.3 @@ -19,6 +19,7 @@
     1.4  	state.idmarw = state.dmaen = state.dmaenb = false;
     1.5  	state.dma_count = state.dma_address = 0;
     1.6  	state.pie = 0;
     1.7 +	state.ee = 0;
     1.8  	state.leds = 0;
     1.9  	state.genstat = 0;				// FIXME: check this
    1.10  	state.bsr0 = state.bsr1 = 0;	// FIXME: check this
     2.1 --- a/src/state.h	Thu Mar 03 13:05:21 2011 +0000
     2.2 +++ b/src/state.h	Fri Mar 04 00:41:52 2011 +0000
     2.3 @@ -59,6 +59,8 @@
     2.4  	bool		romlmap;
     2.5  	/// GENCON.PIE -- Parity Error Check Enable
     2.6  	bool		pie;
     2.7 +	/// GENCON.EE -- Error Enable
     2.8 +	bool		ee;
     2.9  
    2.10  	/// DMA Address Register
    2.11  	uint32_t	dma_address;