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
heat has quit [Remote host closed the connection]
heat has joined #osdev
Burgundy has quit [Ping timeout: 248 seconds]
Vercas6 has quit [Remote host closed the connection]
gildasio has quit [Remote host closed the connection]
Vercas6 has joined #osdev
gildasio has joined #osdev
gildasio has quit [Remote host closed the connection]
gildasio has joined #osdev
Jari-- has quit [Remote host closed the connection]
vai has joined #osdev
vai is now known as Jari--
epony has quit [Read error: Connection reset by peer]
isaacwoods has quit [Quit: WeeChat 3.7.1]
gildasio has quit [Remote host closed the connection]
gildasio has joined #osdev
epony has joined #osdev
gildasio has quit [Remote host closed the connection]
gildasio has joined #osdev
Vercas6 has quit [Remote host closed the connection]
Vercas6 has joined #osdev
[itchyjunk] has quit [Read error: Connection reset by peer]
gog has quit [Ping timeout: 256 seconds]
Vercas61 has joined #osdev
gildasio has quit [Ping timeout: 255 seconds]
Vercas6 has quit [Ping timeout: 255 seconds]
Vercas61 is now known as Vercas6
gildasio has joined #osdev
<bslsk05> ​ghostkernel.org: Ghost - News
<Jari--> looks mature
<heat> oh cool
<heat> max is offline rn
<heat> he's around sometimes
terrorjack has quit [Quit: The Lounge - https://thelounge.chat]
terrorjack has joined #osdev
<zid> rip, the server I use as a socks proxy to get around ip blocks and stuff has dead
<zid> didn't come back online after a reboot apparently, and it's colo'd to "some guy's business" rather than a real datacenter with KVM video and stuff
<bslsk05> ​'Interview with a GNU/Linux user in 2022 - Partition 1' by Programmers are also human (00:05:58)
<heat> average #osdev user
<zid> calling programmers humans is very politics
dude12312414 has joined #osdev
dude12312414 has quit [Remote host closed the connection]
dude12312414 has joined #osdev
Burgundy has joined #osdev
smach has joined #osdev
heat has quit [Ping timeout: 256 seconds]
xenos1984 has quit [Quit: Leaving.]
smach has quit [Client Quit]
nanovad has quit [Quit: ZNC 1.7.5+deb4 - https://znc.in]
nanovad has joined #osdev
dude12312414 has quit [Quit: THE RAM IS TOO DAMN HIGH]
Arsen has quit [Ping timeout: 252 seconds]
Arsen has joined #osdev
wgrant has quit [Quit: WeeChat 3.5]
wgrant has joined #osdev
antranigv has quit [Ping timeout: 256 seconds]
xenos1984 has joined #osdev
bgs has joined #osdev
antranigv has joined #osdev
smach has joined #osdev
bgs has quit [Remote host closed the connection]
smach has quit [Ping timeout: 268 seconds]
smach has joined #osdev
alpha2023 has quit [Read error: Connection reset by peer]
alpha2023 has joined #osdev
gog has joined #osdev
gog has quit [Client Quit]
nyah has joined #osdev
mats1 has quit [Read error: Software caused connection abort]
mats1 has joined #osdev
klys has quit [Read error: Software caused connection abort]
klys has joined #osdev
smach has quit []
manawyrm has quit [Read error: Software caused connection abort]
manawyrm has joined #osdev
GeDaMo has joined #osdev
carbonfiber has quit [Quit: Connection closed for inactivity]
awita has joined #osdev
awita has quit [Ping timeout: 260 seconds]
smach has joined #osdev
Celelibi has quit [Ping timeout: 256 seconds]
Celelibi has joined #osdev
carbonfiber has joined #osdev
gildasio has quit [Ping timeout: 255 seconds]
gildasio has joined #osdev
bauen1 has quit [Ping timeout: 256 seconds]
Jari-- has quit [Remote host closed the connection]
vai has joined #osdev
Vercas6 has quit [Ping timeout: 255 seconds]
Vercas6 has joined #osdev
Burgundy has quit [Ping timeout: 260 seconds]
bauen1 has joined #osdev
vai is now known as Jari--
bauen1 has quit [Ping timeout: 256 seconds]
bauen1 has joined #osdev
bauen1 has quit [Ping timeout: 256 seconds]
bauen1 has joined #osdev
elastic_dog has quit [Killed (calcium.libera.chat (Nickname regained by services))]
elastic_dog has joined #osdev
bauen1 has quit [Ping timeout: 252 seconds]
bauen1 has joined #osdev
heat has joined #osdev
awita has joined #osdev
xenos1984 has quit [Quit: Leaving.]
awita has quit [Ping timeout: 248 seconds]
awita has joined #osdev
bauen1 has quit [Ping timeout: 268 seconds]
bauen1 has joined #osdev
Burgundy has joined #osdev
bauen1 has quit [Ping timeout: 260 seconds]
<kaichiuchi> it is very cold today.
bauen1 has joined #osdev
bauen1 has quit [Ping timeout: 260 seconds]
DjanSeriy is now known as Stella
bauen1 has joined #osdev
bauen1 has quit [Ping timeout: 248 seconds]
bauen1 has joined #osdev
kof123 has quit [Ping timeout: 268 seconds]
bauen1 has quit [Ping timeout: 248 seconds]
<zid> correct, brr
<zid> 7C
<heat> nah its fine here
<heat> 17C
<heat> portugal numba wan
<heat> iberia bestt
bauen1 has joined #osdev
<zid> iberia bad, couldn't even get rid of grenada for hundreds of years
<clever> outdoor: -4.50c(23.90f)
<clever> its older here :P
<zid> al ándalus says hello
<heat> thats cuz we were too busy watching the world cup
<zid> makes sense
<heat> and the spanish were busy doing their normal siesta thing, you know how they are
<GeDaMo> It feels warmer today than yesterday, no wind
<zid> The only reaon they're not having a nap rn is their caliphate blood
<zid> 100% pure spaniards are like bears but year long
<heat> oh 100%
<heat> meanwhile englishmen historically have been and still are fueled by cheeky lads' trips to mediterranean countries
<heat> so much that you got a piece of iberia of your own
<zid> Yea we need somewhere to hide out when the cops chase us for breaking historic statues while drunk
bauen1 has quit [Ping timeout: 260 seconds]
dude12312414 has joined #osdev
bauen1 has joined #osdev
Matt|home has quit [Remote host closed the connection]
bauen1 has quit [Ping timeout: 248 seconds]
bauen1 has joined #osdev
bauen1 has quit [Ping timeout: 260 seconds]
bauen1 has joined #osdev
bauen1 has quit [Ping timeout: 260 seconds]
bauen1 has joined #osdev
bauen1 has quit [Ping timeout: 256 seconds]
bauen1 has joined #osdev
elastic_dog has quit [Ping timeout: 252 seconds]
elastic_dog has joined #osdev
awita has quit [Ping timeout: 260 seconds]
bgs has joined #osdev
bauen1 has quit [Ping timeout: 256 seconds]
bauen1 has joined #osdev
noisyloop has joined #osdev
gildasio has quit [Ping timeout: 255 seconds]
gildasio has joined #osdev
noisyloop has quit [Ping timeout: 260 seconds]
dude12312414 has quit [Quit: THE RAM IS TOO DAMN HIGH]
bauen1 has quit [Ping timeout: 260 seconds]
dude12312414 has joined #osdev
GeDaMo has quit [Quit: I'm going to show these people something you don't want them to see. I'm going to show them a world without you.]
<geist> so you know how RIFA caps blow up after 30-40 years? I had *two* blow up yesterday on two separate old machines
<geist> still has a faint smoky smell. it smells bad
bauen1 has joined #osdev
kof123 has joined #osdev
<zid> 30-40 is amazing lifespan for piece of rolled up wet paper still ngl
<mrvn> They have a little clock in them counting down and some explosives for sure.
dude12312414 has quit [Remote host closed the connection]
kof123 has quit [Ping timeout: 268 seconds]
dude12312414 has joined #osdev
<heat> im ending osdev and switching to windows full time
<heat> it turns out this has been a huge waste of time and i'm not becoming a quadrillionaire and overtake windows
<zid> Correct
<heat> comments?
<bslsk05> ​marc.info: 'More on mimmutable' - MARC
<heat> cc mjg for extra spicy
<mjg> not opening openbsd links man
dude12312414 has quit [Ping timeout: 255 seconds]
Vercas6 has quit [Remote host closed the connection]
<heat> it's not code
<heat> just a feature
<heat> well, feature description
<mrvn> a bugreport?
<mrvn> .oO(It's not a bug, it's a feature)
<sbalmos> heat: good, give in to the futile inevitability. windows rules all.
<geist> i can tell you the smoke they emit is nasty, so go ahead and swap them now. i figured i'd just wait until they pop and then do it
<geist> hadn't accounted for the terrible smoke
<sbalmos> geist: it's... unique, isn't it? ;)
<geist> yeah
<sbalmos> geist: So leave it to Phil Opperman (sp?) to drop my jaw again. Buried down in his bootloader repo, he manages to do an MBR stage1 in 16-bit Rust with barely any assembly.
<heat> that sounds dubious and fiddly
<sbalmos> definitely gave me a "wait, wut?" moment
<bslsk05> ​github.com: bootloader/bios/boot_sector at main · rust-osdev/bootloader · GitHub
<mrvn> since when does rust have a 16bit target?
<heat> llvm probably does
<sbalmos> I've seen rumblings about one for a while
<heat> and rust -> llvm
<bslsk05> ​github.com: bootloader/i386-code16-boot-sector.json at main · rust-osdev/bootloader · GitHub
<mrvn> can it jump to 64vbit?
<mrvn> -v
<sbalmos> it eventually does, yes
<heat> anyway that seems super risky and odd
<mrvn> single step
<sbalmos> no
kof123 has joined #osdev
dude12312414 has joined #osdev
dude12312414 has quit [Remote host closed the connection]
dude12312414 has joined #osdev
Vercas6 has joined #osdev
gog has joined #osdev
<geist> hah cute
<geist> though to be fair i dont see it actually switch into protected mode
<geist> it seems to use some asm to get into an okay context, then branch into rust which seems to read some partition tables and branch to a second stage
<mrvn> the second stage would do that
<geist> it's a ncie piece of code, but not really that surprising to be honest. could easily do that in C too
<mrvn> you can do it in c++ as constexpr
<mrvn> build all the bootstrap page tables and descriptors and such
<geist> well, i'm not sayign it's better or worse to do it in C/C++, etc. i just mean there's not a partiular technical challenge there to be honest. where you have tos tart getting really tight is when you do a double bounce into protected mode
<geist> but it is neat to see that rust can do 16bit
<mrvn> only challenge is to get the first stage to fit in 500 or whatever byte.
<geist> but i also declare it not dubious and fiddly. seems straightforward split of assembly and rust. much like exactly how you'd do it in C. so it seems clean to me
<mrvn> how much unsafe_* does it use?
rwxr-xr-x has joined #osdev
<mrvn> moin 755
<rwxr-xr-x> yoo
<rwxr-xr-x> how's it goin?
<mrvn> it's rusting
<heat> geist, I expect that 16-bit rust can blow up super easily
<heat> both at runtime and in size ;)
<mrvn> why? it's not using noticeable more ram than C
<heat> how much testing does llvm get on 16-bit code, really? probably just some entry code for some kernels
<heat> I know for a fact that they explicitly don't support old CPUs
<heat> (they = LLVM)
<CompanionCube> for 16-bit x86, there is also that iirc rust doesn't do segmented memory well?
<mrvn> if it can jump to 32bit with under 64k code/heap then that isn't a problem
<heat> <mrvn> why? it's not using noticeable more ram than C <-- I would consider all usage of C languages and above fiddly
<CompanionCube> mrvn: true
<mrvn> The fiddly bit is getting a list of blocks for the second stage to load.
<mrvn> and then loading kernel+initrd in 32bit mode.
<mrvn> Do you jump back into the bios? Do you write your own disk driver? Your own FS driver or use blocklists again?
<mrvn> but that's language unspecific
<heat> the more you do in an tight environment with a language and toolchain that aren't really specifically targetted for that, the more fiddly it gets and the more chances you have of blowing things up
<heat> like, how can you be so sure your code doesn't suddenly blow past 512 bytes in size?
<mrvn> you cross that bridge when you fall off it
<rwxr-xr-x> amazing
<rwxr-xr-x> love that
<sbalmos> ls -l my_rusty_loader -> is it bigger than 512? Nope? We live to fight anotehr day!
<mrvn> sbalmos: stat or wc -c
<\Test_User> 'is it really so hard to write a 510 byte bootloader that you need a higher level language'
<mrvn> aparently
<sbalmos> \Test_User: not at all. slipping more into the "because you can" realm
<\Test_User> sbalmos: fair
<mrvn> Same reason why you would write a game for the C64 in C++.
rwxr-xr-x has quit [Remote host closed the connection]
elastic_dog has quit [Killed (platinum.libera.chat (Nickname regained by services))]
elastic_dog has joined #osdev
<mrvn> 23:59, this (monday) too shall pass
<\Test_User> 22:01 still
<\Test_User> *23:01
<heat> exactly
<heat> 21/11 rulez
carbonfiber has quit [Quit: Connection closed for inactivity]
<zid> just spotted my mouse!
<zid> climbing up my bloody monitor cable
<heat> mine is connected to the usb port
<zid> I wish mine would stay still like that
<zid> that looks like it'd get grungy as hell ngl
<heat> i was originally super skeptical about the little holes but it turns out it's still pretty comfortable
<heat> and light
<heat> there's a bit of dust in there though
<heat> i should get some compressed air and blow on this
<mrvn> I still need to get a washable mouse
<zid> I don't get where he could have vanished to
<zid> I saw him climb the cable, looked over my monitor, no mouse
<heat> maybe he's inside the monitor
<zid> it's like when you drop a coin or something and it bounces into a portal to another dimension
<mrvn> put up a webcam and place some chesse in front of it
<sakasama> That portal is traditionally called a weasel.
<zid> I don't think weasels are stealing my change
<mrvn> weasels love bitcoins
heat has quit [Remote host closed the connection]
heat has joined #osdev
<heat> __asm__ __volatile__("pushf; pop %0" : "=rm"(flags)::"memory");
<heat> why does this generate a pop to memory every single time?
<heat> is it that cheap?
<Mutabah> It's in cache, so pretty cheap
<Mutabah> and there's no other way to access the flags
<heat> weird. clang really insists in a pop to the stack
<heat> gcc does not
<bslsk05> ​godbolt.org: Compiler Explorer
<bslsk05> ​godbolt.org: Compiler Explorer
<heat> this is insane
nyah has quit [Quit: leaving]
Burgundy has quit [Ping timeout: 260 seconds]
<mrvn> pop to memory? How is that a thing?
<gog> pop pop
<heat> it just is
<heat> you can even pop to the stack
<mrvn> if you remove the "m" then clang does the right thing
k8yun has joined #osdev
<heat> yes, but keeping the m is a good idea
<heat> in a normal codegen situation, that is. gcc clearly works well with it