trying to get VGA fb mode to work..

This commit is contained in:
2026-07-14 00:07:50 -05:00
parent 5c7febbbf0
commit 454de8feed
17 changed files with 567 additions and 300 deletions

View File

@@ -0,0 +1,8 @@
#ifndef RLIBC_STDLIB_H
#define RLIBC_STDLIB_H
#include <stddef.h>
void* malloc(size_t size);
#endif

View File

@@ -10,5 +10,6 @@ void *memset(void *s, int c, size_t n);
size_t strlen(const char *s);
int strcmp(const char *s1, const char *s2);
char *strcpy(char *dest, const char *src);
char* strcat(char *dest, const char* src);
#endif

View File

@@ -9,6 +9,8 @@
#define SYS_WRITE 4
#define SYS_OPEN 5
#define SYS_CLOSE 6
#define SYS_BRK 12
#define SYS_SBRK 13
#define SYS_PTY 20
#define SYS_FORK 21
#define SYS_EXEC 22
@@ -25,7 +27,7 @@ int lseek(int fd, size_t offset, int whence);
void exit(int status) __attribute__((noreturn));
void *sbrk(intptr_t increment);
void* sbrk(int32_t increment);
int brk(void *addr);
int pty(int* slave);