Login
Search for:


Previous | Next

From: Rachy (all posts)
Date: 2001-07-24
Subject: interrupt
Hello!

This weekend I checked out my plusi emulator (Flamingo), just to keep up one release per year... :)
I begun with testing some game, for a long time Castle Master was a pain in my neck, it is not working almost any of the emulators I know. I checked out why it is freezing out after the intro.
I was really suprised, because the depacked version (when I removed the intro) worked properly. So, I checked after, what happening when it is freezed.
I found out, that a mislpaced CLI (interrupt enable) caused that it starts executing the intro irq handler, but it was not there.
(Located to the zero page, because of digital sound converter), and this caused an inifinite loop, because of BRK commands (zero page previously filled with zeros).
A few command after this accidental CLI irq handler prepared in the program, but timer based irq happened too early. This means it should not work on a real Plus/4!

So, here come my quiestions:

What does happen when an interrupt request cannot be taken?

Is it thrown? (I tried this one, but it was not working.)
If it is not thrown, then is it taken right after the CLI command finished?
Or is it delayed somehow?

Unfortunately I cannot check out on a real Plus/4, I have no opportunity of reaching one. (My little brother using it in an other city... :)

Thanks in advance:

Almos Rajnai

+------------------------=%%&############&%%=-------------------------------+
| Rachy of Bi0Hazard | PowerAmiga owner | http://amigos.amiga.hu/rachy/ |
|e-mail: racs@fs2.bdtf.hu| No Risc No Fun! | ATO Hungarian member |
+---ICQ:-16342960--------=%%&############&%%=-----Phone:+36 20 9891489------+

Copyright © Plus/4 World Team, 2001-2024