trash/nice-os

Clone repo: git clone https://git.topcheto.eu/trash/nice-os.git
All branches, All tags, View raw

File contents

#ifndef CONSOLE_H
#define CONSOLE_H

#define VGA_WIDTH 80
#define VGA_HEIGHT 25
#define NULL ((void*)0)
#include <stdio.h>

void con_clear();
unsigned short con_getCursor();
void con_setCursor(unsigned short pt);

void con_printIntAsHex(int val);
void con_printByteAsHex(unsigned char val);
void con_setColor(char col);

void con_printCharNoUpdate(char ch);
void con_printChar(char ch);

void con_init();

void con_printStringNoUpdate(const char* str);
void con_printString(const char* str);

#endif