Fri, 12 Apr 2013 12:37:13 +0100
Make the page table volatile (it may change behind gcc's back)
src/state.h | file | annotate | diff | revisions |
1.1 --- a/src/state.h Fri Apr 12 12:36:28 2013 +0100 1.2 +++ b/src/state.h Fri Apr 12 12:37:13 2013 +0100 1.3 @@ -40,7 +40,7 @@ 1.4 uint8_t vram[0x8000]; 1.5 1.6 /// Map RAM 1.7 - uint8_t map[0x800]; 1.8 + volatile uint8_t map[0x800]; 1.9 1.10 //// Registers 1.11 uint16_t genstat; ///< General Status Register