mirror of
https://github.com/TomHarte/CLK.git
synced 2024-08-16 16:28:59 +00:00
Corrected 'read deleted data' command. It's 0xc
, not 0xb
.
This commit is contained in:
parent
55055c7847
commit
0816d3f5a9
@ -243,7 +243,7 @@ void i8272::posit_event(int event_type) {
|
|||||||
|
|
||||||
static const size_t required_lengths[32] = {
|
static const size_t required_lengths[32] = {
|
||||||
0, 0, 9, 3, 2, 9, 9, 2,
|
0, 0, 9, 3, 2, 9, 9, 2,
|
||||||
1, 9, 2, 9, 0, 6, 0, 3,
|
1, 9, 2, 0, 9, 6, 0, 3,
|
||||||
0, 9, 0, 0, 0, 0, 0, 0,
|
0, 9, 0, 0, 0, 0, 0, 0,
|
||||||
0, 9, 0, 0, 0, 9, 0, 0,
|
0, 9, 0, 0, 0, 9, 0, 0,
|
||||||
};
|
};
|
||||||
@ -274,7 +274,7 @@ void i8272::posit_event(int event_type) {
|
|||||||
// Jump to the proper place.
|
// Jump to the proper place.
|
||||||
switch(command_[0] & 0x1f) {
|
switch(command_[0] & 0x1f) {
|
||||||
case 0x06: // read data
|
case 0x06: // read data
|
||||||
case 0x0b: // read deleted data
|
case 0x0c: // read deleted data
|
||||||
goto read_data;
|
goto read_data;
|
||||||
|
|
||||||
case 0x05: // write data
|
case 0x05: // write data
|
||||||
@ -329,7 +329,7 @@ void i8272::posit_event(int event_type) {
|
|||||||
// Branch to whatever is supposed to happen next
|
// Branch to whatever is supposed to happen next
|
||||||
switch(command_[0] & 0x1f) {
|
switch(command_[0] & 0x1f) {
|
||||||
case 0x06: // read data
|
case 0x06: // read data
|
||||||
case 0x0b: // read deleted data
|
case 0x0c: // read deleted data
|
||||||
goto read_data_found_header;
|
goto read_data_found_header;
|
||||||
|
|
||||||
case 0x05: // write data
|
case 0x05: // write data
|
||||||
|
Loading…
Reference in New Issue
Block a user