I haven't been able to work out how to store data in bank 1 (the second 64k) of the internal memory.

However, I have been able to work out how to store data in an REU which is great for my purpose.

In case anyone's interested here's how I did it.

Code:

10 mx = 357: my = 357
20 n = 0
30 i = 0
40 b = 0
50 l = dec("0e00"):rem rs-232 buffer
60 for x = 0 to mx
70 print "store x: ";x
80 for y = 0 to my
90 if n < 254 then n = n +1: else n = 0
100 poke l+y, n
110 next y
120 stash my+1, l,i ,b
130 i=i+my+1
140 if i >= 65535 then i=0:b=b+1
150 next x
160 n = 0
170 i = 0
180 b = 0
190 for x = 0 to mx
200 print "fetch x: ";x
210 fetch my+1, l, i, b
220 i=i+my+1
230 if i >= 65535 then i=0:b=b+1
240 for y = 0 to my
250 if n < 254 then n = n +1: else n = 0
260 if peek(l+y) <> n then print "wrong val at: ";x;",";y
270 next y
280 next x

I would still be interested though, if someone could explain what I'm

misunderstanding about the use of the second internal bank in my first post.

## Bookmarks