log in | register | forums
Show:
Go:
Forums
Username:

Password:

User accounts
Register new account
Forgot password
Forum stats
List of members
Search the forums

Advanced search
Recent discussions
- R-Comp updates RISC OS Hexen port to v1.08 (News:)
- APDL make their PD catalogue available for free download (News:74)
- WROCC October 2024 meeting - Andy Marks and RISCOSbits (News:)
- WROCC October 2024 talk on wednesday - RISCOSbits (News:)
- September 2024 News Summary (News:2)
- London Show is 4 weeks away (News:)
- ROOL updates DDE to issue 31e (News:4)
- WROCC Newsletter Volume 41:12 reviewed (News:)
- WROCC September 2024 talk on wednesday - Amcog (News:2)
- Rougol September 2024 meeting on monday (News:)
Latest postings RSS Feeds
RSS 2.0 | 1.0 | 0.9
Atom 0.3
Misc RDF | CDF
 
View on Mastodon
@www.iconbar.com@rss-parrot.net
Site Search
 
Article archives
Acorn Arcade forums: Programming: What's at 3600000 on a RISC PC running RO3.7x/4.x?
 
  What's at 3600000 on a RISC PC running RO3.7x/4.x?
  sirbod (20:15 2/1/2014)
  Phlamethrower (21:00 2/1/2014)
    sirbod (00:52 3/1/2014)
      Phlamethrower (08:18 3/1/2014)
        sirbod (09:25 3/1/2014)
          Zarchos (09:32 3/1/2014)
        sirbod (11:38 3/1/2014)
 
Jon Abbott Message #122907, posted by sirbod at 20:15, 2/1/2014
Member
Posts: 563
Whist adding hardware scrolling support to ADFFS, I've noticed writes to 3600000 succeed in SVC. According to PRM5a-41, 3600000-3700000 (54mb) is "Reserved for future expansion", so I'd expect nothing to be there and to see Aborts.

If I use OS_Memory to see what's there, it reports "Address not recognised". Double checking with *DEBUG / *MEMORY 3600000 I can see it's full of FFFFFFFF - it looks like the full 1mb is mapped.

Searching through the RO5 source, it looks like MEMC2 is mapped there - should the PRM say "MEMC2" instead of "Reserved for future expansion"?

If anyone has any documentation on IOMD, I'd dearly love a copy. The only thing I've found is the RPC TRM, which doesn't go into any detail on values, although it does list the registers.
  ^[ Log in to reply ]
 
Jeffrey Lee Message #122908, posted by Phlamethrower at 21:00, 2/1/2014, in reply to message #122907
PhlamethrowerHot Hot Hot Hot Hot Hot Hot Hot Hot Hot Hot Hot Hot stuff

Posts: 15100
Searching through the RO5 source, it looks like MEMC2 is mapped there - should the PRM say "MEMC2" instead of "Reserved for future expansion"?
Not really, since there is no MEMC in IOMD systems (MEMC was superseded by the ARM's builtin MMU, remember)

My guess is that there really is nothing there, and the only reason that you can read/write to it is because (a) the OS maps in all the IO memory in one big block on startup and (b) IOMD doesn't bother faulting invalid IO address ranges (or the range is deliberately configured to return &FFFFFFFF to allow future expansions to be detected by software)

If anyone has any documentation on IOMD, I'd dearly love a copy. The only thing I've found is the RPC TRM, which doesn't go into any detail on values, although it does list the registers.
I don't have an IOMD manual, but the ARM7500 and ARM7500FE datasheets are good substitutes and are widely available on the 'net. They list the entire range &3500000 to &3FFFFFF as being reserved.
  ^[ Log in to reply ]
 
Jon Abbott Message #122909, posted by sirbod at 00:52, 3/1/2014, in reply to message #122908
Member
Posts: 563
I think I need a break - of course there's no MEMC on IOMD!

I'll unmap &3600000-&3700000 and see what happens.

So the OS is actually throwing away 1mb of RAM - that was quite a chunk back in the day with 32mb machines.
  ^[ Log in to reply ]
 
Jeffrey Lee Message #122910, posted by Phlamethrower at 08:18, 3/1/2014, in reply to message #122909
PhlamethrowerHot Hot Hot Hot Hot Hot Hot Hot Hot Hot Hot Hot Hot stuff

Posts: 15100
So the OS is actually throwing away 1mb of RAM - that was quite a chunk back in the day with 32mb machines.
Who says there's any RAM mapped there?
  ^[ Log in to reply ]
 
Jon Abbott Message #122911, posted by sirbod at 09:25, 3/1/2014, in reply to message #122910
Member
Posts: 563
True, I suppose I should investigate first.

I did try GameOn! last night, as it's supposed to support hardware scrolling on the RPC to see what it did. Either. I have an old version, or it wasn't fully developed as it didn't map out the range and suffered DMA overrun with VRAM, where it wasn't accounting for the SAMlength. With DRAM it just hung the machine.
  ^[ Log in to reply ]
 
Xavier Louis Tardy Message #122912, posted by Zarchos at 09:32, 3/1/2014, in reply to message #122911
Member
Posts: 47
Hi.

Strange as with GameOn! I had hardware vertical scrolling (as implemented on a RO 3.11 Archie, directly talking to the MEMC) working on an RPC (with 1 Mbyte VRAM)...
  ^[ Log in to reply ]
 
Jon Abbott Message #122913, posted by sirbod at 11:38, 3/1/2014, in reply to message #122910
Member
Posts: 563
The L1PT entry (at &2C0C0D8) is &03600412, which is a Section. I've mapped it out and all seems okay.

Xavier - I'll eMail you, I think I have an old version.

[Edited by sirbod at 11:44, 3/1/2014]
  ^[ Log in to reply ]
 

Acorn Arcade forums: Programming: What's at 3600000 on a RISC PC running RO3.7x/4.x?