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


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

Re: DEVICEFS Serial Driver RPC examples

Date 2011-09-18 22:42 +0100
From cferris@freeRemoveuk.com.invalid
Newsgroups comp.sys.acorn.programmer
Subject Re: DEVICEFS Serial Driver RPC examples
Message-ID <832cd91452.cferris@cferris.freeuk.com> (permalink)
References (1 earlier) <265b6a1452.beeb@ron1954.woosh.co.nz> <j545kg$vk3$1@dont-email.me> <516fb31452.beeb@ron1954.woosh.co.nz> <2e14be1452.cferris@cferris.freeuk.com> <7af3d21452.beeb@ron1954.woosh.co.nz>
Organization Home

Show all headers | View raw


In message <7af3d21452.beeb@ron1954.woosh.co.nz>
          Ron <beeb@woosh.co.nz> wrote:

> In message <2e14be1452.cferris@cferris.freeuk.com>
>           cferris@freeRemoveuk.com.invalid wrote:
> 
> > In message <516fb31452.beeb@ron1954.woosh.co.nz>
> >           Ron <beeb@woosh.co.nz> wrote:
> > 
> > > In message <j545kg$vk3$1@dont-email.me>
> > >           druck <news@druck.org.uk> wrote:
> > > 
> > > > On 18/09/2011 02:32, Ron wrote:
> > > > > I got a Syntax error on my Iyonix.
> > > > > Changing this definition
> > > > >
> > [snip]
> > 
> > > 
> > > The Iyonix and internal32 doesn't initialise with 'Example' 
> > > It may be that the internal32 driver was written at a later date and
> > > by a different person.
> > >
> > 
> > Perhaps you would like to have go with this code copied off ROOL.
> >   
> > *******
> <snip>
> 
> Yes, I tried this out when it was posted on CSAProgramming.
> Between rpc and the iyonix it was a bit flakey and only worked in
> one direction.
> I removed !SerialDev from Resources and the code does not complain,
> so this code does not use the block drivers.

That is correct - the !SerialDev is not used.

>  I have used the following code with my Python serial Midifile player
> successfully on my Iyonix.
> 
> Output Path :" "Devices#sleep;baud=38400;data=8;stop=1;noparity;
> nohandshake:$.Serial1" "

Where does the info about using 'Devices#sleep;' etc come from?
Some info about 'DeviceFS' is in the RO 3.1 manuals

Windows BBC BASIC seems to use this.
port% = OPENUP "COM1: baud=9600 parity=N data=8 stop=1"

> 
> I believe there are differences between the two Iyonix serial ports
> and from memory, the above only works with Serial1 (port2).

Considering that the 'RPC' uses 'Serial' then I presume that the
'Iyonix' uses 'Serial0' and 'Serial1' for ports 0 & 1.

> 
> The Iyonix uses an HAL layer, I notice the R05 release of !SerialDev
> has an extra module called BlkDrv by Paul Reuver.


It looks like the 'module' is used to drive the 2nd serial port with
the help of a serial block driver.
   
Thanks
-- 
Colin Ferris Cornwall UK

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


Thread

DEVICEFS Serial Driver RPC examples cferris@freeRemoveuk.com.invalid - 2011-09-17 11:39 +0100
  Re: DEVICEFS Serial Driver RPC examples Ron <beeb@woosh.co.nz> - 2011-09-18 13:32 +1200
    Re: DEVICEFS Serial Driver RPC examples druck <news@druck.org.uk> - 2011-09-18 08:12 +0100
      Re: DEVICEFS Serial Driver RPC examples cferris@freeRemoveuk.com.invalid - 2011-09-18 09:34 +0100
      Re: DEVICEFS Serial Driver RPC examples Ron <beeb@woosh.co.nz> - 2011-09-19 02:50 +1200
        Re: DEVICEFS Serial Driver RPC examples cferris@freeRemoveuk.com.invalid - 2011-09-18 17:46 +0100
          Re: DEVICEFS Serial Driver RPC examples Ron <beeb@woosh.co.nz> - 2011-09-19 08:34 +1200
            Re: DEVICEFS Serial Driver RPC examples Ron <beeb@woosh.co.nz> - 2011-09-19 09:08 +1200
              Re: DEVICEFS Serial Driver RPC examples "John Williams (News)" <UCEbin@tiscali.co.uk> - 2011-09-18 23:15 +0200
                Re: DEVICEFS Serial Driver RPC examples Ron <beeb@woosh.co.nz> - 2011-09-21 14:14 +1200
            Re: DEVICEFS Serial Driver RPC examples cferris@freeRemoveuk.com.invalid - 2011-09-18 22:42 +0100
              Re: DEVICEFS Serial Driver RPC examples Ron <beeb@woosh.co.nz> - 2011-09-19 10:57 +1200
              Re: DEVICEFS Serial Driver RPC examples Rick Murray <heyrickmail-usenet@yahoo.co.uk> - 2011-09-19 18:37 +0200
                Re: DEVICEFS Serial Driver RPC examples Thomas Milius <Thomas-Milius@t-online.de> - 2011-09-20 19:49 +0200
                Re: DEVICEFS Serial Driver RPC examples Ron <beeb@woosh.co.nz> - 2011-09-21 11:34 +1200
                Re: DEVICEFS Serial Driver RPC examples Thomas Milius <Thomas-Milius@t-online.de> - 2011-09-23 20:55 +0200
                Re: DEVICEFS Serial Driver RPC examples Ron <beeb@woosh.co.nz> - 2011-09-24 19:16 +1200

csiph-web