Do some initialization. (Just in case.)

This commit is contained in:
bʰedoh₂ swé 2024-10-20 17:48:37 +05:00
parent c0bf444c73
commit 0d967bbff4

5
boot.c
View File

@ -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++)