added some useless shell commands

This commit is contained in:
2026-07-12 04:37:46 -05:00
parent 3c6fd8cb65
commit d60036a4bd
13 changed files with 96 additions and 7 deletions

View File

@@ -79,13 +79,15 @@ void vga_putchar(char c) {
}
}
uint32_t vga_write(vfs_node_t* node, uint32_t offset, uint32_t size, uint8_t* buf) {
uint32_t vga_seek(vfs_node_t* node, uint32_t offset, int whence) {
terminal_row = offset / VGA_WIDTH;
terminal_column = offset % VGA_WIDTH;
return 0;
}
uint32_t vga_write(vfs_node_t* node, uint32_t offset, uint32_t size, uint8_t* buf) {
for (uint32_t i = 0; i < size; i++) {
vga_putchar((char)buf[i]);
}
return size;
}