home
***
CD-ROM
|
disk
|
FTP
|
other
***
search
/
Loadstar 236
/
236.d81
/
t.vobject
< prev
next >
Wrap
Text File
|
2022-08-26
|
2KB
|
104 lines
u
V O B J E C T
by Dave Moorman
DOTBASIC gives you the power to
cut Screen Objects into Collections,
which can be returned to the screen
using only an index number and the X,Y
position of the upper left corner.
Moreover, a Screen Object Collection
can be BSAVEd and BLOADed anywhere in
memory (except under I/O) and used in
your main program.
VOBJECT is a simple utility that
allows you to load a MED or TBS file
(created with VDOT), cut Screen
Objects into a Collection, and save
the collection as an SOC (Screen
Object Collection) file.
FILE
LOAD allows you to load a MED,
TBS, or SOC file. The MED file format
includes font, screen, and color data.
The TBS file contains only screen and
color information. Screens designed
with VDOT can be saved in either
format. The SOC file contains a Screen
Object Collection created with
VOBJECT.
SAVE allows you to save the SOC
file created with VOBJECT.
DISK allows choosing the disk
drive.
EXIT leaves the program.
EDIT
COLOR <F1> presents the
Unhighlighted and Highlighted colors
used with the menus of VOBJECT. Click
<-> or <+> to change colors. Click
<DONE> to exit, using the chosen
colors.
CAPTURE allows marking an area of
the screen and adding it to the Screen
Object Collection. Place the square
marker in the upper left corner of the
area you wish to capture. Click. Move
the mouse down and right to bracket
the desired area. Click. A dialog box
shows the Object Number, Memory Used,
and Remaining Memory in the Screen
Object Collection. Click <Yes> to add
the selected screen area to the
Collection.
DEL CAP # removes the last Screen
Object in the Collection.
VIEW CAPS allows you to flip
through the existing Screen Object in
the Collection. Just press a key to
cycle through the Objects.
The Collection memory is limited
to 4096 bytes. After saving a
Collection, used DEL CAP # repeatedly
to empty the Collection, then build a
new Collection.
The Screen Object Collection
memory begins with a byte that
indicates how many Objects are
present. This is followed by a
two-byte relative pointer to the
beginning of the next object. The next
two bytes contain the Width and Height
of the Screen Object. Then comes the
actualy data of the Object,
alternating screen code and color
code.
INDEX!HASHLO!HASHHI!WIDE!HIGH!DATA>>
VOBJECT was the first "serious"
program written with DOTBASIC, and was
completed in about 3 hours.
DMM