Looking good.bixio60 wrote:Done...
I cant currently distribute an apple binary, but Im too cheap to pay for developer certificate

Looking good.bixio60 wrote:Done...
Same with QPC. I even remove the header again if the type is changed to 0.M68008 wrote:Btw, Q-emuLator only uses headers for files needing it (e.g. executables)
I didn't know you do that, too.and it also does some escaping of the file name to avoid forbidden names (e.g. CON on Windows) and characters. If anybody is interested, I can share the escaping algorithm.
Another case is files with empty names, sometimes used by QL programs as weak copy protection. In Q-emuLator, they appear in host directories as '"-noname-".mk79 wrote:For filenames ending with a space the space will be exchanged with ANSI character 160. Filenames ending with a dot are exchanged with ANSI character 183. Yes, these were implemented on actual requests from a customer a long time (>15 years) ago because he actually used weird filenames like these in his company's software.
I would be interested in seeing them as obviously sQLux is new to windows foibles. But it does attempt to only use header of files with the type set. Although Marcel has pointed out a corner case I had not considered so will need to implement.M68008 wrote:Great to hear! IMO having more emulators use the same native format will simplify the life of users.XorA wrote:On that NOTE reading Q-Emulator headers now works (well as far as Ive tested it), could still be some corner cases. Next step is to replace the .-UQLX- files with Q-Emulator headers all round!
Btw, Q-emuLator only uses headers for files needing it (e.g. executables) and it also does some escaping of the file name to avoid forbidden names (e.g. CON on Windows) and characters. If anybody is interested, I can share the escaping algorithm.
Hi XorA,XorA wrote:I would be interested in seeing them as obviously sQLux is new to windows foibles. But it does attempt to only use header of files with the type set. Although Marcel has pointed out a corner case I had not considered so will need to implement.
Code: Select all
tk2_bin -> tk2_bin
<empty name> -> -noname-
CON -> -noascii-!CON
CONSOLE -> CONSOLE
one<newline>two -> -noascii-!one A!two (the A in the middle is the newline character)
// -> -noascii-2F 2F
<null character> -> -noascii-0
Ah right, I forgot about them. I do substitutions for those, too, but differently: ">" translates for example into Unicode symbol U+203A "Single Right-Pointing Angle Quotation Mark" which looks exactly like ">" but works in filenamesM68008 wrote:Windows forbids a number of characters in file names: <>|":/\?*
It should just work with the latest in git, but its still in development so there might be some bugs!Derek_Stewart wrote:Hi,
How do I get sQLux to execute a QDOS executable file unzipped with qemi-unzip.
I made a DEVICE as qdos-like but the rxecutable file teturns a bad parameter when loaded with EX or EW
Using your own test I have tried.Derek_Stewart wrote:Hi
No problems, I just not get it to work.
I generally uncompress archive files to a QDOS environment, which preserves the executable header eithout messing about wilth the QDOS file header.
with this sqlux.ini./x86_64/qem-unzip -d~/test "~/Downloads/flightdeck.zip"
Will load the flight_obj exe, which then fails with Bad Name, but thats not an issue with the filesystem as far as I can see!# Example configuration
SYSROM = MIN198.rom
ROMIM = TK232.rom
RAMTOP = 4096
PRINT = lpr
CPU_HOG = 0
FAST_STARTUP = 1
DEVICE = FLP1,~/test/,qdos-like
WIN_SIZE = 2x
SPEED = 1.0