mirror of
https://github.com/TomHarte/CLK.git
synced 2024-12-23 20:29:42 +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.
|
||||
case Read(0xc029):
|
||||
*value = video_->get_new_video();;
|
||||
*value = video_->get_new_video();
|
||||
break;
|
||||
case Write(0xc029):
|
||||
video_->set_new_video(*value);
|
||||
assert(*value & 1);
|
||||
|
||||
// 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.
|
||||
@ -510,7 +511,7 @@ class ConcreteMachine:
|
||||
// Analogue inputs. All TODO.
|
||||
case Read(0xc060): case Read(0xc061): case Read(0xc062): case Read(0xc063):
|
||||
// Joystick buttons (and keyboard modifiers).
|
||||
*value = 0x80;
|
||||
*value = 0x00;
|
||||
is_1Mhz = true;
|
||||
break;
|
||||
|
||||
|
@ -66,6 +66,7 @@
|
||||
selectedDebuggerIdentifier = "Xcode.DebuggerFoundation.Debugger.LLDB"
|
||||
selectedLauncherIdentifier = "Xcode.DebuggerFoundation.Launcher.LLDB"
|
||||
enableASanStackUseAfterReturn = "YES"
|
||||
enableUBSanitizer = "YES"
|
||||
disableMainThreadChecker = "YES"
|
||||
launchStyle = "0"
|
||||
useCustomWorkingDirectory = "NO"
|
||||
|
Loading…
Reference in New Issue
Block a user