The Phone Losers Of England Presents: Last Updated 6th of January 2001
Back To Information Archive
PSIONICS FILE - MISC
====================
Miscellaneous items
Last modified 1998-03-31
========================

This file holds miscellaneous items that can't be otherwise categorised.


World map
---------

The world map used by the World application on the 3a and 3c can be
copied for use in applications. Simply obtain a handle to it by:

    GLOADBIT ("ROM::WORLD.APP", 0, 2)


Dialogs
-------

The dialogs in OPL have a number of facilities not documented in the
manuals. The comments in this section apply from the start of dialog
construction (the DINIT keyword) until the dialog has been evaluated
(the DIALOG keyword returns).

Offset 54 in the process space points to the dialog data structure, which
is @@ bytes long:

  Offset  0 to   9: unknown
  Offset 10 to  51: short item table
  Offset 52 to  60: unknown
  Offset 61 (byte): number of items in dialog

If there are up to 7 items in the dialog (DINIT with a text parameter
generates an item) then information about them is stored in the short item
table. If there are 8 or more items, it is in the long item table; the
address of the long item table is stored in the first word of the short
item table. Each table consists of one or more 6 byte objects:

  Offset 0 (word): unknown
  Offset 2 (word): unknown
  Offset 4 (word): flags (these can be changed)
    bit 0: unknown
    bit 1: unknown
    bit 2: set if the item is underlined
    bit 3: unknown
    bit 4: clear if the item has a prefix, set if it does not
    bit 5: clear if the item can be selected, set if it cannot
    remaining bits unknown
This Site Is © Copyright Project Atlantis, 2000-2001