DST ( Tajima) Design format
Explanation of Abbreviations :
|
= hexadecimal = decimal = Most significant Bit = Least significant Bit = Value varies or unknown |
Design data starts at 200 HEX = Byte 512 DEC, with first Byte in file numbered 0 (zero)
Three Bytes per stitch
first two Bytes hold plus part of third byte hold x- and y-data
third byte holds jump stitch plus color change info
file must end with triplet : HEX 00 00 F3
all stitches : Bit 0,1 of Byte 3 set
jump stitches : Bit 7 of Byte 3 set
color changes : Bit 6,7 of Byte 3 set
Decoding of Byte 1 - 3 :
Bit No.: | ||||||||
7 |
6 |
5 |
4 |
3 |
2 |
1 |
0 |
|
Byte 1 | y+1 | y-1 | y+9 | y-9 | x-9 | x+9 | x-1 | x+1 |
Byte 2 | y+3 | y-3 | y+27 | y-27 | x-27 | x+27 | x-3 | x+3 |
Byte 3 | jump | color change |
y+81 | y-81 | x-81 | x+81 | set | set |
Examples :
Adress: | Hex values: | Binary values : | Explanation (Dec.) | |||||
NNNN | A8 | 12 | 23 | 10101000 | 00010010 | 00100011 | y+64 | x-12 |
NNNN | A8 | 12 | A3 | 10101000 | 00010010 | 10100011 | jump stitch | |
NNNN | 00 | 00 | C3 | 00000000 | 00000000 | 11000011 | color change |