Subversion Repositories Shiroi

Rev

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

Rev 7 Rev 10
Line 1... Line 1...
1
/* $Id: shiroi.h 7 2024-08-28 14:02:52Z nishi $ */
1
/* $Id: shiroi.h 10 2024-08-29 01:39:27Z 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 77... Line 77...
77
	uint64_t z80_pins;
77
	uint64_t z80_pins;
78
	z80_t z80;
78
	z80_t z80;
79
	bool stop;
79
	bool stop;
80
	void (*play_audio)(void* buffer, unsigned int frames);
80
	void (*play_audio)(void* buffer, unsigned int frames);
81
	shiroi_card_t cards[256 / 3];
81
	shiroi_card_t cards[256 / 3];
-
 
82
	bool reset;
82
} shiroi_t;
83
} shiroi_t;
83
 
84
 
84
void shiroi_init(shiroi_t* shiroi);
85
void shiroi_init(shiroi_t* shiroi);
85
void shiroi_init_cards(shiroi_t* shiroi);
86
void shiroi_init_cards(shiroi_t* shiroi);
86
void shiroi_loop(shiroi_t* shiroi);
87
void shiroi_loop(shiroi_t* shiroi);