#CeanOS
1 messages · Page 1 of 1 (latest)
this is the github repo btw: https://github.com/asdasda3456/CeanOS/
Contribute to asdasda3456/CeanOS development by creating an account on GitHub.
I misread it as CreamOS
bruh
accurate
i dont think i would name it like that
I know, I just am tired so I am misreading everything, sorry
i also need those ```
paging
malloc
filesystem
processes
lot of drivers
nah ur fine
pretty cool nonetheless
at least you are up to something, I have been truing to get time to work on mine
im not anymore
for the last 2 days ive been struggling to get paging
and file systems
very neat though, I haven't been able to work as I said before
did you use the limine C template?
how are all of those "easy" ? :
They are
well i cant set them up
are u going to make an actual os or is this going to be an in kernel funny shell project
__DATE__?
u dont need this, <stdint.h> is available in freestanding gcc
well its going to be an actual os but right now im messing around
i made stdint because i was getting errors and im also not using freestanding
ik i forgot to add .o files to .gitignore
k il add them
this is ub
well dont burn the cpu, add a hlt there
k
asm volatile("hlt");
ye
outb(0x3D4, 0x0A); //disable text cursor
outb(0x3D5, 0x20); //disable text cursor
Would help readibility to not use magic numbers
if u add proper macros for the respective bit fields and stuff you will no longer need these comments
don't do relative includes like ../util.h, instead make the root of the project an include directory, then u can do <util.h>
well what are those ports
thats what i was reading rn
alternatively look at linux source
il do #define VGA_CRT_IC how he did it then
thank you
hope u dont lose motivation becaues its easy once u get into difficult stuff
i can imagine that
thanks for that i didnt even know it existed
got general protection faulted by my own os lol:
tried to implement a function to exit to grub
well at least my error handlers work
then use freestanding
you need freestanding to write an os
i didnt use it and its working
those is are my C flags: ```CFLAGS = -m32 -fno-stack-protector -fno-builtin
Well as soon as you include non freestanding headers and use their functions you will get linker errors
i can do make and it starts and i dont get any linker errors
if i would get errors i would do -freestanding
"if i would get errors i would do -freestanding" - ancient Chinese philosopher
lol
lol
Well you probably messed up the toolchain then
Wtf
I sent that hours ago
my favorite quote from sun zhu
i cant believe it but i got paging