Search found 329 matches

by janbredenbeek
Mon Jul 15, 2019 4:03 pm
Forum: Hardware
Topic: Switch off Pointer Toolkit
Replies: 11
Views: 1070

Re: Switch off Pointer Toolkit

One notable issue with JM ROMs is that when you load a BOOT program which loads extension commands, you cannot use these commands in the same program until you do a NEW or LRUN. One way to avoid this is to load only the extensions first (LRESPR) and then from there LRUN a second boot file which cont...
by janbredenbeek
Fri Jul 12, 2019 2:44 pm
Forum: Software & Programming
Topic: SCREEN1 = SYSVAR @ JSROM
Replies: 83
Views: 5540

Re: SCREEN1 = SYSVAR @ JSROM

Does the very same POKE, just hidden in a BASIC extension. And less flexible. It only allows for square-shaped pixels or the standard 512x256 on a 3:2 screen. What if you have a Q68 with 1024x768 on a 16:9 monitor? (the value to POKE can be calculated by dividing (Xresolution/Yresolution) by the wi...
by janbredenbeek
Thu Jul 11, 2019 9:37 am
Forum: Software & Programming
Topic: SCREEN1 = SYSVAR @ JSROM
Replies: 83
Views: 5540

Re: SCREEN1 = SYSVAR @ JSROM

POKE_F !196!330,1 (and also POKE_F !$c4!$14a,1) gives ERR.BP in QPC2. That's interesting. Which version are you using? (the aspect ratio POKE is only supported from SMSQ/E 3.00 onwards, and not in QDOS/Minerva anyway). It does work in SMSQmulator too (even with no extensions from BOOT file loaded)....
by janbredenbeek
Wed Jul 10, 2019 9:31 pm
Forum: Software & Programming
Topic: SCREEN1 = SYSVAR @ JSROM
Replies: 83
Views: 5540

Re: SCREEN1 = SYSVAR @ JSROM

SMSQ/E has a system variable in which you can set the aspect ratio so you will get perfect circles again. And how do you start this? It's a float PT_ASPRT at offset $14a in the CON linkage block pointed to by the system variable SYS_CLNK at $280c4. So you can read it out using PEEK_F(!$c4!$14a) and...
by janbredenbeek
Wed Jul 10, 2019 4:11 pm
Forum: Software & Programming
Topic: SCREEN1 = SYSVAR @ JSROM
Replies: 83
Views: 5540

Re: SCREEN1 = SYSVAR @ JSROM

Also bear in mind that the pixels of the original QL screen are not square-shaped. The original QL screen was made for a 4:3 television screen (the actual aspect ratio was about 3:2, which caused the horizontal overscan on TVs). However, the X/Y pixel ratio in MODE 4 is 2:1 (indeed, QDOS also assume...
by janbredenbeek
Tue Jun 25, 2019 1:41 pm
Forum: Compatibles Corner
Topic: Q68 serial buffers
Replies: 13
Views: 933

Re: Q68 serial buffers

I tried SER_BUFF 1,80,80, SER_BUFF 80,80 and SER_BUFF 80. But I just discovered that all SER_xxxx commands give a 'not found' error. Looks like they cannot find the driver's linkage block somehow. Found the bug. All the SER_* commands set the parameters through a Thing called 'ser_par_prt'. However...
by janbredenbeek
Mon Jun 24, 2019 12:17 pm
Forum: Compatibles Corner
Topic: Q68 serial buffers
Replies: 13
Views: 933

Re: Q68 serial buffers

It's important to distinguish mass storage driver issues and SER. The SMSQ/E mass storage driver can get painfully slow during write, and blocks everything else. This affects ethernet as well - software buffers can't help reliably because no interrupts are handled meanwhile. Trying with Ramdisk ins...
by janbredenbeek
Sat Jun 22, 2019 10:14 pm
Forum: Compatibles Corner
Topic: Q68 serial buffers
Replies: 13
Views: 933

Re: Q68 serial buffers

what is the exact SER_BUFF command you are using? As the Q68 has only one single port it might or might not be needed to specify the port number (which is different to most other SMSQ/E platforms) I tried SER_BUFF 1,80,80, SER_BUFF 80,80 and SER_BUFF 80. But I just discovered that all SER_xxxx comm...
by janbredenbeek
Sat Jun 22, 2019 8:40 pm
Forum: Compatibles Corner
Topic: Q68 serial buffers
Replies: 13
Views: 933

Re: Q68 serial buffers

Message sent to the QL-Users list. Of course I could find out by delving into SMSQ/E's source code. But the SER_BUFF command probably needs fixing. Meanwhile, I'll look at Minerva to see if a backport is possible. This will require a modification to its int2 handler since the Q68 treats the external...
by janbredenbeek
Thu Jun 20, 2019 11:21 pm
Forum: Compatibles Corner
Topic: Q68 serial buffers
Replies: 13
Views: 933

Q68 serial buffers

I've been doing some tests with the Q68's serial port. It's well known that it doesn't support flow control. So this means that if you receive data at, say, 38400 bps or higher, you need a buffer large enough to hold all the incoming data to give the Q68 a chance to digest it (for example to write a...