dev_luna88k.cc File Reference

Back to the index.

Classes | Macros | Functions
dev_luna88k.cc File Reference
#include <stdio.h>
#include <stdlib.h>
#include <string.h>
#include "cpu.h"
#include "console.h"
#include "device.h"
#include "devices.h"
#include "emul.h"
#include "machine.h"
#include "memory.h"
#include "misc.h"
#include "thirdparty/sccreg.h"
#include "thirdparty/hitachi_hm53462_rop.h"
#include "thirdparty/luna88k_board.h"
#include "thirdparty/m8820x.h"

Go to the source code of this file.

Classes

struct  luna88k_data
 

Macros

#define TICK_STEPS_SHIFT   14
 
#define LUNA88K_REGISTERS_BASE   0x3ffffff0UL
 
#define LUNA88K_REGISTERS_END   0xff000000UL
 
#define LUNA88K_REGISTERS_LENGTH   (LUNA88K_REGISTERS_END - LUNA88K_REGISTERS_BASE)
 
#define MAX_CPUS   4
 
#define BCD(x)   ((((x) / 10) << 4) + ((x) % 10))
 

Functions

 DEVICE_TICK (luna88k)
 
 DEVICE_ACCESS (luna88k)
 
void add_cmmu_for_cpu (struct devinit *devinit, int cpunr, uint32_t iaddr, uint32_t daddr)
 
 DEVINIT (luna88k)
 

Macro Definition Documentation

◆ BCD

#define BCD (   x)    ((((x) / 10) << 4) + ((x) % 10))

Definition at line 66 of file dev_luna88k.cc.

◆ LUNA88K_REGISTERS_BASE

#define LUNA88K_REGISTERS_BASE   0x3ffffff0UL

Definition at line 59 of file dev_luna88k.cc.

Referenced by DEVICE_ACCESS(), and DEVINIT().

◆ LUNA88K_REGISTERS_END

#define LUNA88K_REGISTERS_END   0xff000000UL

Definition at line 60 of file dev_luna88k.cc.

◆ LUNA88K_REGISTERS_LENGTH

#define LUNA88K_REGISTERS_LENGTH   (LUNA88K_REGISTERS_END - LUNA88K_REGISTERS_BASE)

Definition at line 61 of file dev_luna88k.cc.

Referenced by DEVINIT().

◆ MAX_CPUS

#define MAX_CPUS   4

Definition at line 63 of file dev_luna88k.cc.

◆ TICK_STEPS_SHIFT

#define TICK_STEPS_SHIFT   14

Definition at line 56 of file dev_luna88k.cc.

Function Documentation

◆ add_cmmu_for_cpu()

void add_cmmu_for_cpu ( struct devinit devinit,
int  cpunr,
uint32_t  iaddr,
uint32_t  daddr 
)

◆ DEVICE_ACCESS()

DEVICE_ACCESS ( luna88k  )

◆ DEVICE_TICK()

DEVICE_TICK ( luna88k  )

◆ DEVINIT()

DEVINIT ( luna88k  )

Generated on Sun Sep 30 2018 16:05:18 for GXemul by doxygen 1.8.13