Open main menu

Difference between revisions of "AGI/Specifications/Internals"

Added values for v20 (Computer type), v22 (Sound generator type) and v26 (Monitor type) used by the Amiga AGI. Based on running Amiga's Gold Rush in debug mode (Enter with "bird man") under WinUAE.
(Added computer type value for Atari ST (v20 = 4). Value taken from Amiga Gold Rush's logic0 where the printout when entering debug mode with "bird boy" depends on the computer type.)
(Added values for v20 (Computer type), v22 (Sound generator type) and v26 (Monitor type) used by the Amiga AGI. Based on running Amiga's Gold Rush in debug mode (Enter with "bird man") under WinUAE.)
Line 242: Line 242:
* 18 - Additional information that goes with the error code.
* 18 - Additional information that goes with the error code.
* 19 - Key pressed on the keyboard.
* 19 - Key pressed on the keyboard.
* 20 - Computer type. For IBM-PC it is always 0. For Atari ST it is 4.
* 20 - Computer type. For IBM-PC it is always 0. For Atari ST it is 4. For Amiga it is 5.
* 21 - If Flag (15) == 0 (command reset 15 was issued) and Var (21) is not equal to 0, the window is automatically closed after 1/2 * Var (21) seconds.
* 21 - If Flag (15) == 0 (command reset 15 was issued) and Var (21) is not equal to 0, the window is automatically closed after 1/2 * Var (21) seconds.
* 22 - Sound generator type:
* 22 - Sound generator type:
** 1 - PC;
** 1 - PC;
** 3 - Tandy.
** 3 - Tandy (This value is also used by the Amiga AGI).
* 23 - 0:F - sound volume (for Tandy).
* 23 - 0:F - sound volume (for Tandy).
* 24 - This variable stores the maximum number that can be entered in the input line. By default, this variable is set to 41 (29h). (information by Dark Minister)
* 24 - This variable stores the maximum number that can be entered in the input line. By default, this variable is set to 41 (29h). (information by Dark Minister)
Line 253: Line 253:
** 0 - CGA;
** 0 - CGA;
** 2 - Hercules;
** 2 - Hercules;
** 3 - EGA.
** 3 - EGA (This value is also used by the Amiga AGI).


<span id="Flags"></span>
<span id="Flags"></span>
417

edits