[TS HORIZONS] Paul Hunter's Bank Switching.

Discussion about ZX80 / ZX81 Software
User avatar
XavSnap
Posts: 892
Joined: Sat May 10, 2008 4:23 pm

[TS HORIZONS] Paul Hunter's Bank Switching.

Post by XavSnap »

Hi,
I plan to type-in the ROM including the "Bank Switching" memory backup.
(from the Ts Horizon #11) : https://archive.org/stream/TSHorizons/T ... 7/mode/2up

But, something's wrong…
I have to spend more funny hours to check it.
:oops:

[@$2000;8192]

Code: Select all

 1 REM [DEC: 195,248,37,33,91,64,249,33,214,191,34,4,64,43,54,62,43,249,43,43,34,2,64,195,118,6,0,192,5,6,0,14,33,0,0,57,237,91,28,64,237,82,201,33,255,31,237,91,16,64,183,237,82,201,58,240,191,1,192,2,254,41,200,42,216,191,237,91,214,191,183,237,82,68,77,201,205,63,\
32,42,218,191,113,35,112,35,235,237,176,201,205,187,2,68,77,44,40,248,205,189,7,205,38,33,126,201,42,12,64,237,91,218,191,62,22,35,1,32,0,237,176,61,32,247,201,205,188,35,17,9,64,42,218,191,35,35,237,176,201,205,188,35,42,12,64,197,229,43,205,158,9,209,193,42,218,191,\
35,35,237,176,201,33,228,191,6,28,54,22,35,16,251,62,27,50,239,191,62,14,50,243,191,50,249,191,50,255,191,201,237,75,220,191,205,245,8,1,15,0,17,228,191,205,107,11,201,205,161,32,237,75,220,191,5,5,205,245,8,1,21,0,17,48,33,205,107,11,205,188,32,33,228,191,229,205,90,32,\
225,71,62,119,184,40,218,112,229,205,188,32,225,35,62,27,190,40,250,62,14,190,32,228,201,205,188,35,42,20,64,43,197,229,205,158,9,209,193,42,218,191,35,35,237,176,201,34,22,64,126,205,217,20,205,167,14,201,237,91,222,191,27,122,179,32,251,201,42,51,57,42,55,0,11,43,46,49,42,51,\
38,50,42,27,42,61,57,11,14,42,61,42,40,58,57,42,0,56,38,59,42,0,16,56,17,0,52,55,0,38,39,52,55,57,0,16,38,17,14,38,41,41,55,42,56,56,14,0,56,46,63,42,14,0,0,0,0,55,52,52,50,0,46,51,0,39,38,51,48,0,20,0,33,147,192,17,32,0,25,62,\
20,190,40,8,62,0,190,32,245,34,226,191,183,237,82,229,205,27,33,225,197,1,6,0,9,205,27,33,225,9,34,224,191,201,42,226,191,43,43,43,43,126,201,1,0,9,205,245,8,1,15,0,17,117,33,205,107,11,205,205,33,205,217,33,201,33,255,255,237,91,224,191,27,183,237,82,201,68,77,205,\
32,21,205,219,21,201,42,226,191,17,16,0,183,237,82,235,33,228,191,1,28,0,237,176,201,237,91,12,64,42,218,191,62,22,19,1,32,0,237,176,61,32,247,201,62,118,215,215,1,9,0,17,99,33,205,107,11,237,75,224,191,205,219,33,42,14,64,43,1,5,0,17,248,191,237,184,62,118,215,1,\
9,0,17,108,33,205,107,11,205,54,32,3,3,205,219,33,58,57,64,14,19,145,71,62,5,144,33,250,191,54,28,35,16,251,17,254,191,6,0,79,42,14,64,43,237,184,201,51,52,57,0,42,51,52,58,44,45,0,55,52,52,50,0,46,51,0,39,38,51,48,53,55,42,56,56,0,38,51,62,0,\
48,42,62,0,57,52,0,40,52,51,57,46,51,58,42,42,51,57,42,55,0,57,45,42,0,49,46,51,42,0,55,38,51,44,42,0,52,55,0,42,51,57,42,55,0,0,0,16,38,17,49,49,0,43,52,55,0,57,45,42,0,42,51,57,46,55,42,0,53,55,52,44,55,38,50,43,46,55,56,57,\
0,49,46,51,42,0,52,55,0,16,56,17,57,38,55,57,14,0,49,38,56,57,0,49,46,51,42,0,52,55,0,16,42,17,51,41,14,0,0,0,0,46,51,59,38,49,46,41,0,42,61,57,42,51,56,46,52,51,53,58,55,44,42,0,38,0,43,46,49,42,62,118,215,215,1,25,0,17,114,34,\
205,107,11,205,90,32,201,62,118,215,215,1,30,0,17,69,33,205,107,11,201,62,118,215,215,1,23,0,17,91,34,205,107,11,201,62,118,215,215,1,17,0,17,245,34,205,107,11,201,42,16,64,237,91,20,64,27,205,111,35,201,33,9,64,237,91,20,64,205,111,35,201,33,125,64,237,91,12,64,205,\
111,35,201,34,214,191,237,83,216,191,62,41,201,62,118,215,215,1,60,0,17,139,34,205,107,11,62,118,215,1,23,0,205,107,11,201,205,43,15,42,14,64,229,205,90,32,71,62,119,184,32,18,225,34,14,64,229,62,0,6,5,215,16,253,225,34,14,64,24,228,61,184,40,4,120,215,24,221,225,201,\
42,218,191,78,35,70,201,205,27,33,96,105,205,216,9,201,205,195,35,35,35,94,35,86,35,25,201,205,121,35,213,205,144,35,62,38,190,32,5,209,205,100,35,201,62,56,190,40,5,205,195,35,24,3,33,125,64,34,214,191,209,205,134,35,205,144,35,62,42,190,40,15,205,204,35,34,216,191,235,42,\
12,64,183,237,82,48,6,42,12,64,34,216,191,62,41,201,56,38,59,42,0,38,0,43,46,49,42,49,52,38,41,0,38,0,43,46,49,42,40,45,38,51,44,42,0,39,38,51,48,56,42,51,57,42,55,0,39,38,51,48,0,55,42,54,58,46,55,42,41,14,62,118,215,1,11,0,17,28,36,205,\
107,11,201,62,118,215,1,11,0,17,39,36,205,107,11,201,42,51,57,42,55,0,49,42,57,57,42,55,0,16,38,0,57,52,0,52,17,0,52,43,0,43,46,49,42,14,0,0,11,63,11,0,60,46,49,49,0,55,42,41,46,56,53,49,38,62,0,41,46,55,42,40,57,52,55,62,62,118,215,215,\
1,60,0,17,108,36,205,107,11,201,51,52,0,43,46,49,42,0,43,52,58,51,41,62,118,215,215,1,13,0,17,182,36,205,107,11,201,33,115,192,17,32,0,6,37,144,71,25,16,253,34,226,191,205,27,33,237,67,218,191,201,62,118,215,215,1,15,0,17,91,34,205,107,11,201,57,45,42,0,43,\
46,49,42,0,60,46,49,49,0,39,42,0,43,49,38,44,44,42,41,0,38,51,41,0,0,0,0,53,58,55,44,42,41,0,60,45,42,51,0,57,45,42,0,39,38,51,48,0,46,56,0,55,42,53,38,40,48,42,41,53,58,55,44,42,0,16,53,17,0,52,55,0,58,51,53,58,55,44,42,0,\
16,58,17,15,55,42,40,49,38,46,50,0,53,38,55,57,0,52,43,0,56,62,56,57,42,50,42,51,57,42,55,0,59,0,57,52,0,40,49,42,38,55,0,38,49,49,0,59,38,55,46,38,39,49,42,56,0,0,52,55,0,53,0,57,52,0,40,49,42,38,55,0,16,53,38,55,57,0,52,43,\
17,0,53,55,52,44,55,38,50,62,118,215,1,12,0,17,6,35,205,107,11,62,118,215,215,1,64,0,17,247,36,205,107,11,62,118,215,215,1,25,0,205,107,11,201,62,118,215,1,22,0,17,80,37,205,107,11,62,118,215,215,1,63,0,205,107,11,201,62,118,215,1,12,0,17,50,36,205,107,11,\
62,118,215,215,1,20,0,205,107,11,201,0,205,35,15,17,218,191,33,26,32,1,6,0,237,176,205,245,33,205,43,15,205,90,32,245,205,42,10,241,254,29,32,107,205,82,36,205,205,32,58,240,191,254,59,204,77,35,254,57,204,89,35,254,53,204,215,35,254,41,40,5,205,63,35,24,68,205,54,32,\
3,3,197,205,132,33,34,218,191,205,205,33,183,193,237,66,48,5,205,49,35,24,42,205,35,35,205,90,32,254,56,32,32,205,8,34,205,18,35,205,35,15,58,240,191,254,41,40,5,205,76,32,24,3,205,106,32,205,226,33,24,6,205,233,36,205,18,35,195,0,32,254,30,32,79,205,95,36,205,168,\
36,205,90,32,245,205,42,10,205,35,15,241,254,63,40,228,205,209,36,205,174,33,254,0,32,8,205,43,15,205,195,36,24,210,254,41,202,245,33,254,57,202,125,32,205,188,35,205,32,32,183,237,66,56,183,254,59,202,5,33,205,43,32,183,237,66,56,170,254,53,202,139,32,201,254,31,32,45,205,165,\
37,205,90,32,245,205,168,36,205,90,32,245,205,35,15,241,254,63,40,21,205,209,36,42,226,191,1,12,0,9,241,254,58,32,4,54,0,24,2,54,53,24,73,254,32,32,33,205,201,37,205,90,32,254,59,32,5,205,154,20,24,16,205,215,35,205,35,15,237,91,214,191,42,216,191,205,93,10,24,36,\
254,34,32,22,205,224,37,205,90,32,1,95,28,144,230,3,60,23,23,23,129,79,237,121,24,10,245,205,132,33,241,254,35,32,9,205,183,33,205,18,35,195,0,32,254,33,192,205,35,15,6,15,33,159,192,17,32,0,25,5,40,90,62,53,190,32,244,197,229,17,12,0,183,237,82,229,205,27,33,225,\
197,197,1,6,0,9,205,27,33,225,9,229,235,42,224,191,183,237,82,40,35,68,77,225,209,237,176,209,193,197,213,5,197,33,32,0,25,229,213,1,29,0,237,184,225,1,64,0,9,209,193,16,235,235,24,4,225,225,225,229,6,29,54,0,43,16,251,225,193,24,164,0,33,0,192,229,34,218,191,205,\
245,33,205,43,15,42,12,64,17,185,0,25,34,14,64,1,27,0,183,237,66,205,27,33,225,9,229,205,217,33,42,14,64,17,28,0,25,62,0,190,32,226,225,205,35,15,205,106,32,195,0,32 ]
Edit: checked, but not tested on EO.
Last edited by XavSnap on Wed Sep 04, 2019 5:23 am, edited 1 time in total.
Xavier

jdfan1000
Posts: 25
Joined: Tue Aug 02, 2016 8:06 pm
Location: Buffalo, NY
Contact:

Re: [TS HORIZONS] Paul Hunter's Bank Switching.

Post by jdfan1000 »

It'd probably help to have parts 1-6 of that series. I suspect one of the earlier articles has a program for typing in that code, telling you whether it's read across or down.

Unfortunately, I don't have a complete series of this newsletter. They turn up randomly.
My archive.org collection, containing many Timex/Sinclair related publications.

TimexSinclair.com, my website about Sinclair computers in the US.

User avatar
XavSnap
Posts: 892
Joined: Sat May 10, 2008 4:23 pm

Re: [TS HORIZONS] Paul Hunter's Bank Switching.

Post by XavSnap »

Hi,
TS-Horizons are available on archive.com:
TS-Horizons #11
TS-Horizons #12
TS-Horizons #14
TS-Horizons #15
TS-Horizons #16
TS-Horizons #17
TS-Horizons #18
TS-Horizons #19
TS-Horizons #20
TS-Horizons #21
https://archive.org/details/TSHorizons
Thanks jdfan1000.
Xavier

User avatar
XavSnap
Posts: 892
Joined: Sat May 10, 2008 4:23 pm

Re: [TS HORIZONS] Paul Hunter's Bank Switching.

Post by XavSnap »

Printout, Rom file & text listing.
MemoryBank.zip
(1018.82 KiB) Downloaded 110 times
Xavier

jdfan1000
Posts: 25
Joined: Tue Aug 02, 2016 8:06 pm
Location: Buffalo, NY
Contact:

Re: [TS HORIZONS] Paul Hunter's Bank Switching.

Post by jdfan1000 »

If anyone has earlier issues of TS Horizons they want to lend me, I'd be happy to scan them and add them to the collection. Unfortunately, I've not seen anything about allowing multiple uploaders to a collection on archive.org.
My archive.org collection, containing many Timex/Sinclair related publications.

TimexSinclair.com, my website about Sinclair computers in the US.

User avatar
stefano
Posts: 418
Joined: Tue Dec 11, 2012 9:24 am
Contact:

Re: [TS HORIZONS] Paul Hunter's Bank Switching.

Post by stefano »

This is the assembly of the bytes you entered.

bank.asm
(77.05 KiB) Downloaded 144 times
Last edited by stefano on Tue Oct 15, 2019 9:52 am, edited 1 time in total.

User avatar
stefano
Posts: 418
Joined: Tue Dec 11, 2012 9:24 am
Contact:

Re: [TS HORIZONS] Paul Hunter's Bank Switching.

Post by stefano »

213A: 2A 33 26 LD HL,(L2632+1) ; reference not aligned to instruction

.. please check, byte sequence (2A 33 26) could possibly be (2A 33 39).

In decimal it would mean changing sequence (42, 51, 38) to (42, 51, 57).

Trying to guess, if it is really a type error, it could be consequence of the similarity between '51' and '57',

User avatar
stefano
Posts: 418
Joined: Tue Dec 11, 2012 9:24 am
Contact:

Re: [TS HORIZONS] Paul Hunter's Bank Switching.

Post by stefano »

230A: 2A 00 26 LD HL,(L25FE+2) ; reference not aligned to instruction

..there could be also a couple of bytes missing, but I'm not sure. What is this ROM supposed to do ?.

jdfan1000
Posts: 25
Joined: Tue Aug 02, 2016 8:06 pm
Location: Buffalo, NY
Contact:

Re: [TS HORIZONS] Paul Hunter's Bank Switching.

Post by jdfan1000 »

It's an operating system for use with bank switched memory on the 1000. Not having the earlier articles makes it hard to suss out, tho.
My archive.org collection, containing many Timex/Sinclair related publications.

TimexSinclair.com, my website about Sinclair computers in the US.

User avatar
XavSnap
Posts: 892
Joined: Sat May 10, 2008 4:23 pm

Re: [TS HORIZONS] Paul Hunter's Bank Switching.

Post by XavSnap »

Hi,
Thanks Stefano !
I had to have a second look to it...

@jdfan1000
Thank for infos… scans and listings.
Xavier

Post Reply