Page 2 of 3

Re: About ZXPand...

Posted: Sun Jun 23, 2013 12:12 am
by PokeMon
sirmorris wrote:I don't think it's easily possible to control the ROM overlay externally, that said I don't know of any other devices which disable the internal ROM. I'm sure people will enlighten me though :D
No problem, will enlight you right now. :mrgreen:

The module ZX81XRAM disables internal ROM in address range $8000-$BFFF (shadow copy of ROM). :o
And during startup / after reset shortly to enable automatic RAM detection for up to 48k.

Re: About ZXPand...

Posted: Mon Jun 24, 2013 2:51 pm
by siggi
sirmorris wrote:I don't think it's easily possible to control the ROM overlay externally, that said I don't know of any other devices which disable the internal ROM. I'm sure people will enlighten me though :D
Hi Charlie
some MEMOTECH modules (ASCII-PRINTER-module, HIRES-Module) disable the internal ROM by pushing /ROMCS high and also enable the internal ram by pulling /RAMCS low and map the 1 K ram into ROM address range to allow "patches" of the ROM. Thus normal LPRINT commands are redirected to the external ASCII printer and PLOT AFAIK works also with the MEMOTECH Hires module. Enabling the internal ram works only, if the memotech module is the first external module at the edge connector (followed by the Sinclair ram pack or others).
Ditto the RAM. It would entail listening to and obeying RAMCS - which would be tough as it also needs to control it. As ROM and RAM cs lines are designed to let external devices control the internal chips it's not really possible to have multiple external devices all mastering the same line. If you see what I mean.
C
It is possible for several external modules, to DISABLE ram or rom individually, when they push /ROMCS or /RAMCS high using a diode for decoupling. That is done by all ZX96 memory cards:

Code: Select all

                .
                .
                   1N4148 or similar
                |   | /|
                +---|< |------   CARD x
                |   | \|
                |                 .
/ROMCS ---------+                 .
                |                 .
                |   | /|
                +---|< |------   CARD 2
                |   | \|
                |
                |
                |   | /|
                +---|< |------   CARD 1
                    | \|
                .    
                    
                .
Siggi

Re: About ZXPand...

Posted: Wed Oct 21, 2015 11:22 pm
by gozzo
One new question, similar to mine above a while back about sofware re-enabling, is there any fairly easy way to re-enable the zxpand system by hardware, such as adding another push switch in circuit somehow, WITHOUT having to reset the zx81 its connected to. the zxpand reset button certainly re-enables it when held in but also resets the zx, which I don't always want!!! Could it be just as simple as breaking the connection to the zx81 reset line with, say a normally closed push switch, so hold that one in while pressing the zxpand reset to reset/re-enable just the zxpand????

Re: About ZXPand...

Posted: Sat Jan 14, 2017 6:02 pm
by didier
hello sirmoris

I would want to know if we can call the function(office) ' cat' on the zxpand by a rand usr? And if we can call the function(office) 'config' by a rand usr?

Thank you very much ... excuse me for my english , i m french ....

And happy New Year

didier

Re: About ZXPand...

Posted: Sat Jan 14, 2017 8:38 pm
by sirmorris
Bonjour, Didier!

I can understand your English well, I doubt you would understand my French at all..! We British people are renown for our poor linguistic skills. I envy our European friends - many of whom speak at least 2 or 3 languages by the time they leave school.

There is not a simple call to do what you ask - but these things are possible from machine code. If you would let me know exactly what it is you need to do I can help with code to do it. I don't think you need to replicate CAT, I imagine you want to get a list of files. This can be done - the source code for zxpand-commander will show how this can be done.

C

Re: About ZXPand...

Posted: Sat Jan 14, 2017 8:46 pm
by Moggy
It usually takes six bloody months for you to answer my questions Charlie you lousy rat!!!!!

(Moggy beats a hasty retreat in case the good sir knight gets angry)

Re: About ZXPand...

Posted: Sun Jan 15, 2017 1:28 pm
by sirmorris
Well if you will ask questions with such depth and subtlety that it takes me 6 months to formulate a worthwhile reply..! :lol:

Re: About ZXPand...

Posted: Thu Feb 16, 2017 7:21 pm
by didier
hello sirmorris

I realized a program in BASIC and in machine language which allows to move a mouse on the screen and shows a drop-down menu .... in this drop-down menu we can choose several options ...

In this menu, there is an option 'cat' , clicking this option I wanted to make post(show) has the screen, the catalog of the sd card of the zxpand
I wanted to call the function ' CAT' of the zx pand by a rand usr?

how to do this ?

thank you sirmorris and excuse me for my english !!

didier

Re: About ZXPand...

Posted: Thu Feb 16, 2017 9:06 pm
by sirmorris
Hi Didier,

It is not possible to call CAT in the ROM because it is only meant to be called from within the BASIC interpreter.

The source code for zxpand-commander is available in another thread, and this shows how to read the sd card listing.

viewtopic.php?f=6&t=956

See CMDR.ASM line 201 -> 253

Re: About ZXPand...

Posted: Sat May 13, 2017 4:33 pm
by Shaun_B
Will the ZXPand work on the ZX80 Minstrel clone?

Many thanks,

Shaun.