;                   TIM Image Specification File
;~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
; This file specifies the image set-up for TIMWIN. It must be renamed
; to 'images.tim' and placed in the TIMWIN directory to become valid.
; The specification consists of the following fields, which are separated
; by white space characters (i.e. spaces or tabs).
;
;  i  dis  8  512  512   0   0 
;  ^   ^   ^   ^    ^    ^   ^ 
;  |   |   |   |    |    +---+------position of upper left corner in field
;  |   |   |   |    |               (specify for child images only)
;  |   |   |   +----+---------------image size (Y, X)
;  |   |   +------------------------pixel size
;  |   +----------------------------type of image store: dis(play), mem(ory),
;  |                                win (memory image with Windows display)
;  +--------------------------------image name (may be any string)
;
; Images can share the same memory space if they are specified in a single
; block. An empty line separates blocks.
;
; The first line in a block not only specifies an image, but also the total
; amount of memory of the block. This first image is called: Master Image (MI).
; The image specifications following the MI may have a '-' in the image store
; type field. These images are called: child images. Their size and position
; must be so, that they fit in the master image completely. The position
; specification is necessary only with child images.
; Windows images (type 'win') cannot have children.
; Image specification blocks must be separated by at least one empty line.
;
; For every specified image the following sub-images are recognized:
; - 4 images occupying 1/4 of the total image space, accessible by appending
;   a number (1 - 4) to the image name (e.g. a1, p2, etc.).
; - a variable sub image, accessible by appending a 'c' to the image name
;   (e.g. 'ac').
;
; The first non-comment line specifies the display window: this is the size
; of the area that the frame grabber shows in non-zoomed condition.
;
; In this file coordinates are specified in Y, X fashion.
;
; In this file characters between the comment character (;) and end-of-line
; are ignored.
; ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
; In this file memory occupation is minimized for use in systems with
; limited memory (e.g. 2MB)
;
;           Specification for 2x512x512 FGPlus Frame Grabber
;        (Single Store Mode. This is the setup of choice with TIMWIN.
;         See PCVisionPlus manual pg. 2.13 to change to single store mode)
;

display = 512 512                       ;Size display window
                                        ;fg: master image (determined by display)
fg  dis  8  512  1024                    ;  <--------1024--------->
x    -   -  512   512     0     0        ; +-----------------------+
y    -   -  512   512     0   512        ; |           |           |
g    -   -  512   512     0   512        ; |     x     |   y (g)   |
p    -   -  256   256     0     0        ; |           |           |
q    -   -  256   256     0   256        ; +-----------------------+
r    -   -  256   256   256     0        ;  < page 1  > <  page 2 >
s    -   -  256   256   256   256        ; +-----------------------+
t    -   -  256   256     0   512        ; |  p  |  q  |  t  |  u  |
u    -   -  256   256     0   768        ; |-----+-----+-----+-----|
v    -   -  256   256   256   512        ; |  r  |  s  |  v  |  w  |
w    -   -  256   256   256   768        ; +-----------------------+
                                          ;  < page 1  > <  page 2 >

;
;  Additional storage in computer memory
;
m16 mem  16  256   256    
a    -    8  256   256     0     0
b    -    8  256   256   256     0

h   win   8  256   256                     ;64KB

i   win   8  256   256                     ;64KB
