A: |
Christian Walther pointed to me that this is possible. Moreover, this is easy. All you need
to do is to create a file of "other" type (i.e. which terminates with OTH_TAG).
TIOS then expects that a real type name is stored just below OTH_TAG
as a zero-started zero-terminated string of maximum 4 chars. Look the following code fragment
as an example:
FILE *fp = fopen ("example", "wb");
// store anything you want in the file here
fputc (0, fp);
fputs ("HSC", fp);
fputc (0, fp);
fputc (OTH_TAG, fp);
fclose (fp);
After this, you will have a file named "example" with type "HSC": you will see it in the
VAR-LINK dialog.
|