furnace/papers/export-tech.md

41 lines
690 B
Markdown
Raw Normal View History

2022-01-16 20:16:05 +00:00
# ROM export technical details
## instrument data
TODO
2022-07-27 22:57:45 +00:00
## macro data
read length, loop and then release (1 byte).
if it is a 2-byte macro, read a dummy byte.
then read data.
## binary command stream
2022-01-16 20:16:05 +00:00
2022-10-06 09:51:52 +00:00
Furnace Command Stream, split version.
```
size | description
-----|------------------------------------
4 | "FCS\0" format magic
4 | channel count
4?? | pointers to channel data
2?? | preset delays
| - 16 values
1?? | speed dial commands
| - 16 values
```
read channel, command and values.
2022-01-16 20:16:05 +00:00
if channel is 80 or higher, then it is a special command:
2022-01-16 20:16:05 +00:00
```
fb xx xx xx xx: set tick rate
fc xx xx: wait xxxx ticks
fd xx: wait xx ticks
fe: wait one tick
ff: stop
2022-01-16 20:16:05 +00:00
```