1
0
mirror of https://github.com/TomHarte/CLK.git synced 2026-04-24 05:18:36 +00:00

Added enough stuff that SSDs attached to a 1770 will now reach the entry point for writing.

This commit is contained in:
Thomas Harte
2016-12-25 09:46:12 -05:00
parent e56beb3e9c
commit 901f19f89c
5 changed files with 14 additions and 1 deletions
+1 -1
View File
@@ -498,7 +498,7 @@ void WD1770::posit_event(Event new_event_type)
WAIT_FOR_TIME(30);
test_type2_write_protection:
if(command_&0x20) // TODO:: && is_write_protected
if(command_&0x20 && get_drive_is_read_only())
{
update_status([] (Status &status) {
status.write_protect = true;