Forcing an NMI or locking the keyboard via poke command
Forcing an NMI or locking the keyboard via poke command
Anyone know how to do this? I want to force a halt then an NMI if the user tries to breakout using f2 or space or rubout. it's for the eightyone emulator using the zx81. however I don't want it to be found in the listing. any ideas?
In Heck, there are two options for perpetual torment:
Eat the Puckerberry and suffer for eternity:
drink nothing but a cocktail of The Last Dab and Mexican Cake blended and served with
habanero slices
Eat the Puckerberry and suffer for eternity:
drink nothing but a cocktail of The Last Dab and Mexican Cake blended and served with
habanero slices
- 1024MAK
- Posts: 5154
- Joined: Mon Sep 26, 2011 10:56 am
- Location: Looking forward to summer in Somerset, UK...
Re: Forcing an NMI or locking the keyboard via poke command
You can't force a NMI. A NMI is a non-maskable interrupt which is a hardware signal. Machine code can jump to the address where the NMI routine is, but it's not quite the same.
Machine code can HALT the processor, just execute the HALT instruction. But this will not do what you want on a ZX81.
I presume you actually want to prevent a user from BREAKing into the program?
Someone came up with a solution, it's in this topic
Mark
Machine code can HALT the processor, just execute the HALT instruction. But this will not do what you want on a ZX81.
I presume you actually want to prevent a user from BREAKing into the program?
Someone came up with a solution, it's in this topic
Mark
ZX81 Variations
ZX81 Chip Pin-outs
ZX81 Video Transistor Buffer Amp
Standby alert
There are four lights!
Step up to red alert. Sir, are you absolutely sure? It does mean changing the bulb
Looking forward to summer later in the year.
ZX81 Chip Pin-outs
ZX81 Video Transistor Buffer Amp
Standby alert
There are four lights!
Step up to red alert. Sir, are you absolutely sure? It does mean changing the bulb
Looking forward to summer later in the year.