actually made initial commit work and added readme
This commit is contained in:
@@ -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),
|
||||||
|
|||||||
@@ -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
9
readme.md
Normal 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
|
||||||
|
|
||||||
@@ -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)]
|
||||||
|
|||||||
Reference in New Issue
Block a user