Ultimate Amiga

Please login or register.

Login with username, password and session length
Advanced search  
Pages: [1]   Go Down

Author Topic: Amos as a toolbox for Assembler  (Read 4414 times)

0 Members and 1 Guest are viewing this topic.

Nibiru

  • A600
  • *
  • Karma: 0
  • Offline Offline
  • Posts: 1
  • Generic Amiga User
Amos as a toolbox for Assembler
« on: February 02, 2018, 10:03:54 PM »

Hi all, Amiga fans, long live Amos! :-)

Brief introduction: I have grown up on the Amy as a programmer, started writing basic programs when I was a kid (Amos 1.3 + Amos Compiler + Amos 3D, I still have these somewhere), then I switched to Assembly, then C/C++ and in the end I became a software engineer... :-))

Recently I bought again an Amiga 500 + HD and thought of a project that I believe will be much appreciated by the Amiga community.

Thing is, this project (a game remake) HAS to be done in Assembly, and I was thinking to write a tool to speed up it's development by using Amos to have a level editor and a way to test/prototype the final routines.

So my question: is it possible to add some assembly routines and integrate them with the Amos environment? also, is there any way to read raw data from a file (no IFF, amos banks, etc.) and write it directly to bitplanes and sprites?

Sorry but I am a bit rusty in both Amos and 68K asm, besides I never owned Amos Professional, that seems to be far more advanced in comparison to Amos 1.3...

Thanks!
Logged

KevG

  • A600
  • *
  • Karma: 1
  • Offline Offline
  • Posts: 87
Re: Amos as a toolbox for Assembler
« Reply #1 on: February 05, 2018, 06:59:31 PM »

Hello Nibiru

1. You can 'embed' assembly code if you have the compiler extension. It must finish
with a singe rts instruction and the code must be relocatable.
2. You can also read raw data directly into memory.

May I suggest that you download the AMOS manuals from this site that explains how you can do this.

Regards, Kev
« Last Edit: February 06, 2018, 10:06:03 AM by KevG »
Logged

umiggy87

  • A600
  • *
  • Karma: 0
  • Offline Offline
  • Posts: 1
  • Generic Amiga User
Re: Amos as a toolbox for Assembler
« Reply #2 on: February 07, 2018, 07:57:58 AM »

Hello,

I'm trying to learn asm programming on Amiga. Somewhere on the net I saw an example of using AMOS wrapper for running asm code. That is, trying-out/testing asm code using AMOS to "boot strap" it.  It was a tutorial, and contained examples to get one started. Looked interesting, trouble I cannot remember where I saw it. Any chance somebody could post an example here, it would be much appreciated. TIA.

PS: KevG when you say manuals mean the PDFs of the original manuals, right? Not the AMOS 'guides'  ;) I keep seeing referenced but cannot find.
Logged

SamuraiCrow

  • compile-time wierdo
  • Forum Mod
  • A1200
  • *****
  • Karma: 5
  • Offline Offline
  • Gender: Male
  • Posts: 946
  • Compile-time wierdo
Re: Amos as a toolbox for Assembler
« Reply #3 on: February 07, 2018, 10:52:30 AM »

Hello,

I'm trying to learn asm programming on Amiga. Somewhere on the net I saw an example of using AMOS wrapper for running asm code. That is, trying-out/testing asm code using AMOS to "boot strap" it.  It was a tutorial, and contained examples to get one started. Looked interesting, trouble I cannot remember where I saw it. Any chance somebody could post an example here, it would be much appreciated. TIA.

PS: KevG when you say manuals mean the PDFs of the original manuals, right? Not the AMOS 'guides'  ;) I keep seeing referenced but cannot find.
The PDFs are just scans of the original manuals for AmosPro and its extensions.  If you click on the Amos Factory link on the left column of the webpage you should see download links to PDFs of many manuals.
Logged
Pages: [1]   Go Up
 

TinyPortal 2.2.2 © 2005-2022