pritamzope / OS

Writing & Making Operating System and Kernel parts so simple like Hello World Programs, Starting from writing Bootloaders, Hello World Kernel, GDT, IDT, Terminal, Keyboard/Mouse, Memory Manager, HDD ATA R/W, VGA/VESA Graphics
http://createyourownos.blogspot.com
663 stars 103 forks source link

Bitmap lower-case rendering issue #19

Closed chardida closed 2 years ago

chardida commented 3 years ago

In /VGA/Bitmaps/kernel.c when I try to draw bitmapped lowercase letters on the screen the letter does not display, when using the draw_string() function. I understand this is because there is no definition for lower-case letters in bitmap.c but I don`t know how to make the definitions - there is no page I have found so far on the internet explaining how.

xing1357 commented 2 years ago

I hope someone else can explain this better, but bitmaps are stored in an array. Basically, B10010011 would turn on a certain number of pixels, and you would do that for each of the 8 rows.