if(ea<offset || ea>=offset+size) return 0;
ea-=offset;
switch(ea) {
+ case HW_SECURITY:
+ return (mem[ea]&0x70)|0x0F;
case HW_TIMER0_CONTROL:
case HW_TIMER1_CONTROL:
case HW_TIMER2_CONTROL:
CRCpos=!CRCpos;
return r;
}
- case HW_SECURITY:
default:
return mem[ea];
}
if(ea<offset || ea>=offset+size) return;
ea-=offset;
switch(ea) {
- case HW_SECURITY:
- mem[ea]=(val&0x70)|0x0F;
- break;
case HW_TIMER0_CONTROL:
case HW_TIMER1_CONTROL:
case HW_TIMER2_CONTROL: