Skip to content
/ Cy6er7um Public template

๐Ÿ“„ My profile.

Notifications You must be signed in to change notification settings

Cy6er7um/Cy6er7um

Folders and files

NameName
Last commit message
Last commit date

Latest commit

ย 

History

12 Commits
ย 
ย 
ย 
ย 
ย 
ย 

Repository files navigation

๐Ÿ‘‹ เฎ Cy6er7um เฎ GitHub Followers Twitter Followers

#![no_std] // This is a minimal kernel.
#![no_main]

use core::panic::PanicInfo;

#[panic_handler]
fn panic(_info: &PanicInfo) -> ! { loop {} }

#[no_mangle]
pub extern "C" fn _start() -> ! {
    let message = "Hi, I am Cy6er7um!"; // โ˜ฌ
    let buffer = 0xb8000 as *mut u8;
    for (i, &b) in message.as_bytes().iter().enumerate() {
        unsafe { // โ˜ˆ
            *buffer.offset(i as isize * 2) = b;
            *buffer.offset(i as isize * 2 + 1) = 0xb;
        }
    }
    loop {}
}

๐Ÿ“• โ€ Environment โ€

๐Ÿ“ƒ ใ€„ Analysis ใ€„

๐Ÿ“ž โ… Contact โ…

Github: @Cy6er7um
Twitter: @Cy6er7um
Mail: Cy6er7um@gmail.com

โ˜ฌ โ˜ฌ