|
|
1.1 root 1: The genecyst GYM log format is:
2:
3: while (!EOF)
4: switch (readbyte()) // readbyte() reads the next byte from the file
5: {
6: case 0: 1/60th of a second has elapsed;
7: case 1: ymport=0; ymreg=readbyte(); ymdata=readbyte();
8: case 2: ymport=1; ymreg=readbyte(); ymdata=readbyte();
9: case 3: write readbyte() to psg port
10: }
11:
12: Generator does not put sample data into GYM logs because it's impossible
13: for a player to know when to play the samples with only the accuracy of
14: 1/60th second. See GNM logging.
This archive runs on limited infrastructure. Preserving old code on modern bandwidth. Automated agents are requested to crawl responsibly.