diff --git a/kernel/data/⑨. バカ b/kernel/data/⑨. バカ new file mode 100644 index 000000000..c9058b930 --- /dev/null +++ b/kernel/data/⑨. バカ @@ -0,0 +1,33 @@ + + .//// *(#### + (####((/, (########, + (##%##(###(( ,(#########%# + #%%%%###(###((. *((####%%&%%%%# + .#####%%%%%####((. *(####%&&&&&%%%%# + #(((((((##%%&&%#((/ /#(##%&&%########## + /######%%%%%%%(..........(#%%%%%%#####%%# + ,#%%%%%%#/...... ..............,&&&%%###. + ,%%#(#(...........................(#&&%%# + .###%...............................%%#(#. + #%&.................................%# + ,%&&*.................................&&%( + %%#//........./............*/..,......&&&%# + .......,..............*,*.,,,,,,. + ......./....,.........*,,,,.,,,,,, + ,...../..(###%,.....&*&%###/..,.,,. + ,,..../%(((#(,.....,%%%%###,..,..,. + .,,*.../..,#,.........,(&(,,**.,,,,, + ,/((..,*..........,,.,,,,,**.,##(( + /(((%%%,,,,,.,,,,,,,,,,,#/##(,(/ + .***..(,.#%%%&&#/%,,(%*,,**# + **,...,(#%%%%&#%%%#%%%%,,.,,***. + .....,*,*#%%%%%###%##%%%&,,*,,.... + ......,*/. (############%%%&&&&#*,,.... + ...,*,..,(((((((((((#((((((((((((&&&#*, + ,##///////(((((((((((((#///#///(##/. + /*/**//... ...**(((((((,. .,*...... + ....... ......,,/*,. ........... + ,..,,,,...... .. .... ,,....... ..,,, + ........,.,.,*//////*,......,. + ...,,,, ,,,,,, + diff --git a/kernel/src/kmain.rs b/kernel/src/kmain.rs index 99e318e8e..cb427af69 100644 --- a/kernel/src/kmain.rs +++ b/kernel/src/kmain.rs @@ -2,6 +2,12 @@ pub fn kmain(cmdline: &str, initrd: Option<&'static [u8]>) -> ! { log::debug!("Entered kmain"); + + // TODO: Actual cmdline parsing (Serde?) + if cmdline.contains("baka=9") { + let _ = crate::arch::log(format_args!(include_str!("../data/⑨. バカ"))); + } + log::info!("Cmdline: \"{cmdline}\""); let initrd = initrd.expect("no initrd found"); diff --git a/repbuild/limine.cfg b/repbuild/limine.cfg index 19a9fa68e..bfbe0b45a 100644 --- a/repbuild/limine.cfg +++ b/repbuild/limine.cfg @@ -4,7 +4,7 @@ ${ABLEOS_KERNEL}=boot:///kernel DEFAULT_ENTRY=1 TIMEOUT=3 VERBOSE=yes -INTERFACE_RESOLUTION=800x600 +INTERFACE_RESOLUTION=1024x768 # Terminal related settings TERM_WALLPAPER=boot:///background.bmp TERM_BACKDROP=008080 @@ -15,7 +15,7 @@ TERM_BACKDROP=008080 KERNEL_PATH=${ABLEOS_KERNEL} KERNEL_CMDLINE= # Setting a default resolution for the framebuffer - RESOLUTION=800x600x24 + RESOLUTION=1024x768x24 # MODULE_PATH=boot:///boot/initrd.tar # MODULE_CMDLINE=This is the first module.