Jump to content
IGNORED

Install dasm


SpiceWare

Recommended Posts

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

 

  1. Click on K-Gear
  2. Click on Firefox Web Browser
  3. Visit https://dasm-assembler.github.io

 

909374645_ScreenShot2019-10-20at5_09_27PM.thumb.png.8fe3187319ef528d97608fabbc490bb5.png

 

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

 

1929381852_ScreenShot2019-10-20at5_09_36PM.thumb.png.24b7859e5e5e9f0ecde807d8be1c9d57.png

 

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.

 

1845163866_ScreenShot2019-10-21at5_36_38PM.thumb.png.b5add35dc7de38b2e19a6174ca9880a2.png

 

  1. Right-Click on the dasm file you downloaded
  2. Select Extract
  3. Select Extract To

 

100783747_ExtractTo.thumb.png.4b9bbc3aa951a12871e901bfdfe308d1.png

 

The Extract dialog box will be displayed

 

654502113_ScreenShot2019-10-20at5_13_04PM.thumb.png.4a57e884ffe0d7bd5180d51f5c03c26d.png

 

  1. Click on Home (on the left, just below Places)
  2. Right-Click on a blank area in the folder list for Home (the middle white area)
  3. Select Create New
  4. Select Folder

 

1867854854_CreateNewFolder.thumb.png.6c8bd03408683745b4c28d55cba1169f.png

 

  1. Enter the name 2600tools
  2. Click OK
  3. Click Extract

1241950288_ScreenShot2019-10-20at5_14_31PM.thumb.png.321dd67c23c80665c22b9b3c1aed554d.png

 

 

 

Update .profile

 

Your path needs to be updated so Konsole can find dasm. We need to edit file .profile, which is a hidden file.

 

  1. Click on Home

 

1777114363_ScreenShot2019-10-09at8_51_48AM.thumb.png.91546d42c6ed9be43a1fcf48c4f8f1c1.png

 

  1. Click Control

1940718185_ScreenShot2019-10-09at8_52_01AM.thumb.png.6a30aa840d7c9df432309e8743bf6ee4.png

 

  1. Click Hidden Files

 

1083576644_ScreenShot2019-10-09at8_52_10AM.thumb.png.b9b8622328097de662deb354ee37745a.png

 

You should now see a bunch of new directories and files that are lighter than the others.

 

  1. Scroll down to .profile
  2. Double-click .profile it to open it in Kate

 

875930731_ScreenShot2019-10-21at5_54_44PM.thumb.png.f50eb7015c09770fd30729b0aa120037.png

 

  1. Scroll to the the end of the file
  2. 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
    

 

 

1264330405_ScreenShot2019-10-21at5_54_57PM.thumb.png.41966df3ff7e3db9f88237ed0511bf65.png

 

  1. Save your changes
  2. 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.

  1. Click K-Gear
  2. Click Konsole
  3. type cd /media/sf<TAB>

 

 

696934992_ScreenShot2019-10-21at6_06_53PM.thumb.png.02a0d1efb336442f86bab75fda69be47.png

 

  1. type unzip Collect.zip

 

1613258391_ScreenShot2019-10-21at6_08_21PM.thumb.png.22f7ba2c035caff4d7d760e6f898e33c.png

 

  1. type cd Collect
  2. type more readme.txt

 

734307301_ScreenShot2019-10-21at6_09_33PM.thumb.png.8b9419585d731853ea447ac9708a3355.png

 

  1. Highlight the line of text below The command used to compile is
  2. click Edit menu
  3. click Copy option
  4. click Edit menu
  5. click Paste option

1092666774_ScreenShot2019-10-21at6_11_52PM.thumb.png.8f012bdcb56152d11f85973d7a7996af.png

 

  1. hit <RETURN>

 

1120718248_ScreenShot2019-10-21at6_14_08PM.thumb.png.e6a22c7dd62dbaf4a31b2e433f3a847d.png

 

 

  1. Use Stella on your Host machine to run Collect

 

121044258_ScreenShot2019-10-21at6_15_06PM.thumb.png.10d837a469c206fef463623f1a42511d.png

 

Link to comment
Share on other sites

  • 1 month later...

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

  • Recently Browsing   0 members

    • No registered users viewing this page.
×
×
  • Create New...