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.patProduce 1 postscript file with 2 pages.
PATTERN FILE FORMAT
There are two possible formats.
1. Format 1: NSFCAM/CSHELL pattern format.
NAMEfor example,
number_of_elements (decmial)
element1 (hex)
element2 (hex)
P1_reset - Frame StartThere are two possible formats.
2
0013
0012
2. Format2: SPEX pattern format.
NAMEfor example,
PreserveBit mask (hex)
number_of_elements (decmial)
element1 (hex)
element2 (hex)
p1.pat - Frame Start with global reset
00000000 ; Preserve mask (hex)
17 ; Number of patterns (dec).
00000040
008000c0
008000c0
008000c0
008000c0
00000040