mirror of
https://github.com/JannisHeydemann/BoredOS.git
synced 2026-05-30 02:16:58 +00:00
BrewOS 1.40 Beta
BrewOS 1.31 > BrewOS 1.40 Brewkernel 2.3.0 Alpha > Brewkernel 2.3.1 Beta This update is a feature focused update. It features loads of quality of life and major UX improvements. New features: -Drag and drop for files and applications (shortcuts for apps can be made by dragging an app from the start menu into the desktop) -Customizable desktop (auto align, snap to grid -Recycle bin (rm in the CMD skips this)
This commit is contained in:
@@ -162,7 +162,7 @@ static void vm_syscall(int id) {
|
||||
break;
|
||||
}
|
||||
case SYS_STRCAT: {
|
||||
// Not implemented in cli_utils, skip
|
||||
// Not implemented in cli_utils
|
||||
pop(); pop(); push(0);
|
||||
break;
|
||||
}
|
||||
@@ -188,8 +188,7 @@ static void vm_syscall(int id) {
|
||||
}
|
||||
// Simplified Heap (using top of memory growing down?)
|
||||
// For now, static allocation or mapped.
|
||||
// Let's implement a dummy malloc that returns an index into memory
|
||||
// Starting at 1024 (reserve first 1K for globals)
|
||||
// Dummy malloc that returns an index into memory starting at 1024
|
||||
case SYS_MALLOC: {
|
||||
int size = pop();
|
||||
int res = vm_heap_ptr;
|
||||
@@ -317,8 +316,8 @@ static void vm_syscall(int id) {
|
||||
push(0);
|
||||
break;
|
||||
}
|
||||
case SYS_EXEC: pop(); push(-1); break; // Not impl
|
||||
case SYS_SYSTEM: pop(); push(-1); break; // Not impl
|
||||
case SYS_EXEC: pop(); push(-1); break;
|
||||
case SYS_SYSTEM: pop(); push(-1); break;
|
||||
|
||||
// --- New Builtins ---
|
||||
case SYS_ISALNUM: {
|
||||
@@ -601,7 +600,6 @@ int vm_exec(const uint8_t *code, int code_size) {
|
||||
break;
|
||||
}
|
||||
case OP_POP:
|
||||
// cmd_write("DEBUG: POP\n");
|
||||
pop();
|
||||
break;
|
||||
default:
|
||||
|
||||
Reference in New Issue
Block a user