Open main menu

Difference between revisions of "AGI/Specifications/Internals"

Added more info on v20, v22 and v26 (Amiga & Apple IIGS related values. Tested with XGS/32 and WinUAE).
(Added computer type's value for Apple IIGS (v20 = 7) based on debug mode "show var"-testing with Gold Rush, Police Quest 1, King's Quest I, II & III and Space Quest II under XGS/32.)
(Added more info on v20, v22 and v26 (Amiga & Apple IIGS related values. Tested with XGS/32 and WinUAE).)
Line 243: Line 243:
* 19 - Key pressed on the keyboard.
* 19 - Key pressed on the keyboard.
* 20 - Computer type. IBM-PC = 0, Atari ST = 4, Amiga = 5, Apple IIGS = 7.
* 20 - Computer type. IBM-PC = 0, Atari ST = 4, Amiga = 5, Apple IIGS = 7.
** Exceptions: Amiga's Space Quest I (Version 1.2, AGI 2.082) uses value 20.
* 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 (This value is also used by the Amiga AGI).
** 3 - Tandy (This value is also used by the Amiga AGI and Apple IIGS AGI).
** Exceptions: Apple IIGS's Gold Rush! (Version 1.0M 1989-02-28 (CE), AGI 3.003) uses value 8.
* 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)
* 25 - ID number of the item selected using status command or 0xFF if ESC was pressed.
* 25 - ID number of the item selected using status command or 0xFF if ESC was pressed.
* 26 - monitor type
* 26 - monitor type
** 0 - CGA;
** 0 - CGA (This value is also used by the Apple IIGS AGI);
** 2 - Hercules;
** 2 - Hercules;
** 3 - EGA (This value is also used by the Amiga AGI).
** 3 - EGA (This value is also used by the Amiga AGI).
** Exceptions: Amiga's King's Quest I (Version 1.0U, AGI 2.082) and Space Quest I (Version 1.2, AGI 2.082) use value 0.


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

edits