Re: [Ql-Users] SBASIC extras

2007-08-14 Thread George Gwilt

On 11 Aug 2007, at 13:57, Dilwyn Jones wrote:


 PAR_WAIT  (presumably something to do with parallel port)


This is part of SMSQ/E but its definition is not in my QPC2 manual.  
The code seems to set a pause for a period of time. Perhaps the  
author knows what  for?

George
___
QL-Users Mailing List
http://www.q-v-d.demon.co.uk/smsqe.htm


Re: [Ql-Users] SBASIC extras

2007-08-14 Thread Marcel Kilgus
George Gwilt wrote:
 PAR_WAIT  (presumably something to do with parallel port)

 This is part of SMSQ/E but its definition is not in my QPC2 manual.  
 The code seems to set a pause for a period of time. Perhaps the  
 author knows what  for?

That would be Tony.

According to the QDOS Classic docs:

-=-=-=
PAR_WAIT (port, wait cycles) sets the length of time that the parallel
port drive will wait for the printer to be ready before it gives up
and lets the Q40 do something else. This has no effect in FIFO mode,
but in original PC mode it allows the buffer in the printer to be
stuffed in bursts. The default value is 0. The larger the value, the
higher the probability that a more than one byte of data can be sent
on each interrupt, but the higher the load on the machine.

If the IO card does not provide IRQ7 and the machine is busy,
PAR_PULSE with have a much greater effect than if IRQ7 is used and/or
the machine is idle.

PAR_WAIT 2,20give the printer on PAR2 a high priority.
PAR_WAIT 0   . . . set PAR 1 use the minimum of processor time.

For an Epson Stylus COLOR Pro printer, PAR_PAUSE 10 and PAR_PAUSE 50
improved the transfer speed by 30% on an idle machine: the rate was
primarily determined by the printer. On a busy machine with no
interrupts, PAR_PAUSE 10 improved the transfer speed by a factor of 3
and PAR_PAUSE 50 improved the transfer speed by a factor of 5. The
speed of other tasks in the machine was reduced. Q40 Hard Disks
-=-=-=

As far as I can see it does not have any effect in the latest SMSQ/E
versions at all.

Marcel

___
QL-Users Mailing List
http://www.q-v-d.demon.co.uk/smsqe.htm


Re: [Ql-Users] SBASIC extras

2007-08-13 Thread Dilwyn Jones
  Looking at a list of SBASIC extensions created with an EXTRAS
  command,
  there are 3 extensions I noticed that I don't know what they do. 
  Not
  in my (admittedly old) manual. Anyone know?
 
  CHK_HEAP  (Some form of heap check suggested by the name)
 
  HOME_CSET (presumably something to do with Home Thing)
 
  PAR_WAIT  (presumably something to do with parallel port)

 HOME_CSET [job_ID], directory$

 Part of SMSQ/E, documented in extras_new_home_info_txt in the 
 SMSQ/E
 source files:

 Set the current directory for the job. The directory must the a 
 valid
 directory.


 CHK_HEAP

 Part of SMSQ/E, documented in QPC_Keywords and possibly elsewhere:

 This enables debugging routines in the SBASIC core for SBASIC
 development and should not be used by any users.
Thank you.
-- 
Dilwyn Jones

___
QL-Users Mailing List
http://www.q-v-d.demon.co.uk/smsqe.htm


[Ql-Users] SBASIC extras

2007-08-11 Thread Dilwyn Jones
Looking at a list of SBASIC extensions created with an EXTRAS command, 
there are 3 extensions I noticed that I don't know what they do. Not 
in my (admittedly old) manual. Anyone know?

CHK_HEAP  (Some form of heap check suggested by the name)

HOME_CSET (presumably something to do with Home Thing)

PAR_WAIT  (presumably something to do with parallel port)

-- 
Dilwyn Jones

___
QL-Users Mailing List
http://www.q-v-d.demon.co.uk/smsqe.htm


Re: [Ql-Users] SBASIC extras

2007-08-11 Thread P Witte

Dilwyn Jones writes:

  Looking at a list of SBASIC extensions created with an EXTRAS
  command,
  there are 3 extensions I noticed that I don't know what they do. Not
  in my (admittedly old) manual. Anyone know?
 
  CHK_HEAP  (Some form of heap check suggested by the name)
 
  HOME_CSET (presumably something to do with Home Thing)
 
  PAR_WAIT  (presumably something to do with parallel port)

HOME_CSET [job_ID], directory$

Part of SMSQ/E, documented in extras_new_home_info_txt in the SMSQ/E 
source files:

Set the current directory for the job. The directory must the a valid 
directory.


CHK_HEAP

Part of SMSQ/E, documented in QPC_Keywords and possibly elsewhere:

This enables debugging routines in the SBASIC core for SBASIC 
development and should not be used by any users.


Per
___
QL-Users Mailing List
http://www.q-v-d.demon.co.uk/smsqe.htm