klange changed the topic of #osdev to: Operating System Development || Don't ask to ask---just ask! || For 3+ LoC, use a pastebin (for example https://gist.github.com/) || Stats + Old logs: http://osdev-logs.qzx.com New Logs: https://libera.irclog.whitequark.org/osdev || Visit https://wiki.osdev.org and https://forum.osdev.org || Books: https://wiki.osdev.org/Books
netbsduser has quit [Ping timeout: 272 seconds]
td123 has joined #osdev
jspapp has joined #osdev
lukflug has quit [Quit: Leaving]
dysthesis has joined #osdev
agent314 has quit [Ping timeout: 246 seconds]
Lucretia has quit [Remote host closed the connection]
jspapp has quit [Quit: Client closed]
karenw has joined #osdev
dormito has quit [Quit: WeeChat 3.6]
karenw has quit [Ping timeout: 244 seconds]
karenw has joined #osdev
heat has quit [Ping timeout: 248 seconds]
m3a has joined #osdev
housemate has joined #osdev
edr has quit [Quit: Leaving]
duderonomy has joined #osdev
housemate has quit [Quit: Nothing to see here. I wasn't there. I take IRC seriously.]
dysthesis has quit [Remote host closed the connection]
pog has quit [Ping timeout: 265 seconds]
housemate has joined #osdev
Arthuria has joined #osdev
xenos1984 has quit [Read error: Connection reset by peer]
melnary has quit [Remote host closed the connection]
melnary has joined #osdev
xenos1984 has joined #osdev
karenw has quit [Ping timeout: 265 seconds]
ajr has left #osdev [#osdev]
<cloudowind> it looks very appealing and colorful and nice sortie , i will download and try it one day if we are alled too , welldone with your os
<cloudowind> *allowed to
<ring0_starr> WTF is that mascot
<ring0_starr> i guess it's better than the go gopher
vdamewood has joined #osdev
<klys> sortie, just looking for now; perhaps note if sortix supports -enable-kvm as a feature or limitation. also if you've rewritten sortix one may suggest writing it as news.
housemate has quit [Quit: Nothing to see here. I wasn't there. I take IRC seriously.]
housemate has joined #osdev
cloudowind has quit [Ping timeout: 265 seconds]
housemate has quit [Read error: Connection reset by peer]
cloudowind has joined #osdev
housemate has joined #osdev
housemate has quit [Max SendQ exceeded]
housemate has joined #osdev
<cloudowind> 2024 was the hottest year on record according to copernicus data
housemate has quit [Ping timeout: 260 seconds]
housemate has joined #osdev
Arthuria has quit [Ping timeout: 246 seconds]
ionut_f has joined #osdev
housemate has quit [Quit: Nothing to see here. I wasn't there. I take IRC seriously.]
m3a has quit [Ping timeout: 252 seconds]
<Jari--> yo
goliath has joined #osdev
Fingel has quit [Ping timeout: 264 seconds]
netbsduser has joined #osdev
ionut_f has quit [Remote host closed the connection]
heat has joined #osdev
<geist> hola
<ring0_starr> what should i work on channel
<ring0_starr> a map generator for a PC game from 1998? or more OS?
<heat> GEIST
<heat> RUUUUUUUUUUUUUUUUUUUUUUUUUUUUUUUUUUUUUUUUUUUUUUUUUUST
<geist> been fiddling with bare metal rust indeed
<heat> how bare metal?
<heat> normal generic kernal code or actually fucking around with low-level/arch stuff?
<kof673> make the map generator so it can be "ported" to run on future OS
<heat> best way to make something portable for future OSes is to write it in C89 :P
<zid> C89 woo
<heat> C89 specifically, because someone might think C99 is too newfangled and hard to support
<heat> fucking MICROSOFT
dormito has joined #osdev
<kof673> i didn't say be me :D just you can pick whatever level of "dependencies" are acceptable in the hopes it makes future "port" easier
<heat> i mean C89 is the portablest conclusion til we get platforms that *dont* have a C compiler at all
<heat> then uhhhhhhhh idk what the best choice would be, probably depends if the OS is in go or rust or whatever
<nikolar> Lol as if there will ever be a platform without a c compiler
<nikolar> Considering how much c code there is
<heat> it's not that far fetched
<nikolar> It very much is
<heat> it is not
<heat> you're assuming a platform needs and wants to compile all that c code there is
<nikolar> No, but it will almost certainly want to compile some of the billions of lines of c code
<heat> meanwhile go (and i think rust? not sure) already doesn't require C or a libc at all
<nikolar> Rust very much depends on libc
<nikolar> Not that that's an argument for anything
<heat> maybe it will, maybe it wont, im assuming something that's obviously a special purpose OS
<heat> obviously for a general purpose thing you'll want/need a C compiler for the foreseeable future
<ring0_starr> ermmm
<nikolar> And you think it's reasonable to expect someone to come up with an entirely new architecture and port rust to it
<ring0_starr> how does rust need libc?
<ring0_starr> aside from interop with C
<nikolar> While deliberately not supporting c which is basically free
<nikolar> ring0_starr: check their stldib
<nikolar> It delegates basically everything to libc
<heat> i'm not really talking about the arch _only_
<ring0_starr> that being said, why is rtld a part of glibc
<ring0_starr> i never stopped to question this
<heat> it just is
<heat> you could try to spin it off but in general since operating systems are C centric it made sense to connect the two
<ring0_starr> windows doesn't...
<heat> the musl dynamic linker is _libc.so_
<heat> idk who does dynamic linking in windows, is it ntdll or something?
<ring0_starr> yeah it's ntdll.
<ring0_starr> Ldr* functions
<ring0_starr> although more recently process space construction seems to be taken over by the kernel in an effort to support protected processes.
<heat> ntdll (and some other low-level dlls) are kinda analogous to libc.so in UNIX land
<ring0_starr> MSVCRT.DLL is what i considered the analogue
<heat> i say this because while msvcrt does some logic and then shells out to ntdll or the win32 subsystem, libc.so is the C library implementation + the syscall boundary + the dynamic linker + more low level stuff
<ring0_starr> your concept of what a libc should be is more like libglue
<heat> it's not really what i think it should be, it just is what is it is
<heat> which, fwiw, i think works quite well
<ring0_starr> on windows it's KERNEL32 -> KERNELBASE -> NTDLL for syscalls, NTDLL isn't supposed to be used by application code
<ring0_starr> i feel like it ought to be more loosely coupled
<heat> it works quite well because for unix libc.so is core system software, you can't really have a system without it
<heat> you don't need loose coupling there
<heat> your linux distro or your BSD variant or your solaris or whatever give you the libc.so the same way they give you the kernel
<ring0_starr> so NTDLL is like the syscall boundary interface, rtld, and then kernel32 is like half of libc by providing higher level manpage-section-3 versions of each
<heat> yeah
<ring0_starr> the Windows version
<ring0_starr> and then MSVCRT provides the standardized C interface by using the Windows interface from kernel32
<ring0_starr> I feel like it's more of a mess but the separation is pretty logical
<heat> obviously the "stick fucking everything in libc.so" thing works well while you're linking with libc.so anyway, but if you deviate from that you'll obviously have to reimplement that logic (like golang did)
pog has joined #osdev
<ring0_starr> im guessing your kernel is monolithic
<nikolar> Also windows only guarantees API stability through their dlls
<nikolar> Syscall interface can change at any time
<heat> several systems only guarantee ABI stability thru libc too
<heat> like fuchsia or some (all?) of the BSDs
<ring0_starr> does linux make any kind of guarantee? SYS_socketcall doesn't exist on amd64
<zid> I made a thing
<\Test_User> linux doesn't guarantee that syscalls are the same cross-arch, but that's different from version stability
<heat> linux's guarantee is that kernel ABI is stable(ISH) and so is libc.so.6
<pog> i'm not stable
<heat> :(
<zid> (assuming zid.lain.ch is resolving for you), are you proud of me?
<zid> It took all of like, half an hour
<ring0_starr> which algorithm did you use
<bslsk05> ​rafb.ath.cx: Pasted code - maze
<heat> also yeah what \Test_User said, the ABI is generally not the same cross-arch
<pog> neither is my VPS, it did the same thing it's been doing every few days for a month. it fails with no outward indication of failure, and the host stops recording its stats like it's dead or something
<pog> hosting company was less than helpful, they closed my support ticket without even replying
<heat> like struct stat has a different layout depending on the architecture for Reasons
* zid ignored
craigo has joined #osdev
<ring0_starr> recursive descent
<heat> oh cool, box drawing chars
<zid> yay, thank you heat
<zid> wish I could have just used putchar:(
<heat> you would be able to if you had used a tty
goliath has quit [Quit: SIGSEGV]
<zid> wputchar is evil
GeDaMo has joined #osdev
<heat> the way you render this stuff portably is through switching character sets in the VT100
<heat> because unicode is not real and can't hurt you
Lucretia has joined #osdev
<zid> -finput-charset=utf8 -fexec-charset=cp1252
<zid> the one true solution
<heat> boom, single byte box chars
<zid> also I was lazy about seeding so you only get a new maze once a second
<zid> also, C89, so if you want you can port it to bare metal ;)
<zid> boot your os and it starts spitting out mazes with specific seeds to let you know what's happening
<heat> i dont think the box drawing chars are c89?
<zid> They're strings heat
<zid> not multibyte literals
<zid> you just need a compiler that knows what source charset utf-8 means
<heat> <source>:185:1: warning: control reaches end of non-void function [-Wreturn-type]
<heat> 185 | }
<zid> (or don't need, cus it's just utf-8, ascii compat yo)
<heat> LITERALLY NOT C89, PLS FIX
<zid> tis a warning
<zid> you'll live
<zid> I also have some formatting mistakes, it's v1
<heat> i think C89 did not have the implicit return 0 thing in main
<zid> also it's C99
<zid> cus of designated initializers
<zid> more importantlyu
<zid> you can just delete all the x = bits though
<zid> unless I fucked up the order
frkazoid333 has quit [Ping timeout: 260 seconds]
<sortie> <cloudowind> it looks very appealing and colorful and nice sortie , i will download and try it one day if we are allowed to , welldone with your os
<sortie> You can just download Sortix already. The nightly builds are great
<sortie> <klys> sortie, just looking for now; perhaps note if sortix supports -enable-kvm as a feature or limitation. also if you've rewritten sortix one may suggest writing it as news.
<zid> allowed by his mother
<sortie> Ah good idea to clarify I have no native kvm. I'm preparing the website for the upcoming 1.1 release, but it isn't out yet, so no news. Meanwhile I just changed my OS to be more of an officially rolling distribution
<heat> rolling distribution? sortie will do everything except releasing 1.1, smh
<sortie> 20-25
<zid> when sortix v8c63a84826b31a04f8057a00fab9ed841328c130
elderK has joined #osdev
elderK has quit [Client Quit]
sortie has quit [Quit: Leaving]
sortie has joined #osdev
hwpplayer1 has joined #osdev
heat_ has joined #osdev
heat has quit [Read error: Connection reset by peer]
Etabeta1 has joined #osdev
duderonomy has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
craigo has quit [Ping timeout: 252 seconds]
MiningMarsh has quit [Quit: ZNC 1.9.1 - https://znc.in]
edr has joined #osdev
hwpplayer1 has quit [Ping timeout: 244 seconds]
housemate has joined #osdev
Left_Turn has joined #osdev
Left_Turn has quit [Ping timeout: 265 seconds]
MiningMarsh has joined #osdev
hwpplayer1 has joined #osdev
MiningMarsh has quit [Quit: ZNC 1.9.1 - https://znc.in]
MiningMarsh has joined #osdev
MiningMarsh has quit [Client Quit]
MiningMarsh has joined #osdev
MiningMarsh has quit [Client Quit]
eck has quit [Quit: PIRCH98:WIN 95/98/WIN NT:1.0 (build 1.0.1.1190)]
MiningMarsh has joined #osdev
eck has joined #osdev
vinleod has joined #osdev
vdamewood has quit [Ping timeout: 276 seconds]
Left_Turn has joined #osdev
MiningMarsh has quit [Quit: ZNC 1.9.1 - https://znc.in]
the_oz_ has joined #osdev
MiningMarsh has joined #osdev
the_oz has quit [Ping timeout: 272 seconds]
osdev199 has joined #osdev
zid` has joined #osdev
zid has quit [Ping timeout: 248 seconds]
zid` has quit [Remote host closed the connection]
Nasina has joined #osdev
emntn has quit [Quit: WeeChat 4.4.2]
zid has joined #osdev
the_oz_ has quit [Remote host closed the connection]
the_oz_ has joined #osdev
housemate has quit [Read error: Connection reset by peer]
hwpplayer1 has quit [Ping timeout: 252 seconds]
freakazoid332 has joined #osdev
housemate has joined #osdev
hwpplayer1 has joined #osdev
hwpplayer1 has quit [Remote host closed the connection]
ghostbuster has quit [Ping timeout: 248 seconds]
osdev199 has quit [Quit: Leaving]
ghostbuster has joined #osdev
amine has joined #osdev
hwpplayer1 has joined #osdev
Nasina has quit [Read error: Connection reset by peer]
the_oz has joined #osdev
the_oz_ has quit [Ping timeout: 276 seconds]
Fingel has joined #osdev
mrpops2ko has quit [Ping timeout: 252 seconds]
stolen has joined #osdev
mrpops2ko has joined #osdev
hwpplayer1 has quit [Read error: Connection reset by peer]
netbsduser has quit [Ping timeout: 265 seconds]
hwpplayer1 has joined #osdev
the_oz_ has joined #osdev
the_oz has quit [Ping timeout: 248 seconds]
netbsduser has joined #osdev
Arthuria has joined #osdev
the_oz_ has quit [Ping timeout: 244 seconds]
housemate has quit [Read error: Connection reset by peer]
housemate has joined #osdev
housemate has quit [Read error: Connection reset by peer]
Arthuria has quit [Ping timeout: 276 seconds]
housemate has joined #osdev
the_oz has joined #osdev
housemate has quit [Read error: Connection reset by peer]
housemate has joined #osdev
Arthuria has joined #osdev
housemate has quit [Read error: Connection reset by peer]
housemate has joined #osdev
housemate has quit [Read error: Connection reset by peer]
hwpplayer1 has quit [Read error: Connection reset by peer]
hwpplayer1 has joined #osdev
xenos1984 has quit [Read error: Connection reset by peer]
housemate has joined #osdev
xenos1984 has joined #osdev
housemate has quit [Read error: Connection reset by peer]
housemate has joined #osdev
housemate has quit [Read error: Connection reset by peer]
MiningMarsh has quit [Quit: ZNC 1.9.1 - https://znc.in]
hwpplayer1 has quit [Read error: Connection reset by peer]
hwpplayer1 has joined #osdev
housemate has joined #osdev
housemate has quit [Max SendQ exceeded]
housemate has joined #osdev
housemate_ has joined #osdev
housemate_ has quit [Max SendQ exceeded]
housemate has quit [Ping timeout: 244 seconds]
goliath has joined #osdev
hwpplayer1 has quit [Remote host closed the connection]
housemate has joined #osdev
housemate has quit [Max SendQ exceeded]
commiejoke29 has joined #osdev
<cloudowind> goodays osdevers
hwpplayer1 has joined #osdev
dude12312414 has joined #osdev
dude12312414 has quit [Remote host closed the connection]
duderonomy has joined #osdev
eck has quit [Ping timeout: 252 seconds]
Ermine has quit [Remote host closed the connection]
Ermine has joined #osdev
eck has joined #osdev
Gooberpatrol66 has quit [Quit: Konversation terminated!]
Gooberpatrol66 has joined #osdev
GeDaMo has quit [Quit: 0wt 0f v0w3ls.]
housemate has joined #osdev
housemate has quit [Max SendQ exceeded]
housemate has joined #osdev
housemate has quit [Max SendQ exceeded]
housemate has joined #osdev
housemate has quit [Remote host closed the connection]
housemate has joined #osdev
housemate has quit [Max SendQ exceeded]
housemate has joined #osdev
housemate has quit [Max SendQ exceeded]
sbalmos has quit [Quit: WeeChat 4.5.1]
housemate has joined #osdev
housemate has quit [Max SendQ exceeded]
housemate has joined #osdev
housemate has quit [Max SendQ exceeded]
housemate has joined #osdev
housemate has quit [Max SendQ exceeded]
sbalmos has joined #osdev
hwpplayer1 has quit [Quit: bbl]
stolen has quit [Quit: Connection closed for inactivity]
netbsduser has quit [Ping timeout: 244 seconds]
housemate has joined #osdev
housemate has quit [Max SendQ exceeded]
housemate has joined #osdev
housemate has quit [Remote host closed the connection]
commiejoke29 has quit [Quit: Connection closed for inactivity]
housemate has joined #osdev
housemate has quit [Remote host closed the connection]
zu0 is now known as test
housemate has joined #osdev
test is now known as aaaaaa
aaaaaa is now known as how_do_you_guys_
how_do_you_guys_ is now known as communicate
communicate is now known as zu0
housemate has quit [Remote host closed the connection]
housemate has joined #osdev
housemate has quit [Remote host closed the connection]
housemate has joined #osdev
housemate has quit [Remote host closed the connection]
FreeFull has joined #osdev
x64S has joined #osdev
saulosilva has joined #osdev
MiningMarsh has joined #osdev
pog has quit [Ping timeout: 252 seconds]
MiningMarsh has quit [Client Quit]
Gooberpatrol_66 has joined #osdev
Gooberpatrol66 has quit [Ping timeout: 246 seconds]
saulosilva has quit [Quit: Client closed]
Left_Turn has quit [Read error: Connection reset by peer]
MiningMarsh has joined #osdev
MiningMarsh has quit [Client Quit]