Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]


Groups > comp.sys.acorn.programmer > #1547

Re: Reading the Hz of a numbered MODE

Date 2012-03-29 12:03 +0100
From cferris@freeRemoveuk.com.invalid
Newsgroups comp.sys.acorn.programmer
Subject Re: Reading the Hz of a numbered MODE
Message-ID <f4f9027852.cferris@cferris.freeuk.com> (permalink)
References <3d0d206952.cferris@cferris.freeuk.com> <41ace17c-4b59-45ec-86c1-8a7f6a2ff7ee@i2g2000vbv.googlegroups.com> <gledl75kri7d5m4vk6dgia1acam75rs6b4@4ax.com>
Organization Home

Show all headers | View raw


In message <gledl75kri7d5m4vk6dgia1acam75rs6b4@4ax.com>
          John Kortink <kortink@inter.nl.net> wrote:

> 
> On Tue, 6 Mar 2012 13:46:59 -0800 (PST), Christopher Bazley
> <cs99cjb@gmail.com> wrote:
> 
> >On Feb 29, 1:17 pm, cfer...@freeRemoveuk.com.invalid wrote:
> >> Is there a way of reading the Hz of a Numbered MODE in RISC 0S?
> >>
> >> ie from when in another MODE.
> >
> >As that information doesn't seem to be available via SWI
> >OS_ReadModeVariable, I suspect the answer is 'no'.
> 
> It should be possible to use OS_ServiceCall &50 to look
> up the VIDC list for the numbered mode.

How would you go about doing this :-
Should this below give you R3 pointer to VIDC list and R4 pointer to
workspace list?

MODE =15 -1 any monitor type.
***
SYS "OS_ServiceCall" ,, &50,15,-1 TO R0,R1,R2,R3,R4
PRINT R0 R1 R2 R3  R4
****

Thanks
-- 
Colin Ferris Cornwall UK

Back to comp.sys.acorn.programmer | Previous | NextPrevious in thread | Next in thread | Find similar | Unroll thread


Thread

Reading the Hz of a numbered MODE cferris@freeRemoveuk.com.invalid - 2012-02-29 13:17 +0000
  Re: Reading the Hz of a numbered MODE Christopher Bazley <cs99cjb@gmail.com> - 2012-03-06 13:46 -0800
    Re: Reading the Hz of a numbered MODE John Kortink <kortink@inter.nl.net> - 2012-03-07 02:47 +0100
      Re: Reading the Hz of a numbered MODE druck <news@druck.org.uk> - 2012-03-07 09:56 +0000
      Re: Reading the Hz of a numbered MODE cferris@freeRemoveuk.com.invalid - 2012-03-29 12:03 +0100
        Re: Reading the Hz of a numbered MODE John Kortink <kortink@inter.nl.net> - 2012-03-29 20:46 +0200

csiph-web