+SpiceWare Posted October 21, 2019 Share Posted October 21, 2019 We'll be using dasm to assemble the 6507 code for our programs. Start up your virtual machine if it's not already running. Download dasm Click on K-Gear Click on Firefox Web Browser Visit https://dasm-assembler.github.io Locate and download the Compressed 64-bit executable for Linux, at the time of this post that's dasm-2.20.11-linux-x64.tar.gz Click on Save File then OK Quite Firefox once the download is complete. Extract dasm On your VM's desktop is a Home folder, double click it, then double click the Downloads folder. Right-Click on the dasm file you downloaded Select Extract Select Extract To The Extract dialog box will be displayed Click on Home (on the left, just below Places) Right-Click on a blank area in the folder list for Home (the middle white area) Select Create New Select Folder Enter the name 2600tools Click OK Click Extract Update .profile Your path needs to be updated so Konsole can find dasm. We need to edit file .profile, which is a hidden file. Click on Home Click Control Click Hidden Files You should now see a bunch of new directories and files that are lighter than the others. Scroll down to .profile Double-click .profile it to open it in Kate Scroll to the the end of the file Copy/Paste the following at the end # set PATH so it includes dasm's bin if it exists if [ -d "$HOME/2600tools/dasm-2.20.11-linux-x64" ] ; then PATH="$HOME/2600tools/dasm-2.20.11-linux-x64:$PATH" fi Save your changes quit Kate You must log out then back in for changes in .profile to take effect. Do so now. Test dasm At this time you should be able to use dasm to build an Atari program. We'll test it using Collect. Download it on your Host OS, not your VM, and put it in your shared project folder. Collect.zip Start up Konsole then change directory to your shared project folder. Click K-Gear Click Konsole type cd /media/sf<TAB> type unzip Collect.zip type cd Collect type more readme.txt Highlight the line of text below The command used to compile is click Edit menu click Copy option click Edit menu click Paste option hit <RETURN> Use Stella on your Host machine to run Collect Link to comment Share on other sites More sharing options...
+SpiceWare Posted December 16, 2019 Author Share Posted December 16, 2019 New release of dasm! You can download it from here, and read more about it in this topic. Install it just like the instructions above, just need a minor change in your .profile file: # set PATH so it includes dasm's bin if it exists if [ -d "$HOME/2600tools/dasm-2.20.12-linux-x64" ] ; then PATH="$HOME/2600tools/dasm-2.20.12-linux-x64:$PATH" fi Link to comment Share on other sites More sharing options...
Recommended Posts