Do some initialization. (Just in case.)
This commit is contained in:
parent
c0bf444c73
commit
0d967bbff4
5
boot.c
5
boot.c
@ -18,6 +18,11 @@ HEDLEY_NEVER_INLINE void printboard(void);
|
|||||||
char numpadkeys[];
|
char numpadkeys[];
|
||||||
|
|
||||||
void _start(void) {
|
void _start(void) {
|
||||||
|
__asm__ volatile (
|
||||||
|
"movl $0x8000, %esp\n"
|
||||||
|
"ljmp $(0),$(start)\n"
|
||||||
|
"start:\n"
|
||||||
|
);
|
||||||
Cell cur = CROSS;
|
Cell cur = CROSS;
|
||||||
for (char i = 0; i < 3; i++)
|
for (char i = 0; i < 3; i++)
|
||||||
for (char j = 0; j < 3; j++)
|
for (char j = 0; j < 3; j++)
|
||||||
|
Loading…
Reference in New Issue
Block a user