NAME

    dpat - draw pattern

SYNOPSIS

   dpat  [-o outfilename name ][-f {1|2}] [ -t timeslice ] [ -a ] infilename

DESCRIPTION

dpat produces out.ps, a postscript file displaying the patterns in filename as a graph. This program require the files bits & header.ps files to be present in the current working directory.

Also prints out some asm96002, C, and asm21k data declations you can cut & paste in you applications.

OPTION

-o outfilename - specifies the outfilename. Default is out.ps.

-f {1 | 2 } -  specifies the format. Format 1 is the default.

-t   The Timeslice, or smallest unit of time.

-a   Append to out.ps. Use this option to append a page to the already created out.ps. for example:

   dpat p1.pat
   dpat -a p2.pat

Produce 1 postscript file with 2 pages.


PATTERN FILE FORMAT

There are two possible formats.

1. Format 1: NSFCAM/CSHELL pattern format.

NAME
number_of_elements (decmial)
element1 (hex)
element2 (hex)
for example,
P1_reset - Frame Start
2
0013
0012
There are two possible formats.

2. Format2: SPEX pattern format.

NAME
PreserveBit mask (hex)
number_of_elements (decmial)
element1 (hex)
element2 (hex)
for example,
p1.pat - Frame Start with global reset
00000000   ; Preserve mask (hex)
17         ; Number of patterns (dec).
00000040
008000c0
008000c0
008000c0
008000c0
00000040