OpenSpand announcement

Any discussions related to the creation of new hardware or software for the ZX80 or ZX81
nollkolltroll
Posts: 351
Joined: Sat Sep 27, 2014 8:02 pm
Location: Stockholm, Sweden

Re: OpenSpand announcement

Post by nollkolltroll »

Mustermann: yes you are correct, unfortunately both Minstrel 2 & 3 resist key-data injection. I will test your diode-pullups and hope it works. It is too good a feature to have it not working!
/Adam
User avatar
siggi
Posts: 1043
Joined: Thu May 08, 2008 9:30 am
Location: Wetterau, Germany
Contact:

Re: OpenSpand announcement

Post by siggi »

Is it possible to switch over from one rom to another one without doing a reset?
E. g. to LOAD a program using Zxpand rom, then switch to ZX81 rom to LLIST the program on printer (because ZxPand rom does not contain printer code)?

Siggi
My ZX81 web-server: online since 2007, running since dec. 2020 using ZeddyNet hardware
http://zx81.ddns.net/ZxTeaM
User avatar
Paul
Posts: 1602
Joined: Thu May 27, 2010 8:15 am
Location: Germanys west end

Re: OpenSpand announcement

Post by Paul »

siggi wrote: Thu Jan 09, 2025 12:20 pm Is it possible to switch over from one rom to another one without doing a reset?
E. g. to LOAD a program using Zxpand rom, then switch to ZX81 rom to LLIST the program on printer (because ZxPand rom does not contain printer code)?

Siggi
Just load the program LOAD "PROG;X"
Which deactivates the ZXPand ROM after loading.
Works on any ZXPand in the wild as well as in emulators
In theory, there is no difference between theory and practice. But, in practice, there is.
User avatar
Paul
Posts: 1602
Joined: Thu May 27, 2010 8:15 am
Location: Germanys west end

Re: OpenSpand announcement

Post by Paul »

There might be other solutions in the future which we don't discuss until finalized.
Anyway, ideas and questions are always welcome 🤗
In theory, there is no difference between theory and practice. But, in practice, there is.
User avatar
siggi
Posts: 1043
Joined: Thu May 08, 2008 9:30 am
Location: Wetterau, Germany
Contact:

Re: OpenSpand announcement

Post by siggi »

Paul wrote: Fri Jan 10, 2025 7:25 am
siggi wrote: Thu Jan 09, 2025 12:20 pm Is it possible to switch over from one rom to another one without doing a reset?
E. g. to LOAD a program using Zxpand rom, then switch to ZX81 rom to LLIST the program on printer (because ZxPand rom does not contain printer code)?

Siggi
Just load the program LOAD "PROG;X"
Which deactivates the ZXPand ROM after loading.
Works on any ZXPand in the wild as well as in emulators
Yes, but there is no way back to ZxPand-rom except doing a reset ....
My ZX81 web-server: online since 2007, running since dec. 2020 using ZeddyNet hardware
http://zx81.ddns.net/ZxTeaM
User avatar
siggi
Posts: 1043
Joined: Thu May 08, 2008 9:30 am
Location: Wetterau, Germany
Contact:

Re: OpenSpand announcement

Post by siggi »

Paul wrote: Fri Jan 10, 2025 7:28 am There might be other solutions in the future which we don't discuss until finalized.
Anyway, ideas and questions are always welcome 🤗
There are other solutions like POKE 8, something or POKE 0, something... ;)
My ZX81 web-server: online since 2007, running since dec. 2020 using ZeddyNet hardware
http://zx81.ddns.net/ZxTeaM
Moggy
Posts: 3493
Joined: Wed Jun 18, 2008 2:00 pm

Re: OpenSpand announcement

Post by Moggy »

siggi wrote: Fri Jan 10, 2025 12:03 pm
Paul wrote: Fri Jan 10, 2025 7:25 am
siggi wrote: Thu Jan 09, 2025 12:20 pm Is it possible to switch over from one rom to another one without doing a reset?
E. g. to LOAD a program using Zxpand rom, then switch to ZX81 rom to LLIST the program on printer (because ZxPand rom does not contain printer code)?

Siggi
Just load the program LOAD "PROG;X"
Which deactivates the ZXPand ROM after loading.
Works on any ZXPand in the wild as well as in emulators
Yes, but there is no way back to ZxPand-rom except doing a reset ....
Charlie posted this as a way to get back into the overlay ROM but it was for very early firmware I'm not sure if it works with up to date firmware or the ZXpand+.

Code: Select all

re-enable the overlay
ld bc,$e007
ld a,$b1
out (c),a
The thread can be found here....

https://www.sinclairzxworld.com/viewtop ... ter+module
???????????????????????????PIINKEY$?????RND????????????????????????????????????????????????????????PI????????
nollkolltroll
Posts: 351
Joined: Sat Sep 27, 2014 8:02 pm
Location: Stockholm, Sweden

Re: OpenSpand announcement

Post by nollkolltroll »

The hard part about going back to expanded rom will be to decide HOW to do it from basic... Doing it in asm or via configuration will work easily.
Maybe poke a magic number to rom area?
/Adam
nollkolltroll
Posts: 351
Joined: Sat Sep 27, 2014 8:02 pm
Location: Stockholm, Sweden

Re: OpenSpand announcement

Post by nollkolltroll »

Moggy wrote: Fri Jan 10, 2025 2:25 pm

Code: Select all

re-enable the overlay
ld bc,$e007
ld a,$b1
out (c),a
Had to take a look. That is implemented in OpenSpand, just as in ZXpand+ Tomte rom source. Set a=$b1 to switch to OpenSpand rom, set a=$b0 to switch to ZX81 rom. So not possible from BASIC, but no problem in asm.
/Adam
Moggy
Posts: 3493
Joined: Wed Jun 18, 2008 2:00 pm

RE-INITIALISING THE ZXPAND.

Post by Moggy »

A small BASIC and M/C program to relaunch the Spand back into overlay mode then launch ZXpand commander

Should you not use commander then just delete the RAND USR 0 line.

This works well enough on the spand+ and whilst it works on the older spands it shows an error ( B/10 ) so never gets to line 20 (RAND USR 0 ), quite why it does this I have no idea but at least it re-launches the overlay without having to pull the plug.
Attachments
RELAUNCH.P
(1.01 KiB) Downloaded 79 times
???????????????????????????PIINKEY$?????RND????????????????????????????????????????????????????????PI????????
Post Reply