sc68fordevelopers  2.2.1
Data Structures | Macros | Typedefs
struct68.h File Reference

Struture definitions. More...

#include "emu68/type68.h"

Go to the source code of this file.

Data Structures

struct  int68_t
 68K interruption exception structure. More...
 
struct  _io68_t
 IO emulator pluggin structure. More...
 
struct  reg68_t
 68K emulator registers, memory and IO. More...
 

Macros

#define IO68_NO_INT   (0x80000000)
 IO no pending interruption return value. More...
 
#define NULL   0L
 Default NULL constant. More...
 
#define MEM68MSK   ((1<<19)-1) /* 512 Kb memory */
 Mask for memory overflow.
 

Typedefs

typedef void( linefunc68_t) (int, int)
 First level (16 lines) decoder function. More...
 
typedef struct _io68_t io68_t
 IO emulator pluggin structure. More...
 
Memory access caller type
typedef u32(* memrfunc68_t) (u32 addr, cycle68_t cycle)
 Read memory function. More...
 
typedef void(* memwfunc68_t) (u32 addr, u32 value, cycle68_t cycle)
 Write memory function. More...
 

Detailed Description

Struture definitions.

Author
Benjamin Gerard ben@s.nosp@m.ashi.nosp@m.pa.co.nosp@m.m
Date
13/03/1999
Version
Id
struct68.h,v 2.2 2003/09/30 06:29:57 benjihan Exp

Macro Definition Documentation

#define IO68_NO_INT   (0x80000000)

IO no pending interruption return value.

The next_int function of IO plugin must return IO68_NO_INT when no interruption are expected.

#define NULL   0L

Default NULL constant.

Typedef Documentation

typedef u32(* memrfunc68_t) (u32 addr, cycle68_t cycle)

Read memory function.

typedef void(* memwfunc68_t) (u32 addr, u32 value, cycle68_t cycle)

Write memory function.

typedef void( linefunc68_t) (int, int)

First level (16 lines) decoder function.

typedef struct _io68_t io68_t

IO emulator pluggin structure.

All 68K IO must have a filled io68_t structure to be warm plug or unplug with ioplug interface.