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
![Twisted Evil :twisted:](./images/smilies/icon_twisted.gif)
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
![Twisted Evil :twisted:](./images/smilies/icon_twisted.gif)
- 1024MAK
- Posts: 5124
- 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 ![Exclamation :!:](./images/smilies/icon_exclaim.gif)
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
![Exclamation :!:](./images/smilies/icon_exclaim.gif)
![Exclamation :!:](./images/smilies/icon_exclaim.gif)
There are four lights!
Step up to red alert. Sir, are you absolutely sure? It does mean changing the bulb
![Exclamation :!:](./images/smilies/icon_exclaim.gif)
Looking forward to summer later in the year.