CPCWiki forum

General Category => Programming => Topic started by: SOS on 17:15, 03 May 20

Title: NMI Questions/Problems
Post by: SOS on 17:15, 03 May 20
Hi folks!

I'm playing around with NMI-Interrupts.
For this i patched the Lower-ROM and placed at &66 an
border-flashing-function to see if this is working (the function starts with "DI" and uses only OUT's and no OS-functions).

I'm confused with the results - when i make an Interrupt from external, i have the results:
Successful (border flashing):
- Plain BASIC
- Antiriad
- Zoids
- Endurance

Not successful:
- 1943
- Elevator Action
- Kickstart 2

The "not successful" shows an reaction of the Interrupt but makes different things (like short stopping, screen dizzle, ...).
Has someone an Idea?
The NMI goes every time to the Lower-ROM or to the seclected Destination? (LowerROM / RAM)
(can the LowerROM activate from the outside of the CPC?)

Title: Re: NMI Questions/Problems
Post by: andycadley on 17:48, 03 May 20
The NMI will hit whatever is currently pages in, so if the Lower ROM is off it will go to whatever is currently in RAM.
Title: Re: NMI Questions/Problems
Post by: SOS on 18:27, 03 May 20
thanks, any possibillity to activate the lower-rom from external?
(how handle the Multiface 2 this problem?)
Title: Re: NMI Questions/Problems
Post by: m_dr_m on 01:19, 04 May 20
The Multiface II connects its own ROM when emitting the interrupt.
I guess by using both RAMDIS and ROMDIS ([size=78%]http://www.cpcwiki.eu/index.php/Connector:Expansion_port (http://www.cpcwiki.eu/index.php/Connector:Expansion_port)[/size])
Title: Re: NMI Questions/Problems
Post by: GUNHED on 17:51, 04 May 20
Actually for NMI practice it's great to use Tot0's PlayCity which provides an very easy to handle NMI.

The Albireo does also provide an NMI, but it's not as easy to handle.
Powered by SMFPacks Menu Editor Mod