diff --git a/OSBindings/Mac/Clock SignalTests/IIgs Memory Map/readme.md b/OSBindings/Mac/Clock SignalTests/IIgs Memory Map/readme.md index 1b4be172a..2703f97ec 100644 --- a/OSBindings/Mac/Clock SignalTests/IIgs Memory Map/readme.md +++ b/OSBindings/Mac/Clock SignalTests/IIgs Memory Map/readme.md @@ -44,23 +44,23 @@ Perform, in the order listed: "hires": false, -If this is true, access IO address `0x57`; otherwise access IO address `0x56`. +If `hires` is true, access IO address `0x57`; otherwise access IO address `0x56`. "lcw": false, -If this is true, access IO address `0x81` twice; otherwise access IO address `0x80` once. +If `lcw` is true, write any value to IO address `0x81` twice; otherwise write to IO address `0x80` at least once. "80store": true, -If this is true, access IO address `0x01`; otherwise access IO address `0x00`. +If `80store` is true, access IO address `0x01`; otherwise access IO address `0x00`. "shadow": 12, -Store this value to IO address `0x35`. +Store the value of `shadow` to IO address `0x35`. "state": 183, -Store this value to IO address `0x68`. +Store the value of `state` to IO address `0x68`. ## Test diff --git a/OSBindings/Mac/Clock SignalTests/IIgsMemoryMapTests.mm b/OSBindings/Mac/Clock SignalTests/IIgsMemoryMapTests.mm index 99725166f..51948c34a 100644 --- a/OSBindings/Mac/Clock SignalTests/IIgsMemoryMapTests.mm +++ b/OSBindings/Mac/Clock SignalTests/IIgsMemoryMapTests.mm @@ -250,8 +250,8 @@ namespace { const uint8_t state = [test[@"state"] integerValue]; _memoryMap.access(0xc056 + highRes, false); - _memoryMap.access(0xc080 + lcw, false); - _memoryMap.access(0xc080 + lcw, false); + _memoryMap.access(0xc080 + lcw, true); + _memoryMap.access(0xc080 + lcw, true); _memoryMap.access(0xc000 + store80, false); _memoryMap.set_shadow_register(shadow); _memoryMap.set_state_register(state); @@ -344,20 +344,6 @@ namespace { return; } - // Questionable test results: I'm not sure the source is correct in its - // handling of language card read access. Don't test that. - // - // This test set treats the language card write flip flop as _enabling_ - // writes. I think it _disables_ writes. TODO: reconcile. - if( - (logical >= 0x00d0 && logical < 0x0100) || - (logical >= 0x01d0 && logical < 0x0200) || - (logical >= 0xe0d0 && logical < 0xe100) || - (logical >= 0xe1d0 && logical < 0xe200) - ) { - return; - } - XCTAssert(region.write != nullptr); if(region.write == nullptr) { *stop = YES;