SayoriOS 0.3.3

lcd.h
1 #ifndef LCD_H
2 #define LCD_H
3
4 #include "portability.h"
5
6 int lcd_init(void);
7 int lcd_cycle(void);
8 int lcd_get_line(void);
9 unsigned char lcd_get_stat();
10 void lcd_write_control(unsigned char);
11 void lcd_write_stat(unsigned char);
12 void lcd_write_scroll_x(unsigned char);
13 void lcd_write_scroll_y(unsigned char);
14 void lcd_write_bg_palette(unsigned char);
15 void lcd_write_spr_palette1(unsigned char);
16 void lcd_write_spr_palette2(unsigned char);
17 void lcd_set_window_y(unsigned char);
18 void lcd_set_window_x(unsigned char);
19 void lcd_set_ly_compare(unsigned char);
20 unsigned char lcd_get_ly_compare(void);
21 #endif