LCD_Command_Write = 0x40; // Command 'System Set'
LCD_Data_Write = 0x30; // P1 DR T/L IV 1 W/S M2 M1 M0
// 0 0 1 1 0 0 0 0
LCD_Data_Write = 0x87; // P2 WF 0 0 0 0 FX FX FX
// 1 0 0 0 0 1 1 1
LCD_Data_Write = 0x07; // P3 0 0 0 0 FY FY FY FY
// 0 0 0 0 0 1 1 1
LCD_Data_Write = 0x27; // P4 C/R
// 0 0 1 0 0 1 1 1
LCD_Data_Write = 0x2e; // P5 T/CR
// 0 0 1 0 1 1 1 1
LCD_Data_Write = 0xef; // P6 L/F
// 1 1 1 0 1 1 1 1
LCD_Data_Write = 0x28; // P7 APL
// 0 0 1 0 1 0 0 0
LCD_Data_Write = 0x00; // P8 APH
// 0 0 0 0 0 0 0 0
LCD_Command_Write = 0x44; // Command 'Scroll'
LCD_Data_Write = 0x00; // P1 SAD1L
// 0 0 0 0 0 0 0 0
LCD_Data_Write = 0x00; // P2 SAD1H
// 0 0 0 0 0 0 0 0
LCD_Data_Write = 0xf0; // P3 SL1
// 1 1 1 1 0 0 0 0
LCD_Data_Write = 0x80; // P4 SAD2L
// 0 0 0 0 0 0 0 0
LCD_Data_Write = 0x25; // P5 SAD2H
// 0 0 0 0 0 0 0 0
LCD_Data_Write = 0xf0; // P6 SL2
// 1 1 1 1 0 0 0 0
LCD_Data_Write = 0x00; // P7 SAD3L
LCD_Data_Write = 0x4b; // P8 SAD3H
LCD_Data_Write = 0x00; // P9 SAD4L
LCD_Data_Write = 0x00; // P10 SAD4L
LCD_Command_Write = 0x5b; // Command 'OVLAY'
LCD_Data_Write = 0x1f; // P1 0 0 0 0V DM2 DM1 MX1 MX0
// 0 0 0 1 1 1 1 1
LCD_Command_Write = 0x5a; // Command 'HDOT SCR'
LCD_Data_Write = 0x00; // P1 0 0 0 0 0 D2 D1 D0
// 0 0 0 0 0 0 0 0
LCD_Command_Write = 0x4c; // Command 'CSR DIR'
FillVideoPage(3, 0x00);
LCD_Command_Write = 0x59; // Command 'DISP ON'
LCD_Data_Write = 0xe4; // P1 FP5 FP4 FP3 FP2 FP1 FP0 FC1 FC0
// 1 1 1 0 0 1 0 0
activeVideoPage = VideoPage0;
DrawLine(0, 38, 319, 38, 1);