dev_sgi_mardigras.cc File Reference

Back to the index.

Classes | Macros | Functions
dev_sgi_mardigras.cc File Reference
#include <stdio.h>
#include <stdlib.h>
#include <string.h>
#include "cpu.h"
#include "device.h"
#include "devices.h"
#include "memory.h"
#include "machine.h"
#include "misc.h"

Go to the source code of this file.

Classes

struct  sgi_mardigras_data
 

Macros

#define debug   fatal
 
#define DEV_SGI_MARDIGRAS_LENGTH   0x800000
 
#define MARDIGRAS_FAKE_OFFSET   0x500000000ULL /* hopefully available */
 
#define MARDIGRAS_DEFAULT_XSIZE   1280
 
#define MARDIGRAS_DEFAULT_YSIZE   1024
 
#define MICROCODE_START   0x50000
 
#define MICROCODE_END   0x55000
 

Functions

void mardigras_20400 (struct cpu *cpu, struct sgi_mardigras_data *d, uint64_t idata)
 
 DEVICE_ACCESS (sgi_mardigras)
 
 DEVINIT (sgi_mardigras)
 

Macro Definition Documentation

◆ debug

#define debug   fatal

Definition at line 47 of file dev_sgi_mardigras.cc.

◆ DEV_SGI_MARDIGRAS_LENGTH

#define DEV_SGI_MARDIGRAS_LENGTH   0x800000

Definition at line 50 of file dev_sgi_mardigras.cc.

◆ MARDIGRAS_DEFAULT_XSIZE

#define MARDIGRAS_DEFAULT_XSIZE   1280

Definition at line 53 of file dev_sgi_mardigras.cc.

◆ MARDIGRAS_DEFAULT_YSIZE

#define MARDIGRAS_DEFAULT_YSIZE   1024

Definition at line 54 of file dev_sgi_mardigras.cc.

◆ MARDIGRAS_FAKE_OFFSET

#define MARDIGRAS_FAKE_OFFSET   0x500000000ULL /* hopefully available */

Definition at line 52 of file dev_sgi_mardigras.cc.

◆ MICROCODE_END

#define MICROCODE_END   0x55000

Definition at line 57 of file dev_sgi_mardigras.cc.

◆ MICROCODE_START

#define MICROCODE_START   0x50000

Definition at line 56 of file dev_sgi_mardigras.cc.

Function Documentation

◆ DEVICE_ACCESS()

DEVICE_ACCESS ( sgi_mardigras  )

◆ DEVINIT()

DEVINIT ( sgi_mardigras  )

◆ mardigras_20400()

void mardigras_20400 ( struct cpu cpu,
struct sgi_mardigras_data d,
uint64_t  idata 
)

Generated on Tue Mar 24 2020 14:04:48 for GXemul by doxygen 1.8.17