mirror of
https://github.com/TomHarte/CLK.git
synced 2025-01-11 08:30:55 +00:00
Throws in a new assert, against the unimplemented bit 0 of new video.
This commit is contained in:
parent
6cb71eb11b
commit
65ca931e83
@ -256,10 +256,11 @@ class ConcreteMachine:
|
|||||||
|
|
||||||
// New video register.
|
// New video register.
|
||||||
case Read(0xc029):
|
case Read(0xc029):
|
||||||
*value = video_->get_new_video();;
|
*value = video_->get_new_video();
|
||||||
break;
|
break;
|
||||||
case Write(0xc029):
|
case Write(0xc029):
|
||||||
video_->set_new_video(*value);
|
video_->set_new_video(*value);
|
||||||
|
assert(*value & 1);
|
||||||
|
|
||||||
// TODO: I think bits 7 and 0 might also affect the memory map.
|
// TODO: I think bits 7 and 0 might also affect the memory map.
|
||||||
// The descripton isn't especially clear — P.90 of the Hardware Reference.
|
// The descripton isn't especially clear — P.90 of the Hardware Reference.
|
||||||
@ -510,7 +511,7 @@ class ConcreteMachine:
|
|||||||
// Analogue inputs. All TODO.
|
// Analogue inputs. All TODO.
|
||||||
case Read(0xc060): case Read(0xc061): case Read(0xc062): case Read(0xc063):
|
case Read(0xc060): case Read(0xc061): case Read(0xc062): case Read(0xc063):
|
||||||
// Joystick buttons (and keyboard modifiers).
|
// Joystick buttons (and keyboard modifiers).
|
||||||
*value = 0x80;
|
*value = 0x00;
|
||||||
is_1Mhz = true;
|
is_1Mhz = true;
|
||||||
break;
|
break;
|
||||||
|
|
||||||
|
@ -66,6 +66,7 @@
|
|||||||
selectedDebuggerIdentifier = "Xcode.DebuggerFoundation.Debugger.LLDB"
|
selectedDebuggerIdentifier = "Xcode.DebuggerFoundation.Debugger.LLDB"
|
||||||
selectedLauncherIdentifier = "Xcode.DebuggerFoundation.Launcher.LLDB"
|
selectedLauncherIdentifier = "Xcode.DebuggerFoundation.Launcher.LLDB"
|
||||||
enableASanStackUseAfterReturn = "YES"
|
enableASanStackUseAfterReturn = "YES"
|
||||||
|
enableUBSanitizer = "YES"
|
||||||
disableMainThreadChecker = "YES"
|
disableMainThreadChecker = "YES"
|
||||||
launchStyle = "0"
|
launchStyle = "0"
|
||||||
useCustomWorkingDirectory = "NO"
|
useCustomWorkingDirectory = "NO"
|
||||||
|
Loading…
x
Reference in New Issue
Block a user