1
0
mirror of https://github.com/TomHarte/CLK.git synced 2024-06-25 18:30:07 +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:
Thomas Harte 2020-11-09 22:21:52 -05:00
parent dc8d4d49f5
commit abb350ff5b

View File

@ -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) {