• Jdisint | Disables an MFP interrupt. |
• Jenabint | Enables an MFP interrupt. |
See also: Interface programming
Name: | »disable interrupt« - Disable interrupts of the multi-functional peripheral port. | ||||||||||||||||||||||||||||||||||
Opcode: | 26 | ||||||||||||||||||||||||||||||||||
Syntax: | void Jdisint( int16_t number ); | ||||||||||||||||||||||||||||||||||
Description: | The XBIOS routine Jdisint disables a designated type of
interrupt that is specified by number on the multi-functional
peripheral port. The parameter number refers to the following
interrupts:
| ||||||||||||||||||||||||||||||||||
Return value: | The function does not return a result. | ||||||||||||||||||||||||||||||||||
Availability: | All TOS versions. | ||||||||||||||||||||||||||||||||||
Group: | Interrupt functions | ||||||||||||||||||||||||||||||||||
See also: | Binding Jenabint Mfpint |
C: | #include void Jdisint( int16_t number ); |
Assembler: | move.w number,-(sp) ; Offset 2 move.w #26,-(sp) ; Offset 0 trap #14 ; Call XBIOS addq.l #4,sp ; Correct stack |
Name: | »enable interrupt« - Enable interrupts of the multi-functional peripheral port. | ||||||||||||||||||||||||||||||||||
Opcode: | 27 | ||||||||||||||||||||||||||||||||||
Syntax: | void Jenabint( int16_t number ); | ||||||||||||||||||||||||||||||||||
Description: | The XBIOS routine Jenabint re-enables a designated type of
interrupt that is specified by number on the multi-functional
peripheral port. The parameter number refers to the following
interrupts:
| ||||||||||||||||||||||||||||||||||
Return value: | The function does not return a result. | ||||||||||||||||||||||||||||||||||
Availability: | All TOS versions. | ||||||||||||||||||||||||||||||||||
Group: | Interrupt functions | ||||||||||||||||||||||||||||||||||
See also: | Binding Jdisint Mfpint |
C: | #include void Jenabint( int16_t number ); |
Assembler: | move.w number,-(sp) ; Offset 2 move.w #27,-(sp) ; Offset 0 trap #14 ; Call XBIOS addq.l #4,sp ; Correct stack |