home *** CD-ROM | disk | FTP | other *** search
- Screen Design Aid - V3.0 - BASIC Interface Revision.
-
-
- EINTERFACE TO COMPILED BASIC PROGRAMSF
-
- The current distribution diskette contains an enhanced
- version of the interface bridge for used with compiled BASIC
- programs. This enhanced version permits inclusion of up to 10
- screens in program memory at one time, and elminates one of the
- modules required during Link. It follows the interface described
- in the original documentation, in that it expects to be called
- with three parameters passed by the call. The first two
- parameters are integer variables, while the third is a string
- variable. The functions supported, and the proper content of the
- passed variables are:
-
- Display Menu - Parm 1 = 0, Parm 2 = Screen number (1 to 10),
- Parm 3 = unused.
-
- Output String- Parm 1 = 1, Parm 2 = Field number, Parm 3 =
- string to be displayed.
-
- Input String - Parm 1 = 2, Parm 2 = Field number, Parm 3 =
- string variable to accept the input string.
-
- Out/In - Not supported
-
- Field Clear - Parm 1 = 4, Parm 2 = Field number, Parm 3 =
- unused.
-
- Position - Parm 1 = 5, Parm 2 = Field number, Parm 3 =
- unused.
-
- As discussed in the original documentation, a string being output
- will be truncated or extended by blanks to the field size defined
- for the screen. Input strings will be similarily extended by
- blanks or truncated to fit the entry length of the string
- parameter passed to this function.
-
- To use this facility, prepare screens as described in the
- main document. Having completed the design step, form one
- assembly module, of the form:
-
- CODE SEGMENT PARA PUBLIC 'CODE'
- ASSUME CS:CODE,DS:CODE
- ;
- PUBLIC BASMEN
- ;
- BASMEN EQU $
-
- (Include the source form of the screens desired
- in the sequence desired...note the sequence)
-
- ;
- DW -1 ;Must be included!!!!!
- ;
- CODE ENDS
- END
-
-
- 1
-
-
-
-
-
- Screen Design Aid - V3.0 - BASIC Interface Revision.
-
-
- Be particularily careful that the final define word
- containing 0FFFFH (-1) is included. Assemble this module, and
- then when performing the "Link" of your Basic program, use the
- following control string:
-
- your-program+BASSCR+screen-module (sequence critical)
-
- when prompted for the "object" code to be linked. Obviously, the
- object form of the BASMEN you just produced and the object form
- of BASSCR must be available to the Link program.
-
- BASSCR requires 3CEH memory, while the screen module size is
- a function of the number and content of the screens to be
- displayed. Execution is normal as for any other compiled Basic
- program. This function performs properly whether the Basic
- program was compiled for "stand alone" or "run time library"
- execution.
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
- 2
-
-
-
-
-