qbarnes / cw2dmk

The new home of Tim Mann's CatWeasel support tools for TRS-80 floppy preservation. The Releases area contains binaries for MS-DOS and x86_64 Linux.
http://www.tim-mann.org/catweasel.html
GNU General Public License v2.0
16 stars 2 forks source link

Generate valid DMK files when built on 64-bit architectures. #3

Closed qbarnes closed 4 years ago

qbarnes commented 4 years ago

When compiling on x86_64, the existing code does not properly generate valid DMK files due to incorrect size of the DMK header (dmk_header_t). I've addressed that and other 32-bit vs. 64-bit issues in the code that I found as well. However, I'm not sure I caught everything, but I think this is a good start.

ezrec commented 4 years ago

Awesome! Much appreciated!

I no longer have CatWeasel hardware, so I really am thankful for this PR