Page 2 of 4

Re: No Break please, just a space...

Posted: Sat Feb 18, 2012 2:31 pm
by gozzo
Here is the 'poke' enabled circuit...

Re: No Break please, just a space...

Posted: Sat Feb 18, 2012 10:39 pm
by gozzo
OOPS , realised I made a boob in the 'poke enabled' circuit - the link from the NAND gate output to the junction of the base of the transistor and the 22k is incorrect, the NAND output should go to the other side of the 22k resistor linked to the enable of the 74HCT541 - connect it wrong any you'll probably kill the NAND gate and transistor!

Re: No Break please, just a space...

Posted: Sun Feb 19, 2012 12:21 am
by Andy Rea
Been thinking about this a little if you change the memory address decoding, to decode $0F46 you only need force 1 data line high (D7) this changes the operand of the LD A,$7F to LD A,$FF which will result in no keyboard row been read.

You could probably get away with wire-(n)oring (using diodes and a pull-up/pull-down) 3 (maybe more but need to watch the capacitance) address lines together before feeding into a ttl logic chip. (obvioulsy only address lines that all need to be 0' and address lines that all need to be 1' can be wire-or'd)

I'll draw a picture.... Erm no i won't i'll send you to http://en.wikipedia.org/wiki/Diode_logic

Don't forget to include /mreq and /rd into the decoding too, i would used that to tri-state the drive to D7 (which if you connect directly to the CPU pin you can drive it high)

Andy

Re: No Break please, just a space...

Posted: Fri Feb 24, 2012 12:14 am
by gozzo
Hmm...maybe ...but I wanted to make an external unit - at least at the moment - but may change my mind if the size of the unit can be minimized, so 'forcing' a line would be a no-no for the moment. I do intend to try one of the circuits out as and when I get time, also have a circuit idea for a similar unit to make a US zx81/ts1000/ts1500/microdigital TK85(!) run at UK 50Hz speed(need to change 2 bytes in the ROM, but as it is in the keyboard/display loop, may affect timing--?? ) Maybe could combine both functions in one unit! Several other ideas on the go, so I don't know what will get tried first !
As for the diode logic, were you thinking of something like this...(need to change 0F47 not 0F46, according to the disassembly I have..?) .

One other idea is to permanently disable the normal break key, but this time by changing the port address completely and decoding in an additional key on that port..??

Re: No Break please, just a space...

Posted: Fri Feb 24, 2012 9:55 pm
by Math123
Though I see all of you getting the problem solved in hardware, I just now have a SW to do it...

It disables the BREAK unless it is pressed together with SHIFT. So you can enter SPACE with INKEY$.
Give it a try.

Matthias

Re: No Break please, just a space...

Posted: Fri Feb 24, 2012 10:59 pm
by sirmorris
Interesting! How does this work?

Re: No Break please, just a space...

Posted: Sat Feb 25, 2012 11:09 am
by gozzo
That's all very well, but what if you want to be able to enter '£' - which is shift +space..???!!

Re: No Break please, just a space...

Posted: Sat Feb 25, 2012 11:12 am
by gozzo
What about making a modified ROM, moving the '£' to the spare/missing function on the 'V' and then its ok having shift+space as break, as in the spectrum!

Re: No Break please, just a space...

Posted: Sat Feb 25, 2012 1:08 pm
by Math123
Hi gozzo,
I can generate a version to trigger BREAK on any combination of keys. Might be SHIFT+NEWLINE+SPACE or anything else.
Or wait for SPACE pressed longer than 5 seconds.
Just a piece of software.
Matthias

Re: No Break please, just a space...

Posted: Sat Feb 25, 2012 1:17 pm
by Math123
Hi sirmorris,
I just copied all the necessary machine-code from ROM. Reassembled it with mods (here only the BREAK function).
When running the machine-code it substitutes the interpreter main-loop of the Basic-ROM.
In this way I am able to patch the ROM code.
This is pretty much it.
Matthias