Made fonts not have to be assembled every time and made open file table

This commit is contained in:
2024-08-16 18:42:42 +02:00
parent f0edcb0459
commit 6d9b807fe6
8 changed files with 40 additions and 203 deletions
+5 -4
View File
@@ -7,10 +7,11 @@
#include <stdint.h>
// Nobody should have to interface with the internals of this structure
typedef struct _iobuf {
char* _ptr;
int _file;
int _oflag;
typedef struct _iobuf { // 16B
char* _ptr; // Virtual address of file base
int _offset; // Offset into file; Seek()
int _file; // File descriptor
int _oflag; // Flags used to open file
} FILE;
FILE* stdin;