print syscall

This commit is contained in:
sawyer committed 2025-08-29 15:05:19 -06:00
1 parent f3c67beb00
commit 1bbd988ef7
4 files changed
+26 -1

No files matched your search

+10
View File
@@ -3,6 +3,16 @@
use abi_sys::{Syscall, call_abi};
use shared::keyboard::{KeyCode, KeyEvent, KeyState, Modifiers};
pub fn print(msg: &str) {
let syscall = Syscall::Print {
msg: msg.as_ptr(),
len: msg.len(),
};
unsafe {
call_abi(&syscall);
}
}
pub mod display {
use crate::{Syscall, call_abi};
use embedded_graphics::{