Discussion:
FastTickerV rate
(too old to reply)
David Higton
2018-12-16 20:34:57 UTC
Permalink
FastTickerV is aa RISC OS Ltd invention that hasn't (yet?) found its
way into RO5.

Does anyone know how many ticks per second it generates?

Alternatively, is anyone running RO6 and is prepared to run this
BASIC prog, which should tell us the rate?

--------
ON ERROR PRINT REPORT$ + " at line " + STR$(ERL): END

SYS "OS_ReadSysInfo", 6, 0, 22 TO,, speed%
PRINT "Number of ticks per second: " + STR$(speed%)
--------

FastTickerV is being discussed in the ROOL "Code Review" forum, in the
context of getting a USB MIDI module with better timing.

Thanks in advance for any help!

Dave
Peter Young
2018-12-16 21:23:40 UTC
Permalink
Post by David Higton
FastTickerV is aa RISC OS Ltd invention that hasn't (yet?) found its
way into RO5.
Does anyone know how many ticks per second it generates?
Alternatively, is anyone running RO6 and is prepared to run this
BASIC prog, which should tell us the rate?
--------
ON ERROR PRINT REPORT$ + " at line " + STR$(ERL): END
SYS "OS_ReadSysInfo", 6, 0, 22 TO,, speed%
PRINT "Number of ticks per second: " + STR$(speed%)
--------
FastTickerV is being discussed in the ROOL "Code Review" forum, in the
context of getting a USB MIDI module with better timing.
Thanks in advance for any help!
FWIW in RISC OS 5.25 it responds -83935232, no matter that I have no idea
what this all means!

Best wishes,

Peter.
--
Peter Young and family
Prestbury, Cheltenham, Glos. GL52, England
http://pnyoung.orpheusweb.co.uk
***@ormail.co.uk
David Higton
2018-12-16 21:32:37 UTC
Permalink
Post by Peter Young
Post by David Higton
FastTickerV is aa RISC OS Ltd invention that hasn't (yet?) found its
way into RO5.
Does anyone know how many ticks per second it generates?
Alternatively, is anyone running RO6 and is prepared to run this
BASIC prog, which should tell us the rate?
--------
ON ERROR PRINT REPORT$ + " at line " + STR$(ERL): END
SYS "OS_ReadSysInfo", 6, 0, 22 TO,, speed%
PRINT "Number of ticks per second: " + STR$(speed%)
--------
FastTickerV is being discussed in the ROOL "Code Review" forum, in the
context of getting a USB MIDI module with better timing.
Thanks in advance for any help!
FWIW in RISC OS 5.25 it responds -83935232, no matter that I have no idea
what this all means!
It means that FastTickerV is not implemented in RISC OS 5.

