Cross Compiled C code for Atari 800 XL
So... I spent some time setting this up on a Windows 10 laptop environment, which involved downloading and installing cc65 and adding the /bin folder to the PATH - I'll get screenshots from that laptop and paste down below - the reason I mention this is because that setup did not have the cl65 executable that allows you to do the compile/link all in one go, you have to do it step by step, which isn't a major problem, but it is interesting to do & understand what is happening behind the scenes. In my UBuntu linux environment, all that I did was: $ sudo apt-get install cc65 Then I used snap to install atari800xl-linux This allowed me to have an emulator for the atari800xl locally. Once the cc65 (cc = cross compiler) is installed you can use it straight away. I used the code from this page as a quick example. As you can see below, the simple C code is located in it's own folder, I then used the cl65 command to make the output file, for the Atari800xl it is best to call th...