📄 13506_crt.c
字号:
//-------------------------------------------------
//
//----------------------------------------------
void seCrtDisplayEnable(BOOL activate)
{
unsigned byte1fc;
// Make sure the PAL TV bit [Reg[5B] bit 0] is clear.
seWriteRegByte(0x5B, seReadRegByte(0x5B) & ~0x01);
byte1fc = seReadRegByte(0x1FC); // REG_DISPLAY_MODE
byte1fc &= ~0x06; // disable CRT & TV,preserve the LCD on bit
if (activate)
byte1fc |= 0x2; // enable CRT
seWriteRegByte(0x1FC, byte1fc); // enable or disable CRT display
}
⌨️ 快捷键说明
复制代码
Ctrl + C
搜索代码
Ctrl + F
全屏模式
F11
切换主题
Ctrl + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -