#NoirOS With GRUB
1 messages · Page 1 of 1 (latest)
so would you like to contribute? @ocean sleet
not really, why?
i kinda need help everytime i set up vga it just wont boot even though the boot should work does vga only work in the boot sector or something?
nah just a bug in your code
i know its a bug but what do i do
debug
lol
np
so would anyone like to contribute?
people generally dont contribute to osses that have literally nothing
once its more mature and attractive people will start getting interested
nah its time to create an empty repo and get 100 people to divide and conquer the work for you >:)
sorry i was just making a joke, i didn't mean to undermine what you have done. Nice job so far, I'm at a similar place as you
its ok dw
lol wrong emoji
its going alright, I was originally doing 32 bit but currently I'm trying to fix my initial code to be 64 bit instead. With that - I'm currently diving into the weeds of paging 😓
thanks for offering - will definitely ask if needed
alright, great!
oh hey voltaged gonna take a lookie at your os
Hey bro
no idt keyboard drivers 
Update!
Whats new?
- Added more commands
- Shutdown, cpu info and time commands
- Banner
Whats next?
- Text editor
- More commands
- Maybe a GUI?
- Games!
How does shutdown work? ACPI?
yes, and if it fails it uses APM and BIOS shutdown
What ACPI interpreter??
i wrote it from scratch
Uhhh
its called NoirACPI
these are the ACPI shutdown ports
#define SHUTDOWN_PORT1 0xB004
#define SHUTDOWN_PORT2 0x2000
#define SHUTDOWN_PORT3 0x604
its really just ports
connected with assembly
it works tho
just look at the code and see how it works
void shutdown() {
print("Shutting down NoirOS...\n");
print("Please wait while the system powers off...\n");
// Try ACPI shutdown
outw(SHUTDOWN_PORT1, 0x2000);
// Try APM shutdown
outw(SHUTDOWN_PORT2, 0x0);
// Try another method
outw(SHUTDOWN_PORT3, 0x2000);
// If we get here , shutdown failed
print("Shutdown failed. System halted.\n");
while (1) {
asm volatile("hlt");
}
}
Not really
it just works ok
if it works, dont touch it
its simple
lol
im the average programmer]
Not on real hw
what is hw
Hardware
oh
its 32 bit so cant rlly test it
i can send the iso if u need u can try it if u have a 32 bit pc
these are QEMU ports
this wont work on real hardware
False
moreoever even if these were the right ports
u arent calling the respective aml methods
so most laptops will hang instead of shutting down
yes
kk i implemented it correctly (i think) it shuts down both qemu, and it uses propper ACPI
i MIGHT start another OS thats graphical
huh
show code
// ACPI power off helper function
void acpi_poweroff() {
// Search for RSDP in BIOS memory
char* addr;
for (addr = (char*)0x000E0000; addr < (char*)0x00100000; addr += 16) {
if (memcmp(addr, ACPI_RSDP_SIGNATURE, 8) == 0) {
// Found RSDP, now try to shut down
uint32_t pm1a_cnt = 0x1000; // Default port if we can't find real one
uint16_t slp_typa = (1 << 13); // Default sleep type
outw(pm1a_cnt, slp_typa | (1 << 13));
io_wait();
return;
}
}
}
u think this is correct?
did chat gpt give it to u?
wtf
man im trying i just look up tutorials on osdev and i cant find a good one
tis is why im looking for contributors
im just a beginner this is like one of my only OSes
anyways yeah new update
i added
- a game
- simple song player
- ported a little bit more of bash
- more concise help command
- more Colors and formatting
Update (again)
- Added a filesystem
- Commands like touch, cat, ls, mkdir and cd
you need to split functions into other files (.c)
if you have ALL kernel in one file - your code is shit
if it works it works
im corrently working on it though
currently8
brh
bruh
my keyboard is drunk
or ive gone too far to even change smth
welp
prettier is in one single file and its 20k lines of code. IN ONE FILE. and somewhy no one is complaining as long as it works
ChatGPTOS
bruh
i coded it myself
do you think chatgpt would be able to make a working thing IN 1.6K LINES OF CODE
chatgpt is shit
i cant split it since ive gone too far to even do smth like this
or maybe even better
not start this thread
cuz everyone even mods are dogshitting me for writing code the way i want
im just a beginner bro
IM NEW IN THE DAMN SERVER
WHY WOULD I GET DOGSHITTED EVEN BY MODS FOR DOING WHAT I LIKE
RULE 6
IN #readme-rules
AND RULE 4
man chill
u wrote this yourself?
only chatgpt can make a bogus thing with proper comments
i just look up tutorials man
and add comments based on what it is
yknow what
fuck this
altogether
im gonna make the OS in silence
without yo ass always complaining
especially @ocean sleet
unGPTix
how are you doing this so fast
wtf
is everything running in ring 0
a secret tool 
What do you mean by "ported a little bit more of bash"?
well im slowly porting more and more bash commands
lol
waiting for chatgptOS release day 1
😔
lets just
stop being toixc
toxic*
cuz dude
OSDEV is a good community but its toxic asf
the mods too
like
damn
chatgptOS developer shut up
kys monkey boy
Neither can you 🙂
THEN WTF IS THIS HUH
Not an os
💀
CAUSE THATS MY CODE STYLE
no other files
NO SHIT
only one single kernel.c
<@&970022802356850728> can you fucking kill them please
!naenae @hearty ibex being annoying and insulting people
Fake naenae?
I assume?
@hearty ibex bro calm down
.!naenae @hearty ibex being annoying and insulting people
not anymore 
Anyway
nah it definitely went overboard
two kyses, pings, and asking to kill someone etc etc