Newsgroups: comp.sys.sinclair
Path: ulke.hiMolde.no!trane.uninett.no!nac.no!ifi.uio.no!sics.se!eua.ericsson.se!cnn.exu.ericsson.se!convex!cs.utexas.edu!howland.reston.ans.net!pipex!uknet!comlab.ox.ac.uk!imc
From: imc@comlab.ox.ac.uk (Ian Collier)
Subject: Re: 48K Basic- 128K memory
Message-ID: <5990.imc@uk.ac.ox.prg>
X-Local-Date: Wednesday, 1st February 1995 at 5:20pm GMT
Originator: imc@msc3.comlab
Organization: Oxford University Computing Laboratory
References: <3gb3b0$2bc@athena.compulink.forthnet.gr> <1995Feb1.125122.18103@inca.comlab.ox.ac.uk>
Date: Wed, 1 Feb 1995 17:30:19 GMT
Lines: 21

In article <1995Feb1.125122.18103@inca.comlab.ox.ac.uk>, elliott%teaching.physics@ox.ac.uk (John Elliott) wrote:
>  A pedant writes: The 48 BASIC ROM is called ROM 1 on the 128 & the +2, and
>ROM 3 on the +2a and +3.
>  It's also advisable not to let +3/+2a interrupt code run while you are 
>paging the memory, since the interrupt code will probably page it back.

Another pedant writes: if you are in 128K mode on the +3, then the interrupt
routine will save the values of (23388) and (23399) and put them back
when it has finished (except perhaps for the disk motor flag).  If you
save your paging values in those locations (as suggested in the manual)
then the memory layout will not be changed.  You can also select a RAM
page from within +3 BASIC in this manner.

If the 48K ROM is paged in (and 128K mode is set) the same is probably true,
but I haven't checked it recently.

Ian Collier - Departmental Lecturer (and perpetual postgrad student) -
imc@comlab.ox.ac.uk - Oxford University Computing Laboratory, Wolfson
Building, Parks Road, Oxford OX1 3QD - WWW Home Page (including Spectrum
section): http://www.comlab.ox.ac.uk/oucl/users/ian.collier/index.html

