- 86Box's own headers go to /86box - munt's public interface goes to /mt32emu - all slirp headers go to /slirp (might want to consider using only its public inteface) - single file headers from other projects go in include root
30 lines
589 B
C
30 lines
589 B
C
#ifndef EMU_PIC_H
|
|
# define EMU_PIC_H
|
|
|
|
|
|
typedef struct PIC {
|
|
uint8_t icw1, icw3, icw4, mask, ins, pend, mask2, vector, ocw2, ocw3;
|
|
int icw, read;
|
|
} PIC;
|
|
|
|
|
|
extern PIC pic, pic2;
|
|
extern int pic_intpending;
|
|
|
|
|
|
extern void pic_set_shadow(int sh);
|
|
extern void pic_init(void);
|
|
extern void pic_init_pcjr(void);
|
|
extern void pic2_init(void);
|
|
extern void pic_reset(void);
|
|
|
|
extern void picint(uint16_t num);
|
|
extern void picintlevel(uint16_t num);
|
|
extern void picintc(uint16_t num);
|
|
extern int picinterrupt(void);
|
|
extern void picclear(int num);
|
|
extern void dumppic(void);
|
|
|
|
|
|
#endif /*EMU_PIC_H*/
|