Search found 660 matches

by pjw
Sun May 31, 2020 12:46 pm
Forum: Help for New Users
Topic: What QL emulator do you recommend?
Replies: 13
Views: 1954

Re: What QL emulator do you recommend?

what I am missing, is a solution to start a SBASIC program from Assembler (or C68). Or is this possible, if it must NOT run in Job 0,0 (but may start a new MultiBASIC job)? SBASIC is implemented as a Thing, so to start it you need to TH_EX it. This is not all that simple to explain. Perhaps someone...
by pjw
Sun May 31, 2020 12:42 pm
Forum: Software & Programming
Topic: ZXSimulator
Replies: 120
Views: 6438

Re: ZXSimulator

(whats a good way to get file size via TRAPS?) Read the file header into a buffer with trap #3, d0 = $47. You only need to load the first 14 bytes (16 for DDL2). If you use the SuperBASIC buffer then precede the trap #3 with a trap #4 to make it a6 relative. The file length is the first item in the...
by pjw
Wed May 27, 2020 10:03 am
Forum: Software & Programming
Topic: Quick q for Jan re: Hardback
Replies: 20
Views: 446

Re: Quick q for Jan re: Hardback

by pjw
Wed May 27, 2020 10:01 am
Forum: Software & Programming
Topic: Quick q for Jan re: Hardback
Replies: 20
Views: 446

Re: Quick q for Jan re: Hardback

I havent used any of the backup programs out there for real as, typically for us QLers, Ive gone and re-invented the wheel myself and have my own private solution. However, of those Ive tested, I found a very good one in Wolfgang Lenerz' Backup. Its modern (directories and stuff are a non-issue), ea...
by pjw
Sun May 24, 2020 5:40 pm
Forum: Software & Programming
Topic: QD SBASIC Parser Thing
Replies: 41
Views: 3918

Re: QD SBASIC Parser Thing

<> Pity there was not Labels in SBASIC, so that the DATA lines could be referenced by Label rather than number. Well, theres always this: RANDOMISE DATE RESTORE READ dummy READ LABel1 READ LABel2 READ LABel3 : DATA 0: REMark Dummy PRINT 'LABel1 is at line no.'! LABel1 PRINT 'LABel2 is at line no.'!...
by pjw
Sun May 24, 2020 5:18 pm
Forum: Software & Programming
Topic: QD SBASIC Parser Thing
Replies: 41
Views: 3918

Re: QD SBASIC Parser Thing

<> The QD manual does not explain anything but there is a small chapter in the SMSQ/E manual: "The SBASIC Interface Thing" (page 33). A word of warning when using this with DATA lines. A "RESTORE linenumber" does not work and will restore to the beginning. Then this shouldnt wor...
by pjw
Sun May 24, 2020 11:48 am
Forum: Software & Programming
Topic: QD SBASIC Parser Thing
Replies: 41
Views: 3918

Re: QD SBASIC Parser Thing

Hi Derek, I often write short, line number-less, windowless utilities to be run entirely under SBAS/QD: Execute the source file into a QD via Qpac2 Files, adjust a parameter or two, press F10. A satisfying beep or nasty burp signals success or failure - an' Bob's yer mum's live-in lover! Window-less...
by pjw
Sun May 24, 2020 1:10 am
Forum: Software & Programming
Topic: QD SBASIC Parser Thing
Replies: 41
Views: 3918

Re: QD SBASIC Parser Thing

The SBAS/QD Thing doesnt open any windows, nor is there a need to open any windows unless your program needs them. The most likely reason you get the miniature SBASIC window is that something in your program implicitly addresses channel #0 or #1. It may not be obvious, but things like SCR_XLIM and P...
by pjw
Sun May 17, 2020 8:31 pm
Forum: Software & Programming
Topic: QLiberator v3.40
Replies: 1
Views: 162

Re: QLiberator v3.40

Hi EmmBee, Great work! I havent tested it in anger yet, but a quick twirl on some formerly cantankerous programs didnt show up any problems :) BTW, in case I didnt say: There is a patch for long job names. That is to say, you can patch individual programs after they have been compiled to add an extr...
by pjw
Tue May 12, 2020 12:03 pm
Forum: Software & Programming
Topic: ZXSimulator
Replies: 120
Views: 6438

Re: ZXSimulator

The problem was something else, relating to my unfamiliarity with ZXS syntax. I tried it again and it works as advertised. :)