Subversion Repositories Shiroi

Rev

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

Rev 19 Rev 21
Line 1... Line 1...
1
/* $Id: shiroi.c 19 2024-08-29 07:16:04Z nishi $ */
1
/* $Id: shiroi.c 21 2024-08-31 09:25:21Z nishi $ */
2
 
2
 
3
#include "shiroi.h"
3
#include "shiroi.h"
4
 
4
 
5
#include "card/shiroi_video_mk_i.h"
5
#include "card/shiroi_video_mk_i.h"
6
#include "card/shiroi_video_mk_ii.h"
6
#include "card/shiroi_video_mk_ii.h"
Line 168... Line 168...
168
			uint16_t addr = io & 0xff;
168
			uint16_t addr = io & 0xff;
169
			uint16_t data = (io >> 8) & 0xff;
169
			uint16_t data = (io >> 8) & 0xff;
170
 
170
 
171
			if(shiroi->z80_pins & Z80_M1) {
171
			if(shiroi->z80_pins & Z80_M1) {
172
			} else {
172
			} else {
-
 
173
				if(addr == 0x80) printf("%d\n", data);
173
				shiroi_video_mk_i(shiroi);
174
				shiroi_video_mk_i(shiroi);
174
				shiroi_video_mk_ii(shiroi);
175
				shiroi_video_mk_ii(shiroi);
175
				shiroi_sound_mk_i(shiroi);
176
				shiroi_sound_mk_i(shiroi);
176
				shiroi_math_mk_i(shiroi);
177
				shiroi_math_mk_i(shiroi);
177
				shiroi_text_mk_i(shiroi);
178
				shiroi_text_mk_i(shiroi);