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 28b3789 commit 43d3408Copy full SHA for 43d3408
lib/device/rs232/disk.cpp
@@ -38,7 +38,7 @@ rs232Disk::rs232Disk()
38
// Read disk data and send to computer
39
void rs232Disk::rs232_read()
40
{
41
- //Debug_print("disk READ\n");
+ Debug_printf("disk READ %u\n",UINT16_FROM_HILOBYTES(cmdFrame.aux2,cmdFrame.aux1));
42
43
if (_disk == nullptr)
44
@@ -50,6 +50,13 @@ void rs232Disk::rs232_read()
50
51
bool err = _disk->read(UINT16_FROM_HILOBYTES(cmdFrame.aux2, cmdFrame.aux1), &readcount);
52
53
+ for (int i=0;i<512;i++)
54
+ {
55
+ Debug_printf("%02X ",_disk->_disk_sectorbuff[i]);
56
+ }
57
+
58
+ Debug_printf("\n\n");
59
60
// Send result to Atari
61
bus_to_computer(_disk->_disk_sectorbuff, readcount, err);
62
}
0 commit comments