Commit graph

16 commits

Author SHA1 Message Date
mykola2312
285f77c4fe fix bugs 2024-08-04 19:35:34 +03:00
mykola2312
7b1e185790 improve linker script 2024-08-04 19:28:15 +03:00
mykola2312
4afc9680ab use section offsets instead of memory region origins, because that messes up addressing 2024-08-04 19:07:12 +03:00
mykola2312
f86a560f3e begin working on itoa 2024-08-04 18:22:24 +03:00
mykola2312
8825664287 remove comment 2024-08-04 16:01:27 +03:00
mykola2312
259b7a4314 implement serial port output 2024-08-04 16:00:08 +03:00
mykola2312
7e35407942 implement rodata and bss sections 2024-08-04 15:06:26 +03:00
mykola2312
3aca81ddd4 add print subroutine (lol im actually doing stack frame thingy here) 2024-08-04 14:46:09 +03:00
mykola2312
d8ab00c7cd fixed stupid bug - mov msg, %si actually translated to move r/m16 to %si instead of immediate move like mov $msg, %si. also implemented bootloader migration to 0050:0000 address just to be stable 2024-08-03 04:30:31 +03:00
mykola2312
9643f450ac define bootloader size in linker script so later I can use it for relocating bootloader to 0050:0000 memory region 2024-08-03 03:38:24 +03:00
mykola2312
d62f1dad13 write linker script for MBR sector, as well as test MBR code 2024-08-03 02:29:03 +03:00
mykola2312
818b222f2a implement heuristic random filesystem filling. for boot its random modules + kernel, for root its recreation of FreeBSD's file structure, for stress testing purposes. The Makefile containts proper target doing all required steps to recreate disk image with 1 test partition and 2 real-life example EXT2 partitions. 2024-08-03 00:29:36 +03:00
mykola2312
d63936c4f5 makefile now fills part 1 with test pattern and other two formats in EXT2 2024-08-02 20:26:17 +03:00
mykola2312
c8ba7e29e8 working on disk image generation 2024-08-02 19:44:40 +03:00
mykola2312
eac04907e9 add readme 2024-08-02 16:43:27 +03:00
mykola2312
3bee772605 initial commit 2024-08-02 16:41:13 +03:00