#include <string.h>
#include <stdint.h>
#include "vga.h"
+#include "mem.h"
void drawtext(int x, int y, const char *s)
{
vga_reset();
+ mem_init();
+ intr_init();
+
line = 0;
for(;;) {
scroll = line <= 24 ? 0 : line - 24;
vga_setcolor(VGA_YELLOW | VGA_BRIGHT, VGA_BLACK);
drawtext(line & 7, row, buf);
- for(i=0; i<65536 * 4; i++) {
+ for(i=0; i<65536 * 16; i++) {
buf[0] = twirl[(i >> 15) & 3];
buf[1] = 0;
vga_setcolor(VGA_WHITE, VGA_BLACK);