Date : Tue, 30 Dec 2008 08:30:05 -0000 (UTC)
From : info@... (info@sprow.co.uk)
Subject: SRAM command documentation.
> Hi,
>
> Are the acorn sideways ram commands documeneted anywhere apart from
> *help :) I've been trying to figure out how to use srread/srwrite, but
> half the time I'm gettig an "Illegal address" error e.g.
>
> This works :-
> *SRWRITE 7000 7FFF 8000 9
> from.. to.. rom..
>
> This does not :-
> *SRREAD 7000 7FFF 8000 9
> from.. to.. rom..
SRREAD is the opposite of write, so the addresses would need to be the
other way round
*SRREAD 8000 8FFF 7000 9
> Alsom I'm not sure what SRROM and SRDATA do, apart from putting a fake
> rom header in the specified bank.
It does just that, SRDATA sets aside the SRAM for you to use in pseudo
addressing mode (see OSWord &42). The fake header just stops anything
overwriting it because the SRAM has a valid header. SRROM reverses it.
It's all described in detail in the Master Reference Manual,
Sprow.