JR2 format is a format in which the value that JR-200 writes to MN1271's register $C80D is recorded as is. This format is VJR-200 original.
Features
Contents | File Size | Size Limit | per file | PRINT# | |
---|---|---|---|---|---|
CJR | records actual program or data | small | 64KB (limited by VJR-200) |
1 program or 1 data | not available |
JR2 | records the value corresponding to the recorded waveform | large | 2GB |
multiple program and data files | available |
The specific file formats are as follows.
Offset | 0 | 1 | 2 | 3 | 4 | 5 | 6 | 7 |
---|---|---|---|---|---|---|---|---|
Value | 'J' (0x4a) | 'R'(0x52) | '2'(0x32) | '\0' (0) | 1 | 0 | 0x10 | 0 |
description | file type | major ver | minor Ver | pointer to data block | ||||
Offset | 8 | 9 | 10 | 11 | 12 | 13 | 14 | 15 |
Value | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 |
description | reserved | |||||||
Offset | 16 | 17 | 18 | 19 | 20 | 21 | 22 | 23 |
description | data block |
Offset 6 and 7 bytes represent the beginning of the data block by little endian.
By default, 500 bytes 0 is appended to the end of each time the remote terminal is stopped during SAVE, MSAVE, or PRINT#. This is because when reading PRINT# data with INPUT#, if there are no blanks at the timing of reading, the data cannot be read normally. It is not really necessary to add it when using SAVE or MSAVE, but since it is difficult to distinguish between them from the emulator, it is added in all cases.
So, if you never use PRINT#, you can save the file size by
unchecking "Option dialog - Emulatoer - CMT : When recording stops, blank is
added". Note, however, that data PRINT# in this state will cause an
error during INPUT# and cannot be read.
[TOP PAGE]