Commit Graph

30 Commits

Author SHA1 Message Date
Jarkko Toivanen bcf49f4fef
Framebuffer supports colour now 2024-01-26 18:38:18 +02:00
Jarkko Toivanen bbd80c4f78
Cleaning up 2024-01-26 18:23:51 +02:00
Jarkko Toivanen 3dd934bd83
Fixed R/G/B field information fetching from Multiboot 2024-01-13 03:28:43 +02:00
Jarkko Toivanen a0ba839215
Get sweet R/G/B positions as numbers for debugging 2024-01-13 02:36:35 +02:00
Jarkko Toivanen e4172c14bb
Fancy colour loop 2023-09-21 21:06:37 +03:00
Jarkko Toivanen 9ef19730e3
Forgot a stray CLD instruction lol 2023-09-08 12:03:52 +03:00
Jarkko Toivanen f9c0bd3db6
Improved framebuffer compatibility and memory safeguard 2023-09-08 12:02:02 +03:00
Jarkko Toivanen 55fb99f0e1
Not the whole screenbuffer width was accessible 2023-09-06 20:28:25 +03:00
Jarkko Toivanen 1b9f7f8ee5
Making a working (at last!) 24/32 bpp framebuffer but only grayscale.
Cool logo included
2023-09-06 19:58:40 +03:00
Jarkko Toivanen 3c121e97f4
Framebuffer putpixel LEGGOOO! (disabled paging lol) 2023-08-02 20:16:43 +03:00
Jarkko Toivanen 8709de5747
Better separation on BSS if it grws or something 2023-08-02 14:19:46 +03:00
Jarkko Toivanen 1034574d1e
Making the Multiboot structure a bit shorter to conserve line length 2023-08-01 21:23:14 +03:00
Jarkko Toivanen 208d05b139
Forgat my os is supposed to be called rOSka 2023-08-01 21:05:36 +03:00
Jarkko Toivanen 148634efff
Pagingggggggg! (identity mapped low 4M) 2023-07-25 05:45:32 +03:00
Jarkko Toivanen d542ed42d6
Serial init error handling removed: no more VGA text memory to print to 2023-07-25 01:02:13 +03:00
Jarkko Toivanen e16da3adc8
Multiboot parsing and uitoa impl 2023-07-24 21:48:21 +03:00
Jarkko Toivanen ebf9982c07
Improved serial init handling. Optimized pushing/poping. 2023-07-24 17:08:48 +03:00
Jarkko Toivanen 9fc1cd0064
Passing the strings to string prints through stack 2023-07-24 05:17:57 +03:00
Jarkko Toivanen e2572d50af
FASMMMMMMM 2023-07-24 04:20:54 +03:00
Jarkko Toivanen 946c9e468d
Take AOUT_KLUDGE into account and not just be there doing nothing 2023-06-24 04:13:47 +03:00
Jarkko Toivanen e21e42d318
Switched FASM to NASM
If I'm gonna port a C compiler I might as well use and port NASM as it 
is more widely used anyway
2023-06-23 23:10:06 +03:00
Jarkko Toivanen 5badddbada
Using framebuffer info for putpixel loop instead of hardcoded values
(never expect Multiboot to give you what you want!)
2023-06-23 22:54:46 +03:00
Jarkko Toivanen b2c4091216
Fixing multiboot section to be a section 2023-06-23 22:54:05 +03:00
Jarkko Toivanen 998fe3d26d
Getting memory information 2023-06-23 22:53:43 +03:00
Jarkko Toivanen 5ec345e59f
Style: Converting spaces to tabs 2023-06-22 02:28:33 +03:00
Jarkko Toivanen e472492ee3
Making stuff work again 2023-06-22 02:13:20 +03:00
Jarkko Toivanen 086eba4ea4
Don't try to put pixel off-screen 2023-06-18 07:49:43 +03:00
Jarkko Toivanen fadccef0df
Putting pixels to screen 2023-06-18 07:47:52 +03:00
Jarkko Toivanen 5bfb8d9e97
Implementing unsigned itoa (uint to str) 2023-06-18 06:25:19 +03:00
Jarkko Toivanen 1a9201b529
Code organizing 2023-06-18 05:37:30 +03:00