mirror of
https://github.com/TomHarte/CLK.git
synced 2024-11-26 08:49:37 +00:00
Stubs in audio toggle and disk control.
It appears that ROM 01 now fails because reading the disk interface register doesn't do as expected. ROM 03 starts hitting what should be the IWM and dies in a surplus of logging.
This commit is contained in:
parent
dc8d4d49f5
commit
abb350ff5b
@ -427,6 +427,10 @@ class ConcreteMachine:
|
||||
}
|
||||
break;
|
||||
|
||||
case 0xc030:
|
||||
printf("TODO: audio toggle\n");
|
||||
break;
|
||||
|
||||
// Addresses that seemingly map to nothing; provided as a separate break out for now,
|
||||
// while I have an assert on unknown reads.
|
||||
case 0xc049: case 0xc04a: case 0xc04b: case 0xc04c: case 0xc04d: case 0xc04e: case 0xc04f:
|
||||
@ -445,6 +449,13 @@ class ConcreteMachine:
|
||||
}
|
||||
break;
|
||||
|
||||
// Disk drive controls additional to the IWM.
|
||||
case 0xc031:
|
||||
// b7: 0 = use head 0; 1 = use head 1.
|
||||
// b6: 0 = use 5.25" disks; 1 = use 3.5".
|
||||
printf("TODO: Disk interface register [%d]\n", is_read);
|
||||
break;
|
||||
|
||||
default:
|
||||
// Check for a card access.
|
||||
if(address_suffix >= 0xc080 && address_suffix < 0xc800) {
|
||||
|
Loading…
Reference in New Issue
Block a user