ReddyKilowatt / pyDriveWire

Python Implementation of DriveWire 4
1 stars 0 forks source link

The server isn't doing the op_writes correctly #3

Closed ReddyKilowatt closed 4 years ago

ReddyKilowatt commented 4 years ago

Start the server as follows python pydrivewire.py -dd -a -p 65503

Enter the following line in the dw console, in order to create a blank image file dw disk create 0 newdisk.dsk

when running test_op_write.py python tests\test_op_write.py 3dbrick.dsk

only 256 bytes are written to newdisk.dsk

pyDriveWire3.7

10/28/2020 01:41 PM 161,280 3dbrick.dsk 10/29/2020 08:31 PM 256 newdisk.dsk

ReddyKilowatt commented 4 years ago

After testing op_writes again, from test_op_write.py, it looks like the writes are working as expected. The newly-created disk was exactly the correct size, and its contents compared to the original disk image. I must have typed in something wrong in the server console window when I first attempted to do this. Closing this issue.