Subversion Repositories Shiroi

Rev

Rev 21 | Go to most recent revision | Show entire file | Ignore whitespace | Details | Blame | Last modification | View Log | RSS feed

Rev 21 Rev 22
Line 1... Line 1...
1
/* $Id: shiroi.h 21 2024-08-31 09:25:21Z nishi $ */
1
/* $Id: shiroi.h 22 2024-08-31 10:44:32Z nishi $ */
2
 
2
 
3
#ifndef __SHIROI_H__
3
#ifndef __SHIROI_H__
4
#define __SHIROI_H__
4
#define __SHIROI_H__
5
 
5
 
6
#include "chips_common.h"
6
#include "chips_common.h"
Line 64... Line 64...
64
	int latch_addr;
64
	int latch_addr;
65
	int tick;
65
	int tick;
66
} shiroi_debug_t;
66
} shiroi_debug_t;
67
 
67
 
68
typedef struct {
68
typedef struct {
69
//	union {
69
	union {
70
		shiroi_video_t video;
70
		shiroi_video_t video;
71
		shiroi_sound_t sound;
71
		shiroi_sound_t sound;
72
		shiroi_math_t math;
72
		shiroi_math_t math;
73
		shiroi_text_t text;
73
		shiroi_text_t text;
74
		shiroi_debug_t debug;
74
		shiroi_debug_t debug;
75
//	};
75
	};
76
	shiroi_video_t* videoptr;
76
	shiroi_video_t* videoptr;
77
	shiroi_sound_t* soundptr;
77
	shiroi_sound_t* soundptr;
78
	shiroi_math_t* mathptr;
78
	shiroi_math_t* mathptr;
79
	shiroi_text_t* textptr;
79
	shiroi_text_t* textptr;
80
	shiroi_debug_t* debugptr;
80
	shiroi_debug_t* debugptr;