📄 kangaroo.c
字号:
/* CHANGELOG
97/04/xx renamed the arabian.c and modified it to suit
kangaroo. -V-
*/
/***************************************************************************
machine.c
Functions to emulate general aspects of the machine (RAM, ROM, interrupts,
I/O ports)
***************************************************************************/
#include "driver.h"
#include "Z80/Z80.h"
static int kangaroo_clock=0;
/* I have no idea what the security chip is nor whether it really does,
this just seems to do the trick -V-
*/
int kangaroo_sec_chip_r(int offset)
{
/* kangaroo_clock = (kangaroo_clock << 1) + 1; */
kangaroo_clock++;
return (kangaroo_clock & 0x0f);
}
void kangaroo_sec_chip_w(int offset, int val)
{
/* kangaroo_clock = val & 0x0f; */
}
⌨️ 快捷键说明
复制代码
Ctrl + C
搜索代码
Ctrl + F
全屏模式
F11
切换主题
Ctrl + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -