We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent c04170d commit a298c20Copy full SHA for a298c20
sys/commands.c
@@ -28,7 +28,12 @@ uint16_t Media_check_cmd(SYSREQ far *req)
28
int reply;
29
int64_t old_status, new_status;
30
31
+ int i=0;
32
33
+ // Avoid race condition that only happens on PCjr systems
34
+ // I do not know why this works. -Thom
35
+ for (i=0;i<8192;i++);
36
+
37
if (req->unit >= FN_MAX_DEV) {
38
consolef("Invalid Media Check unit: %i\n", req->unit);
39
return ERROR_BIT | UNKNOWN_UNIT;
0 commit comments