SMSQ/E has a way to encode data space size of executables (and nothing else) into the file name. If you name a file with the extension "_ex?", replacing the "?" with a digit, SMSQ/E will execute that file with "?" k of data space. That's quite a crude way of encoding header information. It's especially unsuited for programs built with C68 which often need bigger than one-digit data space ("unzip", for example, needs over 50k of data space, "zip" about three times that). TURBO-compiled programs often are similar (My "qjewels" program has an experimentally determined data space size of 16k).Derek_Stewart wrote: Wed Feb 28, 2024 8:26 am Hi,
I asked advice from Wolfgang Lenerz.
Who had a quick look at the code, that seems to be true (the file is given the extension"EX"), but he did not didn't really investigate any further (file dv3_msd_drset_asm).
The file date is in 1998....
So it would seem, that an executable file coukd be stored on a FAT12 Floppy Disk and the executable information still be in tact.
I do not know whether this works or not.
For some, especially assembly programs, that method can, however, be useful (QMAC, for example, is happy with 4k of data space)
And yes, it works (for QMAC, not for unzip or qjewels)!
The old QPC2 (until v4) manual mentioned that functionality, but I can't find it in the newer v5 manual. With most of the non-QPC SMSQ/E versions lacking the DOS device I tested this on, I'm also not sure if this behavior is QPC-specific or not. I might have a go on the Atari.
EDIT: Just tested that on Q68: It will execute "fat1_qmac_ex4" just fine.