actually made initial commit work and added readme

This commit is contained in:
Bryan McShea
2024-01-16 00:48:39 -05:00
parent 42b47201fe
commit e5a6b6073f
4 changed files with 11 additions and 7 deletions

View File

@@ -160,7 +160,7 @@ pub fn draw_test(framebuffer: &mut FrameBuffer) {
.unwrap(); .unwrap();
// Draw centered text. // Draw centered text.
let text = "embedded-graphics"; let text = "jugando";
Text::with_alignment( Text::with_alignment(
text, text,
display.bounding_box().center() + Point::new(0, 15), display.bounding_box().center() + Point::new(0, 15),

View File

@@ -3,10 +3,6 @@ use core::fmt::Arguments;
#[doc(hidden)] #[doc(hidden)]
pub fn _log(args: Arguments<'_>) { pub fn _log(args: Arguments<'_>) {
use core::fmt::Write;
interrupts::without_interrupts(|| {
UART.lock().write_fmt(args).unwrap();
})
} }
#[macro_export] #[macro_export]

9
readme.md Normal file
View File

@@ -0,0 +1,9 @@
# uhhhhhh
so I'm learning from [this](https://os.phil-opp.com/)
I'm probably either going to keep enjoying this and actually make it usable or get annoyed but learn enough to work on redox...
or lose motivation :sunglasses:
either way I at least want to learn OS / cpu arch fundamentals through this

View File

@@ -1,10 +1,9 @@
use std::{ use std::{
env, env,
path::PathBuf,
process::{self, Command, Stdio}, process::{self, Command, Stdio},
}; };
use clap::{Args, Parser, ValueEnum}; use clap::Parser;
use os::Bootloader; use os::Bootloader;
#[derive(Parser)] #[derive(Parser)]