Move screen init into crt0.s
This commit is contained in:
committed by
Oliver Schmidt
parent
74a904be54
commit
cdb8035cf0
@@ -34,19 +34,10 @@ unsigned char bit_reverse(unsigned char n)
|
||||
return (bit_reverse_lookup[n&0b1111] << 4) | bit_reverse_lookup[n>>4];
|
||||
}
|
||||
|
||||
void init_screen(void)
|
||||
{
|
||||
SV_LCD.height = 0xA0;
|
||||
SV_LCD.width = 0xA0;
|
||||
SV_BANK = 0xC9;
|
||||
}
|
||||
|
||||
int main()
|
||||
{
|
||||
unsigned char i;
|
||||
|
||||
init_screen();
|
||||
|
||||
clear_screen();
|
||||
|
||||
for(i=0;i<8;++i)
|
||||
|
||||
Reference in New Issue
Block a user