Commit graph

43 commits

Author SHA1 Message Date
1b9f7f8ee5
Making a working (at last!) 24/32 bpp framebuffer but only grayscale.
Cool logo included
2023-09-06 19:58:40 +03:00
3c121e97f4
Framebuffer putpixel LEGGOOO! (disabled paging lol) 2023-08-02 20:16:43 +03:00
8709de5747
Better separation on BSS if it grws or something 2023-08-02 14:19:46 +03:00
e9b363221a
Fixing makefile 2023-08-02 13:49:16 +03:00
1034574d1e
Making the Multiboot structure a bit shorter to conserve line length 2023-08-01 21:23:14 +03:00
208d05b139
Forgat my os is supposed to be called rOSka 2023-08-01 21:05:36 +03:00
cbaa9e00f9
Trying FASM instead of TCC hybrid proved to be a good choise. Binary is layed out flat and sections are not rearranged so no need to worry about Multiboot structures moving around.
Also managed to get paging (first 4M is identity mapped, but hey it's a start).
2023-08-01 05:02:17 +03:00
148634efff
Pagingggggggg! (identity mapped low 4M) 2023-07-25 05:45:32 +03:00
d542ed42d6
Serial init error handling removed: no more VGA text memory to print to 2023-07-25 01:02:13 +03:00
e16da3adc8
Multiboot parsing and uitoa impl 2023-07-24 21:48:21 +03:00
ebf9982c07
Improved serial init handling. Optimized pushing/poping. 2023-07-24 17:08:48 +03:00
9fc1cd0064
Passing the strings to string prints through stack 2023-07-24 05:17:57 +03:00
e2572d50af
FASMMMMMMM 2023-07-24 04:20:54 +03:00
946c9e468d
Take AOUT_KLUDGE into account and not just be there doing nothing 2023-06-24 04:13:47 +03:00
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
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
b2c4091216
Fixing multiboot section to be a section 2023-06-23 22:54:05 +03:00
998fe3d26d
Getting memory information 2023-06-23 22:53:43 +03:00
5ec345e59f
Style: Converting spaces to tabs 2023-06-22 02:28:33 +03:00
e472492ee3
Making stuff work again 2023-06-22 02:13:20 +03:00
086eba4ea4
Don't try to put pixel off-screen 2023-06-18 07:49:43 +03:00
fadccef0df
Putting pixels to screen 2023-06-18 07:47:52 +03:00
5bfb8d9e97
Implementing unsigned itoa (uint to str) 2023-06-18 06:25:19 +03:00
1a9201b529
Code organizing 2023-06-18 05:37:30 +03:00
79dcbb8393
Plotting fancy stripe on graphical framebuffer 2023-06-16 05:53:26 +03:00
743b22ccd6
Implementing and using ultoa (unsigned long to string) 2023-06-16 03:57:09 +03:00
76c9075f71
Separating itoa and ltoa to own file 2023-06-15 06:40:38 +03:00
dd78c1cc7d
Fix: UNavailable videoinfo not on new line 2023-06-15 03:09:41 +03:00
c33a57fa33
Basic serial driver 2023-06-15 03:06:27 +03:00
e9fd2e98bf
Removing an oopsie 2023-06-14 20:50:21 +03:00
f45698bb00
Cursor disabling moced from assembly to C 2023-06-14 20:49:47 +03:00
94657a7b47
OUTB implementation 2023-06-14 20:49:23 +03:00
6547181959
C Header guards 2023-06-14 20:40:50 +03:00
e1230ce493
Qemu serial stdout 2023-06-14 20:39:30 +03:00
968ea605d8
Stuff. And thing. Yeaaaaah! 2023-06-14 20:06:27 +03:00
3d7140b3fc
Makefile: Handle disk image mounting 2023-06-14 19:28:16 +03:00
3b24a64a92
Ignoring disk image 2023-06-14 19:16:05 +03:00
f1b11875d7
Printing int/hex values, yayyyy! (videomode number) 2023-06-14 06:19:50 +03:00
7d576d3cd5
Fixing vga_write_line_color newline colour 2023-06-14 05:21:38 +03:00
663a6317c4
Checking multiboot stuff oh yah 2023-06-14 05:13:21 +03:00
99e0b4debb
Initializing own stack and moar multiboot stuff
- Not relying on Grub/Multiboot setting up stack for us
- Preparing Multiboot headers so one day we can has graphical mode
2023-06-14 03:44:25 +03:00
aaffd2351f
Printing stuff to screen 2023-06-13 09:45:04 +03:00
f30433dd27
I guess it barely prints a thing 2023-06-12 11:46:47 +03:00