You're probably aware of the centisecond timer, and the centisecond
ticker that drives it. Without going into detail, RISC OS 6 (and
possibly 4, I don't know) implemented a faster ticker. I think it
will find its way into RO5, sooner rather than later, but we don't
know how fast ROL's version runs - or if there is any way to set
its speed, enable/disable it, etc.

Dave
Martin
2018-12-17 00:12:52 UTC
Permalink
Post by David Higton
Post by Peter Young
Post by David Higton
FastTickerV is aa RISC OS Ltd invention that hasn't (yet?) found
its way into RO5.
Does anyone know how many ticks per second it generates?
Alternatively, is anyone running RO6 and is prepared to run this
BASIC prog, which should tell us the rate?
--------
ON ERROR PRINT REPORT$ + " at line " + STR$(ERL): END
SYS "OS_ReadSysInfo", 6, 0, 22 TO,, speed%
PRINT "Number of ticks per second: " + STR$(speed%)
--------
FastTickerV is being discussed in the ROOL "Code Review" forum,
in the context of getting a USB MIDI module with better timing.
Thanks in advance for any help!
FWIW in RISC OS 5.25 it responds -83935232, no matter that I have
no idea what this all means!
It means that FastTickerV is not implemented in RISC OS 5.
You're probably aware of the centisecond timer, and the centisecond
ticker that drives it. Without going into detail, RISC OS 6 (and
possibly 4, I don't know) implemented a faster ticker. I think it
will find its way into RO5, sooner rather than later, but we don't
know how fast ROL's version runs - or if there is any way to set
its speed, enable/disable it, etc.
Seems to return zero on 4.39 ... on VRPC if that has any effect!
--
Martin Avison
Note that unfortunately this email address will become invalid
without notice if (when) any spam is received.
David Pitt
2018-12-17 07:14:56 UTC
Permalink
Post by Martin
Post by David Higton
FastTickerV is aa RISC OS Ltd invention that hasn't (yet?) found its
way into RO5.
Does anyone know how many ticks per second it generates?
Alternatively, is anyone running RO6 and is prepared to run this
BASIC prog, which should tell us the rate?
-------- ON ERROR PRINT REPORT$ + " at line " + STR$(ERL): END
SYS "OS_ReadSysInfo", 6, 0, 22 TO,, speed% PRINT "Number of ticks
per second: " + STR$(speed%) --------
[snip]
Post by Martin
Seems to return zero on 4.39 ... on VRPC if that has any effect!
It also returns zero on OS6.20 RPCEmu.

Is real hardware required for this test?
--
David Pitt
CJE/4D Sales
2018-12-17 13:48:58 UTC
Permalink
Post by David Pitt
Post by Martin
Post by David Higton
FastTickerV is aa RISC OS Ltd invention that hasn't (yet?) found its
way into RO5.
Does anyone know how many ticks per second it generates?
Alternatively, is anyone running RO6 and is prepared to run this
BASIC prog, which should tell us the rate?
-------- ON ERROR PRINT REPORT$ + " at line " + STR$(ERL): END
SYS "OS_ReadSysInfo", 6, 0, 22 TO,, speed% PRINT "Number of ticks
per second: " + STR$(speed%) --------
[snip]
Post by Martin
Seems to return zero on 4.39 ... on VRPC if that has any effect!
It also returns zero on OS6.20 RPCEmu.
Is real hardware required for this test?
It returns zero on a RiscPC running 6.20 here.

Andrew
--
****** IGEPv5: The fastest RISC OS computer so far! *******
------------ http://www.cjemicros.co.uk/igepv5 ------------
CJE Micro's 'Raspberry Pi & RISC OS Specialists'
Tel: +44 1903 523222 Fax: +44 1903 213901
***@cjemicros.co.uk http://www.cjemicros.co.uk/
Snail mail: 78 Brighton Road, Worthing, BN11 2EN, England.
David Higton
2018-12-17 21:05:33 UTC
Permalink
Post by CJE/4D Sales
Post by David Higton
FastTickerV is aa RISC OS Ltd invention that hasn't (yet?) found its
way into RO5.
Does anyone know how many ticks per second it generates?
Alternatively, is anyone running RO6 and is prepared to run this
BASIC prog, which should tell us the rate?
-------- ON ERROR PRINT REPORT$ + " at line " + STR$(ERL): END
SYS "OS_ReadSysInfo", 6, 0, 22 TO,, speed%
�> > PRINT "Number of ticks per second: " + STR$(speed%)
�> > --------
[snip]
Post by CJE/4D Sales
It returns zero on a RiscPC running 6.20 here.
Thanks, Andrew. If anything were going to give a non-zero result,
that was it.

FastTickerV is completely new to me. I understand that it's an ROL
invention; it is not implemented in RO5. (Maybe it will be one day,
but not now.) I'm trying to find out enough basic information about
it to know what we would have to copy.

Maybe there has to be a claimant, otherwise it's disabled?

Is it documented anywhere?

Dave

PS The above call should return the FastTickerV rate in RO6, but the
same call in RO5 returns the address of the sound workspace. It
looks like compatibility will have some issues.

David Higton
2018-12-17 20:55:59 UTC
Permalink
Post by David Pitt
Post by Martin
Post by David Higton
FastTickerV is aa RISC OS Ltd invention that hasn't (yet?) found its
way into RO5.
Does anyone know how many ticks per second it generates?
Alternatively, is anyone running RO6 and is prepared to run this
BASIC prog, which should tell us the rate?
-------- ON ERROR PRINT REPORT$ + " at line " + STR$(ERL): END
SYS "OS_ReadSysInfo", 6, 0, 22 TO,, speed% PRINT "Number of ticks
per second: " + STR$(speed%) --------
[snip]
Post by Martin
Seems to return zero on 4.39 ... on VRPC if that has any effect!
It also returns zero on OS6.20 RPCEmu.
Is real hardware required for this test?
Dunno, sorry. I wish I did.

Dave
Loading...