As pointed out by SLC, the original “Turrican loader” module in TAPClean was including the XOR checkbyte as part of the Data file payload.
I also realised that the module was lacking the following features:
- checking the integrity of turbo Header files
- extracting Header payload to PRG
- computing Header payload CRC32s and including them in the overall “magic” CRC32 value
I’ve therefore rewritten the “Turrican loader” module from scratch. It’s available in version “0.33-pre-10” which can be checked out using the “v0_33_pre_10” tag🙂
As I was working at the source code, I also decided to do some due maintenance / refactoring of a few modules. I essentially added some comments and renamed a number of functions to make it clear which module they are part of. I’ve thus been able to also remove a number of duplicate function and variable declarations. Small steps, but definitely in the right direction to facilitate code maintenance ahead of more substantial changes🙂
I haven’t had much time this weekend to work on as much retrocomputing development as I wanted, but one thing I did finish indeed: I finished the last touches required to fully run the DC2N4-LC firmware on DC2N4. The main reason is pretty simple: the USB serial communication is very straightforward to handle and I can now use my DC2N4 hardware with client software that I wrote and still maintain for DC2N4-LC.
DC2N version 4
Furthermore my only DC2N4 prototype offers room for quite some expansion, meaning it could one day incorporate all features now offered by DC2N4-LC, C2NEmu, and IECHost🙂
I’ve had some time today to add start offset information into TAPClean Front End’s report, tape edit and split tools. The benefit should be obvious given the screenshot below:
TAPClean FE aids the definition of IDX files for the C2NEmu playback client
Obviously, I am still convinced that a semi-automated tool to create IDX files should be part of TAPClean Front End: perhaps I could add a button to the tape split tool for doing so, which makes sense especially for tape compilations as the one in the above picture.