AminetAminet
Search:
86030 packages online
• About
• Recent
• Browse
• Search
• Upload
• Setup
• Services

dev/amos/AmosPro_Fcplayer.zip

Mirror:Random
Showing: m68k-amigaos icongeneric icon
No screenshot available
Short:Future Composer for AMOS Professional
Author: gigatron8k at gmail.com
Uploader:gigatron8k gmail com
Type:dev/amos
Version:1.2
Architecture:m68k-amigaos >= 2.0.4
Date:2026-12-06
Distribution:Aminet
Download:dev/amos/AmosPro_Fcplayer.zip - View contents
Readme:dev/amos/AmosPro_Fcplayer.readme
Downloads:2

AmosPro_Fcplayer V1.2 - Future Composer for AMOS Professional
==============================================================

AMOS Pro extension that plays Future Composer modules directly
from an AMOS program, both under the interpreter and compiled:

    Future Composer 1.4 (files beginning with "FC14")

    Future Composer 1.0-1.3 (files beginning with "SMOD")
    Extension slot: 25.

Contents

APSystem/AmosPro_Fcplayer.Lib the extension, ready to use
Demo/FcDemo.asc demo program (Merge Ascii)
src/+Fcplayer.s extension source
src/fc_replay.s FC 1.0-1.4 replay routine (68000, PC-relative)
src/fc13_waves.inc built-in waveforms for FC 1.0-1.3
src/afcplayer build script (AMOS Pro source tree)

Installation

    Copy AmosPro_Fcplayer.Lib into the APSystem folder of AMOS Pro
    (replace the old version if it is already there).

    If not already done: menu Config > Set Interpreter

        Load Default Configuration

        Set loaded extensions: next to number 25, type
        AmosPro_Fcplayer.Lib

        Save Configuration

    Quit and restart AMOS Pro (extensions are loaded at
    startup).

    For the compiler: same setting in its configuration
    (AMOSPro_Compiler_Config), slot 25.

Instructions

Fc Load "file",b Loads a module into bank b, in CHIP memory
(bank "FC Music"). If this bank is
currently playing, the music stops first.
Fc Play b Plays the module in bank b (FC14 or SMOD).
An address can also be given.
Fc Play b,start Starts at line "start" of the sequence.
Fc Play b,start,end Plays lines start to end, then loops back to
start (to play a single tune from a file
that contains several).
Fc Stop Stops the music.
Fc Pause Pauses (the position is kept).
Fc Cont Resumes after Fc Pause.
Fc Volume v Master volume, from 0 to 64.
=Fc Pos Current position in the tune's sequence.
=Fc Loops Number of times the tune has looped.
=Fc Song Start(b,n) Line where the n-th tune seems to start:
line 0, then each line that changes the
speed. -1 if there is none.

Example

Fc Load "FC14.Papillon",10
Fc Play 10

Several tunes in one file

The Future Composer format has no tune table: the musics
are placed one after another in the sequence, and playback
starts the replay at the right line. =Fc Song Start gives a hint
(a speed change often marks the start of a tune, but
it can also be a tempo change within the same tune).
Example with FC13.Astaroth-2-4 (lines 0, 36 and 84):
Fc Load "FC13.Astaroth-2-4",10
D=Fc Song Start(10,2) : ' 36
F=Fc Song Start(10,3)-1 : ' 83
Fc Play 10,D,F : ' plays the 2nd tune in a loop
For the last tune, do not give an end: Fc Play 10,84

Without Fc Load, the module must be loaded into CHIP memory:
Open In 1,"FC14.Papillon" : L=Lof(1) : Close 1
Reserve As Chip Data 10,L
Bload "FC14.Papillon",10

Errors

Illegal function call : the bank does not contain an FC14 or
SMOD module, volume outside 0..64, start/end
lines outside the sequence (or start > end),
invalid bank number for Fc Load.
Out of memory : not enough CHIP memory for Fc Load (or,
very rarely, for the SMOD waveforms).
Disk error : file not found or unreadable (Fc Load).

Coexistence with AMOS

    The music runs in AMOS's VBL interrupt: it continues
    throughout the program, with nothing to call.

    It stops by itself at the end of the program (Default/Run/Quit)
    and if the module's bank is erased.

    Fc Play cuts off any AMOS sounds in progress. Do not use at the same
    time Track Play, Music, Sam Play, Play, Boom, Shoot or Bell: they
    use the same Paula voices.

    The extension reserves 1348 bytes of CHIP memory for the
    FC 1.0-1.3 waveforms.

Fidelity

The replay routine was written for this extension. It reproduces
the behavior of the original FC 1.3 and FC 1.4 replays (SuperSero /
Superions): the writes to the Paula registers were compared
frame by frame with the original replays on 6 modules (FC14: Papillon,
Blaizer, Arcane Theme; FC 1.3: Astaroth 1, Astaroth 2-4, Commando),
15000 frames each (5 minutes, including looping): no difference.

Versions: 1.0 Internal Test Release
1.1 Internal Test Release (AI used for debug)
1.2 Play fc3,fc4,smod Formats

*** Good Luck ; Gigatron France (gigatron8k@gmail.com)

License: MIT. Extension skeleton based on AMOSPro_Music
(Francois Lionet, MIT).

Disclaimer

This extension is provided "as is", without warranty of any kind, express or implied. 
By installing and using AmosPro_Fcplayer, you do so entirely at your own risk. 
I am not responsible or liable for any damage, data loss, malfunction, 
or other harm that may occur to your system, software, or data as a result of
 installing or using this extension. You are solely responsible for testing 
 it in a safe environment and for keeping backups of your work.


Contents of dev/amos/AmosPro_Fcplayer.zip
Archive:  /home/aminet/aminet_root/doc/dev/amos/AmosPro_Fcplayer.zip
 Length   Method    Size  Cmpr    Date    Time   CRC-32   Name
--------  ------  ------- ---- ---------- ----- --------  ----
       0  Stored        0   0% 2026-11-04 23:12 00000000  APSystem/
    7472  Defl:N     2978  60% 2026-11-05 00:17 5a28654e  APSystem/AmosPro_Fcplayer.Lib
       0  Stored        0   0% 2026-11-04 23:53 00000000  Demo/
     743  Defl:N      434  42% 2026-11-04 23:53 e5652d5a  Demo/FcDemo.asc
       0  Stored        0   0% 2026-11-04 23:53 00000000  src/
   11652  Defl:N     3472  70% 2026-11-05 00:17 397f43c5  src/+Fcplayer.s
     240  Defl:N      137  43% 2026-11-04 23:12 15f1c418  src/afcplayer
    7206  Defl:N      771  89% 2026-11-04 23:53 ba8fbc05  src/fc13_waves.inc
   17764  Defl:N     5241  71% 2026-11-05 00:17 fa8e32c6  src/fc_replay.s
--------          -------  ---                            -------
   45077            13033  71%                            9 files
Page generated in 0.01 seconds
Aminet © 1992-2024 Urban Müller and the Aminet team. Aminet contact address: <aminetaminet net>