ajbowen249 / mol

A Baldur's Gate 3 Demake for Tandy TRS-80 Model 100 and ZX Spectrum
22 stars 2 forks source link

Make build script produce .CO file for use on real hardware / emulation #8

Closed majick closed 3 months ago

majick commented 3 months ago

This updates the build script to produce .CO files for use on VirtualT, CloudT, and real systems; it's significantly easier to install via emulated or real TPDD / Backpack, and suitable for conversion to WAV for writing to tape.

The change introduces a dependency on perl, which presumably is in the path of every system built since the 90s. There may be more portable ways to produce the .CO-file header, but I don't know them.

ajbowen249 commented 3 months ago

Wow, thanks a lot! This looks awesome at first glance. I'll take a closer look in the morning.

ajbowen249 commented 3 months ago

Alright, I took a look and it worked out of the box! I'm thinking about some overhauls to the build system to deal with the fact that I've been maintaining this and the DDE scripts separately, but I'm going to pull this in for now, make a release, and also back-port this to the DDE build script (I'll be sure to tag you as co-author).

Thank you so much!

majick commented 3 months ago

Ideally the START and ENTRY fields of the header would be derived from the ORG in the source rather than hardcoded, but for our purposes this was good enough!