AMOS (programming language): Difference between revisions

Content deleted Content added
AMOS cannot include inline assembly language. Its ability to "combine assembly language routines with your Basic programs" is to load machine code into a bank (PLOAD), run it (CALL) and get/set registers (AREG/DREG)
m Corrected spelling of François Lionet in History section.
Line 33:
AMOS competed on the Amiga platform with Acid Software's [[Blitz BASIC]]. Both BASICs differed from other dialects on different platforms, in that they allowed the easy creation of fairly demanding multimedia software, with full structured code and many high-level functions to load images, animations, sounds and display them in various ways.
 
The original AMOS was a [[BASIC interpreter]] which, whilst working fine, suffered the same disadvantages of any language being run [[interpreter (computing)|interpretively]]. By all accounts, AMOS was extremely fast among interpreted languages, being speedy enough that an extension called AMOS 3D could produce playable 3D games even on plain 7&nbsp;MHz 68000 Amigas. Later, an AMOS [[compiler]] was developed that further increased speed. AMOS could also run [[MC68000]] machine code, loaded into a program's memory banks.<ref>[https://archive.org/stream/1990-lionet-francois-amos-the-creator-user-guide/1990-lionet-francois-amos-the-creator-user-guide_djvu.txt The Creator], by FrangoisFrançois Lionet, 1990, ''"AMOS Basic includes special facilities which allow you to combine assembly language routines with your Basic programs."''</ref>
 
To simplify animation of sprites, AMOS included the AMOS Animation Language (AMAL), a compiled sprite scripting language which runs independently of the main AMOS BASIC program.<ref>{{cite web|url=http://grove.ufl.edu/~cwarner/computers.html |title=Archived copy |access-date=2010-11-22 |url-status=dead |archive-url=https://web.archive.org/web/20101208051702/http://grove.ufl.edu/~cwarner/computers.html |archive-date=2010-12-08 }}</ref> It was also possible to control screen and "rainbow" effects using AMAL scripts. AMAL scripts in effect created CopperLists, small routines executed by the Amiga's Agnus chip.