forked from AbleOS/ableos
Changed console resolution
This commit is contained in:
parent
eb93deae25
commit
ea7bbacc56
33
kernel/data/⑨. バカ
Normal file
33
kernel/data/⑨. バカ
Normal file
|
@ -0,0 +1,33 @@
|
||||||
|
|
||||||
|
.//// *(####
|
||||||
|
(####((/, (########,
|
||||||
|
(##%##(###(( ,(#########%#
|
||||||
|
#%%%%###(###((. *((####%%&%%%%#
|
||||||
|
.#####%%%%%####((. *(####%&&&&&%%%%#
|
||||||
|
#(((((((##%%&&%#((/ /#(##%&&%##########
|
||||||
|
/######%%%%%%%(..........(#%%%%%%#####%%#
|
||||||
|
,#%%%%%%#/...... ..............,&&&%%###.
|
||||||
|
,%%#(#(...........................(#&&%%#
|
||||||
|
.###%...............................%%#(#.
|
||||||
|
#%&.................................%#
|
||||||
|
,%&&*.................................&&%(
|
||||||
|
%%#//........./............*/..,......&&&%#
|
||||||
|
.......,..............*,*.,,,,,,.
|
||||||
|
......./....,.........*,,,,.,,,,,,
|
||||||
|
,...../..(###%,.....&*&%###/..,.,,.
|
||||||
|
,,..../%(((#(,.....,%%%%###,..,..,.
|
||||||
|
.,,*.../..,#,.........,(&(,,**.,,,,,
|
||||||
|
,/((..,*..........,,.,,,,,**.,##((
|
||||||
|
/(((%%%,,,,,.,,,,,,,,,,,#/##(,(/
|
||||||
|
.***..(,.#%%%&&#/%,,(%*,,**#
|
||||||
|
**,...,(#%%%%&#%%%#%%%%,,.,,***.
|
||||||
|
.....,*,*#%%%%%###%##%%%&,,*,,....
|
||||||
|
......,*/. (############%%%&&&&#*,,....
|
||||||
|
...,*,..,(((((((((((#((((((((((((&&&#*,
|
||||||
|
,##///////(((((((((((((#///#///(##/.
|
||||||
|
/*/**//... ...**(((((((,. .,*......
|
||||||
|
....... ......,,/*,. ...........
|
||||||
|
,..,,,,...... .. .... ,,....... ..,,,
|
||||||
|
........,.,.,*//////*,......,.
|
||||||
|
...,,,, ,,,,,,
|
||||||
|
|
|
@ -2,6 +2,12 @@
|
||||||
|
|
||||||
pub fn kmain(cmdline: &str, initrd: Option<&'static [u8]>) -> ! {
|
pub fn kmain(cmdline: &str, initrd: Option<&'static [u8]>) -> ! {
|
||||||
log::debug!("Entered kmain");
|
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}\"");
|
log::info!("Cmdline: \"{cmdline}\"");
|
||||||
let initrd = initrd.expect("no initrd found");
|
let initrd = initrd.expect("no initrd found");
|
||||||
|
|
||||||
|
|
|
@ -4,7 +4,7 @@ ${ABLEOS_KERNEL}=boot:///kernel
|
||||||
DEFAULT_ENTRY=1
|
DEFAULT_ENTRY=1
|
||||||
TIMEOUT=3
|
TIMEOUT=3
|
||||||
VERBOSE=yes
|
VERBOSE=yes
|
||||||
INTERFACE_RESOLUTION=800x600
|
INTERFACE_RESOLUTION=1024x768
|
||||||
# Terminal related settings
|
# Terminal related settings
|
||||||
TERM_WALLPAPER=boot:///background.bmp
|
TERM_WALLPAPER=boot:///background.bmp
|
||||||
TERM_BACKDROP=008080
|
TERM_BACKDROP=008080
|
||||||
|
@ -15,7 +15,7 @@ TERM_BACKDROP=008080
|
||||||
KERNEL_PATH=${ABLEOS_KERNEL}
|
KERNEL_PATH=${ABLEOS_KERNEL}
|
||||||
KERNEL_CMDLINE=
|
KERNEL_CMDLINE=
|
||||||
# Setting a default resolution for the framebuffer
|
# Setting a default resolution for the framebuffer
|
||||||
RESOLUTION=800x600x24
|
RESOLUTION=1024x768x24
|
||||||
|
|
||||||
# MODULE_PATH=boot:///boot/initrd.tar
|
# MODULE_PATH=boot:///boot/initrd.tar
|
||||||
# MODULE_CMDLINE=This is the first module.
|
# MODULE_CMDLINE=This is the first module.
|
||||||
|
|
Loading…
Reference in a new issue