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

Binary file not shown.

View File

@@ -1,4 +1,5 @@
#include "syscall.h"
#include <stdlib.h>
#include <unistd.h>
#include <stdio.h>
#include <string.h>
@@ -23,16 +24,14 @@ void parse_cmd() {
return;
}
// need a strcat
char* dst = path;
strcpy(dst, bin_dir);
dst = path + strlen(bin_dir);
strcpy(dst, buf);
strcpy(path, bin_dir);
strcat(path, buf);
int pid = fork();
if (pid == 0) {
if (!exec(path)) {
return;
printf("failed to execute %s\n", path);
exit(0);
}
}