mirror of
https://github.com/TomHarte/CLK.git
synced 2025-02-21 05:29:13 +00:00
Flag floppy as present.
This commit is contained in:
parent
ebe1d53220
commit
7072a1661c
@ -697,7 +697,7 @@ class i8255PortHandler : public Intel::i8255::PortHandler {
|
|||||||
switch(port) {
|
switch(port) {
|
||||||
case 0:
|
case 0:
|
||||||
// printf("PPI: from keyboard\n");
|
// printf("PPI: from keyboard\n");
|
||||||
return enable_keyboard_ ? keyboard_.read() : 0b0011'1100;
|
return enable_keyboard_ ? keyboard_.read() : 0b0011'1101;
|
||||||
// Guesses that switches is high and low combined as below.
|
// Guesses that switches is high and low combined as below.
|
||||||
|
|
||||||
case 2:
|
case 2:
|
||||||
@ -716,7 +716,7 @@ class i8255PortHandler : public Intel::i8255::PortHandler {
|
|||||||
// b3, b2: RAM on motherboard (64 * bit pattern)
|
// b3, b2: RAM on motherboard (64 * bit pattern)
|
||||||
// b1: 1 => FPU present; 0 => absent;
|
// b1: 1 => FPU present; 0 => absent;
|
||||||
// b0: 1 => floppy drive present; 0 => absent.
|
// b0: 1 => floppy drive present; 0 => absent.
|
||||||
0b0000'1100;
|
0b0000'1101;
|
||||||
}
|
}
|
||||||
return 0;
|
return 0;
|
||||||
};
|
};
|
||||||
|
Loading…
x
Reference in New Issue
Block a user