Topic : The GFA-Basic Compendium
Author : GFA Systemtechnik GmbH
Version : GFABasic.HYP v2.98 (12/31/2023)
Subject : Documentation/Programming
Nodes : 899
Index Size : 28056
HCP-Version : 3
Compiled on : Atari
@charset : atarist
@lang :
@default : Document not found
@help : Help
@options : +g -i -s +z
@width : 75
@hostname : STRNGSRV
@hostname : CAB
@hostname : HIGHWIRE
@hostname : THING
View Ref-FileProgram startup
move.l 4(a7),d0 ;basepage address (prg)
move.l a0,d0 ;0=prg/<>0 acc (basepage address)
a7 ;prg=stack assigned by os/acc=invalid, no stack!
Accessories are pre-shrunk (MSHRINK) by the OS.
Programs must call MSHRINK themselves.
Initial DTA address = BASEPAGE+128
If you don't move the DTA, the command line will be clobbered.
OS calls
Type Destroyed Output Input Invalid opcodes
------ -------------- -------- -------- ----------------------------------
AES none # paramblk paramblk crash (N.Aes pops an alert)
VDI none # paramblk paramblk crash
BIOS d0-d2/a0-a2 d0 stack garbage (MiNT -32)
XBIOS d0-d2/a0-a2 d0 stack opcode
GEMDOS d0-d2/a0-a2 d0 stack -32
Line-A d0-d2/a0-a2/a6 + paramblk ignored (a6 depends on call made)
# = Noted in the TOS.HYP
+ = Depends on the call made.
Note: Never call the AES in supervisor mode.
FireBee notes:
The TAS instruction causes cache issue on the FireBee. Don't use it!