1.1 --- a/src/state.c Wed Dec 29 01:38:54 2010 +0000 1.2 +++ b/src/state.c Wed Dec 29 09:04:43 2010 +0000 1.3 @@ -15,6 +15,12 @@ 1.4 1.5 // Initialise hardware registers 1.6 state.romlmap = false; 1.7 + state.idmarw = state.dmaen = state.dmaenb = false; 1.8 + state.dma_count = state.dma_address = 0; 1.9 + state.pie = 0; 1.10 + state.leds = 0; 1.11 + state.genstat = 0; // FIXME: check this 1.12 + state.bsr0 = state.bsr1 = 0; // FIXME: check this 1.13 1.14 // Allocate Base RAM, making sure the user has specified a valid RAM amount first 1.15 // Basically: 512KiB minimum, 2MiB maximum, in increments of 512KiB.