I have an SMSQ/e question based around QemuLator and it maybe relevant to QPC2 and SMSQemulator too but I haven't got around to checking that yet.
So in QemuLator I set the video card emulation to Q60 and load in the SMSQ code with
Code: Select all
LRESPR win1_turbo_sms_code
Memory is set to 8 Meg
I then set up screens with the following procedure
Code: Select all
290 DEFine PROCedure D
300 DISP_COLOUR 3, 1024, 768
310 WINDOW#0,1024,65,0,702:CSIZE#0,1,1:BORDER#0,1,7
320 WINDOW#1,1024,700,0,0 :CSIZE#1,1,1:BORDER#1,1,6
330 WINDOW#2,1024,700,0,0 :CSIZE#2,1,1
340 END DEFine
For resetting back to normalish views I use this
Code: Select all
420 DEFine PROCedure R
430 DISP_COLOUR 0,512,256
440 MODE 4
450 WTV
460 END DEFine
However now when I call the 'D' procedure again I get an error on line 310 stating "Value out of range" and in order to eliminate the error, the values for the window have to be within the original QL specifications of 512,256,0,0. This is despite the values coming back from SCR_XLIM and SCR_YLIM of 1024 and 768 respectfully. So what gives?
I've just tried the D routine in QPC2 and get the same error, am I missing something simple?
Lee