dev_kn01.cc File Reference

Back to the index.

Classes | Functions
dev_kn01.cc File Reference
#include <stdio.h>
#include <stdlib.h>
#include <string.h>
#include "cpu.h"
#include "devices.h"
#include "memory.h"
#include "misc.h"
#include "thirdparty/dec_kn01.h"

Go to the source code of this file.

Classes

struct  kn01_data
 
struct  vdac_data
 

Functions

 DEVICE_ACCESS (kn01)
 
 DEVICE_ACCESS (vdac)
 
void dev_vdac_init (struct memory *mem, uint64_t baseaddr, unsigned char *rgb_palette, int color_fb_flag)
 
void dev_kn01_init (struct memory *mem, uint64_t baseaddr, int color_fb)
 

Function Documentation

◆ dev_kn01_init()

void dev_kn01_init ( struct memory mem,
uint64_t  baseaddr,
int  color_fb 
)

◆ dev_vdac_init()

void dev_vdac_init ( struct memory mem,
uint64_t  baseaddr,
unsigned char *  rgb_palette,
int  color_fb_flag 
)

◆ DEVICE_ACCESS() [1/2]

DEVICE_ACCESS ( kn01  )

Definition at line 78 of file dev_kn01.cc.

References cpu::byte_order, kn01_data::csr, csr, data, EMUL_LITTLE_ENDIAN, fatal(), and MEM_WRITE.

◆ DEVICE_ACCESS() [2/2]

DEVICE_ACCESS ( vdac  )

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