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


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

Re: Code or SWI to read word of logical memory?

From "neil f" <news@anf.nildram.co.uk>
Newsgroups comp.sys.acorn.programmer
Subject Re: Code or SWI to read word of logical memory?
Date 2011-05-28 22:36 +0100
Organization Aioe.org NNTP Server
Message-ID <irrpsg$mp9$1@speranza.aioe.org> (permalink)
References (1 earlier) <8Oh*fa+Dt@news.chiark.greenend.org.uk> <iro5et$3t2$1@speranza.aioe.org> <iro6gm$6s0$1@speranza.aioe.org> <iro9d1$eio$1@speranza.aioe.org> <f1df50da51.tank@tankstage.co.uk>

Show all headers | View raw


"Tank" <webmaster@tankstage.co.uk> wrote in message 
news:f1df50da51.tank@tankstage.co.uk...
> In message <iro9d1$eio$1@speranza.aioe.org>
>          "neil f" <news@anf.nildram.co.uk> wrote:
>
>
>
>> Peter van der Vos kindly wrote and posted a very simple memory access 
>> module
>> in response to my request for GPIO access routines on the ROOL forum.
>> Unfortunately that module doesn't allow wide-ranging access of the kind I
>> need now, so I thought I'd try to write something simple myself.
>
>> Now all I need to do is work out what to put between those two SWIs :-)
>
> Neil,
> Is there a specific set of registers you need to access ?
> The hybrid Peter/Tank module lets you access all the control registers
> in the physical range 0x48002030-0x48002264 and 0x480025A0-0x480025A0
> and if the IO pin you need to access doesn't have a GPIO in mode 4, I
> can add them to the "safe" range for you. I have added all the pins
> that go to the Expansion and the Auxiliary connectors, so the pin you
> are trying to access will have no "exit" from the board, unless you
> wish to use the LCD connector outputs as well!!
> Tank

Hi Tank. It would be good to be able to experiment with the level, edge and 
debounce registers, for example.

And the GPIO lines on the LCD ports are probably of more interest to 
computer control enthusiasts than the Aux interface. Between them the two 
LCD interfaces offer enough lines for a couple of clean 8-bit I/O ports, 
with little likelihood of contention with other signals. And if you're going 
to go to the trouble of dealing with those micro-sized aux socket pins, you 
might as well wrestle with the LCD pins instead and get twice the outputs 
for your effort.

Actually, in my case I'll probably wrestle with them all as I fancy seeing 
eight separate 8-bit I/O ports all running gadgets at once!

So would I like you to include the LCD registers - the answer is yes please 
;-)

BTW, on reading through the GPIO module source I notice that the Expansion 
pin table (table 1) is missing GPIO 157. Don't know whether that's important 
or not, but GPIO 157 is available on pin 22 of the main expansion connector. 

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


Thread

Code or SWI to read word of logical memory? "neil f" <news@anf.nildram.co.uk> - 2011-05-27 09:34 +0100
  Re: Code or SWI to read word of logical memory? Theo Markettos <theom+news@chiark.greenend.org.uk> - 2011-05-27 11:42 +0100
    Re: Code or SWI to read word of logical memory? "neil f" <news@anf.nildram.co.uk> - 2011-05-27 13:29 +0100
      Re: Code or SWI to read word of logical memory? "neil f" <news@anf.nildram.co.uk> - 2011-05-27 13:47 +0100
        Re: Code or SWI to read word of logical memory? "neil f" <news@anf.nildram.co.uk> - 2011-05-27 14:36 +0100
          Re: Code or SWI to read word of logical memory? Theo Markettos <theom+news@chiark.greenend.org.uk> - 2011-05-28 00:20 +0100
            Re: Code or SWI to read word of logical memory? "neil f" <news@anf.nildram.co.uk> - 2011-05-29 21:31 +0100
              Re: Code or SWI to read word of logical memory? Theo Markettos <theom+news@chiark.greenend.org.uk> - 2011-05-29 23:40 +0100
            Re: Code or SWI to read word of logical memory? Jeremy Nicoll - news posts <jn.nntp.scrap007@wingsandbeaks.org.uk> - 2011-06-01 02:07 +0100
              Re: Code or SWI to read word of logical memory? Rick Murray <heyrickmail-usenet@yahoo.co.uk> - 2011-06-01 04:24 +0200
          Re: Code or SWI to read word of logical memory? Tank <webmaster@tankstage.co.uk> - 2011-05-28 06:54 +0100
            Re: Code or SWI to read word of logical memory? "neil f" <news@anf.nildram.co.uk> - 2011-05-28 22:36 +0100
              Re: Code or SWI to read word of logical memory? Tank <webmaster@tankstage.co.uk> - 2011-05-29 08:38 +0100

csiph-web