public

Learning Assembler on Amiga #4 - AsmOne

In this lesson, we learn how to configure AsmOne to start FINALLY coding our lessons.

5 years ago

Latest Post The Great Escape Tunnel by Mario Esposito public

In lesson three we configured the system to install some foundational pieces in order to install Asm-One.

After you have installed, assuming you install the exact version I linked (1.48 by TSA), you might experience the following weirdness on boot.

the issue with that is really easy to fix, once you know where to look. Just hit ignore. The IDE will boot and you will see this screen.

Then answer the two questions as indicated below:

Chip
200

It doesn’t really matter, as it is just a way to pass that stage and get to the preferences screen, where the culprit of that error lives.

Select the option as shown above and you will see where the logical drive (drawer) that is not found is set up.

It is “Default Dir.”. Just place there a valid location and set defaults for the BootUp field. If you are trying to go back using the backspace, that won’t work. If you hold the LEFT CMD button (Amiga key) you will be able to navigate back using the cursor keys.

If you want to stay aligned with this course so that in the future you understand my references, here is how I set it up:

The backslash means to ENTER. That is basically startup commands that you give to the environment when it boots up. Hence the field name.

I then ticked off the Line Numbers and set “Sources extension" to  .S

I added the SOURCE location to the startup sequence so that when the system boots point to the folder where I keep the source code. You can pick whatever pleases you.

  1. Hit Save and quit Asm-One.
  2. Open a CLI (shell)
  3. type ED sys:S/startup-sequence
  4. At the bottom of the screen (use the Amiga + cursors to move) add the following
the screenshot doesn't match what I have today but the logic is the same

It is a basic assignment of a logical name to a physical folder so that you can refer to SOURCES instead of using the full location/path. Learn more AmigaDOS commands here. They are a messy hybrid of UNIX and MS-DOS.

Of course, if you picked different paths, make sure to update accordingly. Reboot the environment and you should be good to go.

You are ready to write your first program in assembler. That will make your children proud and your dog indifferently begging for a treat. If you have any, get married, make children, and then make them proud. If you can’t have children, adopt. If you can’t adopt, buy a plant a make it proud, I hear they can scream when we eat them. It is as close as it gets to screaming children. In other words, there is literally nothing that can stop you from getting your asm revenge and joy ;-)

Let's compile something

For some time we will be using the very basics that allow us to survive within AsmOne.

the command "r", opens a dialog to select a file to load in the memory buffer (editor). After you loaded it, in order to see what you loaded, you need to hit ESCape. Same to return back where you were before.

to compile some source code, just type "a" followed by the enter key. To run the code you just compiled type "j".

To take a look at the memory blocks just type "=" and finally to monitor what's going on in memory using the command "m"

If you hold the right key on the mouse you can access the menus but not all commands are mapped in the menu. If you are really in a bind this is the manual that I found but admittedly it is like searching in a junk drawer but it is better than guessing and trying things that make the current state worse :-) –  That's all for now.

Keep retroing.

#A99

Mario Esposito

Published 5 years ago