Subversion Repositories Shiroi

Rev

Rev 7 | Show entire file | Ignore whitespace | Details | Blame | Last modification | View Log | RSS feed

Rev 7 Rev 10
Line 1... Line 1...
1
/* $Id: shiroi_text_mk_i.c 7 2024-08-28 14:02:52Z nishi $ */
1
/* $Id: shiroi_text_mk_i.c 10 2024-08-29 01:39:27Z nishi $ */
2
#include "shiroi_text_mk_i.h"
2
#include "shiroi_text_mk_i.h"
3
 
3
 
4
#include "shiroi.h"
4
#include "shiroi.h"
5
 
5
 
6
#include <stdlib.h>
6
#include <stdlib.h>
Line 11... Line 11...
11
 
11
 
12
	shiroi->cards[slot].text.key = 0;
12
	shiroi->cards[slot].text.key = 0;
13
	shiroi->cards[slot].text.caps = false;
13
	shiroi->cards[slot].text.caps = false;
14
}
14
}
15
 
15
 
-
 
16
void shiroi_text_mk_i_reset(shiroi_t* shiroi, int slot) {
-
 
17
	shiroi->cards[slot].text.key = 0;
-
 
18
	shiroi->cards[slot].text.caps = false;
-
 
19
}
-
 
20
 
16
void shiroi_text_mk_i(shiroi_t* shiroi) {
21
void shiroi_text_mk_i(shiroi_t* shiroi) {
17
	int i;
22
	int i;
18
 
23
 
19
	uint16_t io = Z80_GET_ADDR(shiroi->z80_pins);
24
	uint16_t io = Z80_GET_ADDR(shiroi->z80_pins);
20
	uint16_t addr = io & 0xff;
25
	uint16_t addr = io & 0xff;