Search found 1348 matches

by mk79
Thu Feb 14, 2019 11:26 pm
Forum: Help for New Users
Topic: What QL emulator do you recommend?
Replies: 13
Views: 7812

Re: What QL emulator do you recommend?

You can try QPC, it comes with an example hard-disc that has many pre-configured applications, including the QD editor. Clipboard synchronisation is enabled in this boot file, too, so you can just paste into QD ("insert from scrap") or the other way round. Or hit "ALT+SPACE" to p...
by mk79
Mon Feb 11, 2019 8:27 pm
Forum: Software & Programming
Topic: ql superbomber and m-crunch ..and more things
Replies: 76
Views: 34725

Re: ql superbomber and m-crunch ..and more things

It would be anyhow very cool to have several set ups available for download, one with QL/E another one with black phoenix, a basic one with Cue Shell and Psion x-change and a leisure oriented one with Games, 3D animations and more. All ready to go, download, SD card, run on Q68, go! The QL-SD demo ...
by mk79
Fri Feb 08, 2019 2:09 pm
Forum: Software & Programming
Topic: SMSQ/E
Replies: 3
Views: 1575

Re: SMSQ/E

Marcel, am I right in thinking that there are no fundamental reasons why SMSQ/E could not be ROM-able? Yes. After boot the ROM region is not touched again (AFAIK), the need for altering the data down there comes mostly from the modular structure of the OS. The sms.hdop trap for example is not defin...
by mk79
Thu Feb 07, 2019 11:04 pm
Forum: Software & Programming
Topic: DATA_USE
Replies: 21
Views: 6770

Re: DATA_USE

Surely, this must be considered the normal - and expected - behaviour? In a sane world requesting to open a directory with a sub-name that doesn't exist should return err.fdnf and not the parent directory. I'm not even sure if this behavior was deliberate in the first place or an accident. But this...
by mk79
Thu Feb 07, 2019 2:54 pm
Forum: Software & Programming
Topic: DATA_USE
Replies: 21
Views: 6770

Re: DATA_USE

I was just being lazy. But now youre being pedantic ;) I'm known for being pedantic ;) But in this case I think the distinction is important. If it was a feature of the OS it would either work or not. As it's a driver feature every driver has to implement them separately, so what works for one driv...
by mk79
Thu Feb 07, 2019 9:11 am
Forum: Software & Programming
Topic: DATA_USE
Replies: 21
Views: 6770

Re: DATA_USE

Sadly, on the DOS device, the OS doesnt do the work. The OS never does the work, it's always the responsibility of the driver (and a pretty non-obvious one to boot). But as far as I can see DOS does fine? make_dir 'dos1_temp_xxx' save dos1_temp_xxx_yyy_zzz open_dir#3,dos1_temp_xxx_yyy_zzz print fna...
by mk79
Wed Feb 06, 2019 11:04 pm
Forum: Software & Programming
Topic: DATA_USE
Replies: 21
Views: 6770

Re: DATA_USE

In the sources for Q-Trans, I have a little note that in versions of SMSQ/E prior to v2.99, there was a little funny in that FNAME$ applied to a DOS directory name didn't work - it was me who reported it to Marcel at the time. According to the note, this was QPC2 v3.03 and earlier. Similarly, OPEN_...
by mk79
Wed Feb 06, 2019 11:02 pm
Forum: Software & Programming
Topic: DATA_USE
Replies: 21
Views: 6770

Re: DATA_USE

pjw wrote:My take on it is: Let the OS do the hard work:
That would have been my solution if I had remembered that FNAME$ exists ;)
by mk79
Tue Feb 05, 2019 11:38 pm
Forum: Software & Programming
Topic: DATA_USE
Replies: 21
Views: 6770

Re: DATA_USE

A quick&dirty little sketch of how you can find the parent directory: 100 MAKE_DIR ram1_test 110 MAKE_DIR ram1_test_abc_xyz 120 dir$ = "ram1_test_abc_xyz" 130 : 140 FOR i = LEN(dir$) TO 5 STEP -1 150 IF dir$(i) = "_" THEN 160 IF FTEST(dir$(1 TO i)) = 0 THEN 170 IF FTYP(\dir$(...
by mk79
Tue Feb 05, 2019 11:25 pm
Forum: Software & Programming
Topic: DATA_USE
Replies: 21
Views: 6770

Re: DATA_USE

Andrew wrote:I agree - but as DUP relies on DATAD$, I had to use it - I could not find any other reliable, simple and fast way to find the parent of a directory.
Hmm, I see, but DUP doesn't find the parent directory either, it also just backtracks to the next underscore?