if(!slbcr) {
bool next = ((data & mask) != 0);
if((bcr == 2 && ear && !next) || (bcr == 4 && !ear && next) || (bcr == 6 && ear != next)) {
- icrb = passed_clock(cur_clock) / 4;
+ icrb = get_passed_clock(cur_clock) / 4;
isr |= BIT_ICF;
update_intr();
}
{
if(event_id == EVENT_FRC) {
// FRC overflow event
- cur_clock = current_clock();
+ cur_clock = get_current_clock();
isr |= BIT_OVF;
update_intr();
} else if(event_id == EVENT_1SEC) {
switch(addr & 0xff) {
case 0x00:
// ICRL.C (latch FRC value)
- icrc = passed_clock(cur_clock) / 4;
+ icrc = get_passed_clock(cur_clock) / 4;
return icrc & 0xff;
case 0x01:
// ICRH.C
return 0xff;
}
-uint32 IO::intr_ack()
+uint32 IO::get_intr_ack()
{
if(isr & BIT_7508) {
isr &= ~BIT_7508;
}
}
for(int y = 0; y < 64; y++) {
- scrntype* dest = emu->screen_buffer(y);
+ scrntype* dest = emu->get_screen_buffer(y);
for(int x = 0; x < 480; x++) {
dest[x] = lcd[y][x] ? pd : pb;
}
}
} else {
for(int y = 0; y < 64; y++) {
- scrntype* dest = emu->screen_buffer(y);
+ scrntype* dest = emu->get_screen_buffer(y);
for(int x = 0; x < 480; x++) {
dest[x] = pb;
}