•  Back 
  •  XBIOS Function Reference 
  •  Index 
  •  Tree View 
  •  Cross references 
  •  %About 
  •  Show info about hypertext 
  •  View a new file 
Topic       : The ATARI Compendium
Author      : Scott Sanders / JAY Software
Version     : 1.25 (20/6/2003)
Subject     : Documentation
Nodes       : 1117
Index Size  : 32614
HCP-Version : 6
Compiled on : Atari
@charset    : UTF-8
@lang       : en
@default    : 
@help       : %About
@options    : +g -i -t4 +y +z
@width      : 100
View Ref-FileJenabint()
Jdisint()
Mfpint()                                                              XBIOS

Syntax

VOID Mfpint( intno, vector )
WORD intno;
VOID (*vector)();

Function      Mfpint() defines an interrupt handler for an MFP interrupt.

Opcode        13 (0x0D)

Availability  All TOS versions.

Parameters    intno is an index to a vector to replace with vector as
              follows:

              Name           intno  Vector

              MFP_PARALLEL      0   Parallel port

              MFP_DCD           1   RS-232 Data Carrier Detect

              MFP_CTS           2   RS-232 Clear To Send

              MFP_BITBLT        3   BitBlt Complete

              MFP_TIMERD or     4   Timer D (RS-232 baud rate generator)
              MFP_BAUDRATE

              MFP_200HZ         5   Timer C (200Hz system clock)

              MFP_ACIA          6   Keyboard/MIDI vector

              MFP_DISK          7   Floppy/Hard disk vector

              MFP_TIMERB or     8   Timer B (Horizontal blank)
              MFP_HBLANK

              MFP_TERR          9   RS-232 transmit error

              MFP_TBE          10   RS-232 transmit buffer empty

              MFP_RERR         11   RS-232 receive error

              MFP_RBF          12   RS-232 receive buffer full.

              MFP_TIMERA or    13   Timer A (DMA sound)
              MFP_DMASOUND

              MFP_RING         14   RS-232 ring indicator

              MFP_MONODETECT   15   Mono monitor detect/DMA sound complete

Binding       pea      vector
              move.w   intno,-(sp)
              move.w   #$0D,-(sp)
              trap     #14
              addq.l   #8,sp

Caveats       This call does not return the address of the old handler.
              The only RS-232 vector that may be set on the Falcon030 with
              this function is the ring indicator.

Comments      Newly installed interrupts must be enabled with Jenabint().

See Also      Jenabint(), Jdisint()