Pinacolada64 / ImageBBS

A bulletin board system (BBS) for the Commodore 64.
15 stars 5 forks source link

Improve buildability by using Docker #59

Closed jcobol closed 2 years ago

jcobol commented 2 years ago

Needs discussion and testing, but this is an option to ease building the v2/asm/ contents.

Known issue: C64LIST4BETAA and C64LIST4BETAC both point to a path inside the Docker container and use the same compiler version. Building outside the Docker container should still be supported, so needs a tweak. Regarding compiler version, I don't know if use C64List4.04 will produce the expected output (needs testing) but it does pass the build.

The Dockerfile could use some optimization to make the image smaller.

Pinacolada64 commented 2 years ago

Hi. Thanks for contributing. I'm not really familiar with Docker, I tried to read about it once or twice and still came away confused. I'll go back and try to understand, a lot of people are mentioning it nowadays.

Since these makefiles were written, c64list 4.04 can handle assembling .asm (assembly) files, .bin (no load address binary files) and .lbl (BASIC) files, so the BETAA and BETAC executables aren't needed anymore. I'll ask Jeff if we could include a link to his Google Drive download of c64list4.04 in the revised README.

jcobol commented 2 years ago

I'd like to have a .pdf instead of a .docx file. I uploaded one to master/v2/docker/files/C64List4.04/ so it'll match your path when the pull request gets merged.

Ok - I've removed the .docx file from my PR so we'll just be left with the .pdf.