On Tue, 4 Jan 2000, d-fader wrote:
> I have a (maybe pretty stupid) question... A while ago someone told me that
> it is possible to turn off all interrupts (No call to $fd9f and stuff)... Is
> this true??
Sure, all you need to do is to execute the assembly instruction
"DI" (opcode F3). It disables all the interrupts except for the NMI, which
is not used in the MSX anyway. To enable interrupts again, use the
assembly instruction "EI".
You can turn off the interrupts in VDP also, but this does not
interrupt IRQs from another devices (assuming there is strange hardware
connected in your machine).
----------------------------------------------------------------
Ricardo Bittencourt http://www.lsi.usp.br/~ricardo
[EMAIL PROTECTED] "Ricardo is subtle, but malicious he is not"
------ Uniao contra o forward - crie suas proprias piadas ------
****
MSX Mailinglist. To unsubscribe, send an email to [EMAIL PROTECTED] and put
in the body (not subject) "unsubscribe msx [EMAIL PROTECTED]" (without the
quotes :-) Problems? contact [EMAIL PROTECTED] (www.stack.nl/~wiebe/mailinglist/)
****
Re: No interrupts? (coding question)
Ricardo Bittencourt Vidigal Leitao Tue, 4 Jan 2000 12:18:37 -0800
- No interrupts? (coding question) d-fader
- Re: No interrupts? (coding questio... Ricardo Bittencourt Vidigal Leitao
- Re: No interrupts? (coding questio... d-fader
- Re: No interrupts? (coding que... Laurens Holst
