27 lines
533 B
C
27 lines
533 B
C
// asmfuncs.h
|
|
// Author: Josh Holtrop
|
|
// Created: 02/26/04
|
|
|
|
#ifndef __HOS_ASMFUNCS__
|
|
#define __HOS_ASMFUNCS__ __HOS_ASMFUNCS__
|
|
|
|
dword write_cr0(dword cr0);
|
|
dword read_cr0();
|
|
dword write_cr3(dword cr3);
|
|
dword read_cr2();
|
|
dword read_cr3();
|
|
void writeCursorPosition(dword pos);
|
|
dword getCursorPosition();
|
|
void console_scroll();
|
|
void console_cls();
|
|
int puts(char *str);
|
|
int putDec(int number);
|
|
int putDecu(dword number);
|
|
void strcpy(char *dest, char *src);
|
|
void memcpy(void *dest, void *src, dword n);
|
|
dword strlen(char *str);
|
|
|
|
#endif
|
|
|
|
|