Commit graph

56 commits

Author SHA1 Message Date
c2e69b6f7f
More and advanceder macros 2024-08-17 06:21:47 +03:00
7a22e4aed7
Follow C calling convention (futureproofing) and utilize macros 2024-08-17 00:37:07 +03:00
32ccb3abd1 Automating image-file creation 2024-08-16 18:22:30 +03:00
bcf49f4fef
Framebuffer supports colour now 2024-01-26 18:38:18 +02:00
bbd80c4f78
Cleaning up 2024-01-26 18:23:51 +02:00
3dd934bd83
Fixed R/G/B field information fetching from Multiboot 2024-01-13 03:28:43 +02:00
a0ba839215
Get sweet R/G/B positions as numbers for debugging 2024-01-13 02:36:35 +02:00
e4172c14bb
Fancy colour loop 2023-09-21 21:06:37 +03:00
deadd739fb
Another Readme update for new improved framebuffer 2023-09-08 12:06:58 +03:00
9ef19730e3
Forgot a stray CLD instruction lol 2023-09-08 12:03:52 +03:00
f9c0bd3db6
Improved framebuffer compatibility and memory safeguard 2023-09-08 12:02:02 +03:00
e9eaf218a1
Updating the file nobody never reads 2023-09-07 21:32:00 +03:00
55fb99f0e1
Not the whole screenbuffer width was accessible 2023-09-06 20:28:25 +03:00
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