dirtyfly (stranger
)
2002/04/16 14:35
|
NMI throwing on ZX mode
|
| |
how do i throw an NMI on zx spectrum mode ?
thanks
Jorge
|
Alex_Goryachev (Sprinter Team)
2002/04/16 15:08
|
|
Sprinter will use NMI in Spectrum configuration, certainly. But today (in test Spectrum configuration), NMI has uncontrolled memory page of exit. So, Sprinter need special program for programming NMI exit. For example, to execute other program after throw NMI.
---
PETERS PLUS LTD Edited by Alex_Goryachev on 2002/04/16 17:24.
|
davidebarlotti (stranger
)
2002/04/16 16:24
|
|
Hi,
There's some modify ROM for original Spectrum 48k
like this:
http://www.zxspectrum.it/rom/bsrom140.rom
It would be enough to be able to generate a NMI with a
key type F11..
|
Alex_Goryachev (Sprinter Team)
2002/04/16 17:22
|
|
In our test Spectrum configuration we use one of keys for NMI. It's not problem. We have another problem. After generating NMI, it go to 0066h address. But we don't know which of memory page will be set to PAGE 0 in this time. Sprinter set to the PAGE 0 different memory pages during program work (it will be Spectrum BIOS, one of Sprinter BIOS parts, pages of RAM...).
We know one way. But it need test. Any way, it will do possible usage NMI for testing programs by programmer only.
---
PETERS PLUS LTD
|
Marcelo (stranger
)
2002/04/17 15:45
|
|
It would be great, though, to be able to throw an NMI with a bit toggle on -for example- the printer port, or one of the serial ports...
I don't really think a keypress is very useful except to test programs or routines.
Can't Altera remap one of the printer port bits to act on the NMI line of the processor? It would be great if you put an example of how to do this on a (maybe) new page. For example: Sprinter Programming Tips. So all the pieces of code scattered around the forum could be easily indexed in one page.
(I know this post belongs on two forums, but they're interrelated.)
Marcelo.
----------------------------------
Speccy rules, its staff is Sprinter.
|
DirtyFly (stranger
)
2002/04/17 16:02
|
|
Fixing the ZX Rom isnt dificult now that we have external Rom files on the sprinter, a key like F11 to send an NMI to the spectrum would be very usefull
|