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
wereii has joined #osdev
smach has joined #osdev
sav_ has joined #osdev
smach has quit [Ping timeout: 268 seconds]
heat has quit [Ping timeout: 256 seconds]
LittleFox has quit [Quit: ZNC 1.8.2+deb2+b1 - https://znc.in]
LittleFox has joined #osdev
thinkpol has quit [Remote host closed the connection]
thinkpol has joined #osdev
elastic_dog is now known as Guest7946
elastic_dog has joined #osdev
gog has quit [Ping timeout: 268 seconds]
antranigv has quit [Ping timeout: 268 seconds]
antranigv has joined #osdev
epony has quit [Ping timeout: 268 seconds]
smeso has quit [Quit: smeso]
smeso has joined #osdev
sav_ has quit [Ping timeout: 268 seconds]
spikeheron has quit [Quit: WeeChat 3.7.1]
spikeheron has joined #osdev
<geist> yah monochrome screens without the color screen have a nice feel to them
<geist> since the pixels actually connect up horizontally if nothing else
kori has left #osdev [Leaving]
terrorjack has quit [Quit: The Lounge - https://thelounge.chat]
terrorjack has joined #osdev
srjek has quit [Ping timeout: 256 seconds]
dude12312414 has joined #osdev
dude12312414 has quit [Quit: THE RAM IS TOO DAMN HIGH]
Burgundy has joined #osdev
catern has quit [Read error: Connection reset by peer]
Burgundy has quit [Ping timeout: 256 seconds]
smach has joined #osdev
tomaw_ has joined #osdev
smach has quit []
ptrc has quit [Ping timeout: 260 seconds]
k0valski1889 has quit [Ping timeout: 260 seconds]
ptrc has joined #osdev
tomaw has quit [Ping timeout: 615 seconds]
tomaw_ is now known as tomaw
bgs has joined #osdev
<kazinsal> > For retro-computing enthusiasts: the 1970s login protocol SUPDUP (RFC 734) is now supported, alongside Telnet and Rlogin.
<kazinsal> damn, these PuTTY updates sure are getting interesting
Vercas6 has quit [Ping timeout: 255 seconds]
dza has quit [Quit: ]
dza has joined #osdev
TkTech8 has quit [Read error: Connection reset by peer]
TkTech has joined #osdev
GeDaMo has joined #osdev
Vercas6 has joined #osdev
Burgundy has joined #osdev
diamondbond has joined #osdev
zaquest has quit [Remote host closed the connection]
zaquest has joined #osdev
diamondbond has quit [Quit: Leaving]
Raito_Bezarius has quit [Ping timeout: 256 seconds]
y0m0n has joined #osdev
Burgundy has quit [Ping timeout: 256 seconds]
Burgundy has joined #osdev
bauen1 has joined #osdev
y0m0n has quit [Ping timeout: 252 seconds]
elastic_dog has quit [Ping timeout: 240 seconds]
elastic_dog has joined #osdev
elastic_dog is now known as Guest8966
elastic_dog has joined #osdev
Raito_Bezarius has joined #osdev
nyah has joined #osdev
pie_ has quit []
vancz has quit []
pie_ has joined #osdev
vancz has joined #osdev
elastic_dog has quit [Read error: Connection reset by peer]
elastic_dog has joined #osdev
Burgundy has quit [Ping timeout: 252 seconds]
dude12312414 has joined #osdev
xvmt has quit [Remote host closed the connection]
xvmt has joined #osdev
smach has joined #osdev
smach has quit []
dude12312414 has quit [Ping timeout: 255 seconds]
dude12312414 has joined #osdev
catern has joined #osdev
xenos1984 has quit [Read error: Connection reset by peer]
srjek has joined #osdev
dude12312414 has quit [Quit: THE RAM IS TOO DAMN HIGH]
Burgundy has joined #osdev
xenos1984 has joined #osdev
kori has joined #osdev
justGrit has quit [Quit: ZNC 1.8.2 - https://znc.in]
justache has joined #osdev
justache has quit [Remote host closed the connection]
justache has joined #osdev
k0valski18895 has joined #osdev
tomaw has quit [Quit: Quitting]
tomaw has joined #osdev
Vercas6 has quit [Remote host closed the connection]
Vercas6 has joined #osdev
Vercas69 has joined #osdev
Vercas6 has quit [Quit: Ping timeout (120 seconds)]
Vercas69 is now known as Vercas6
xenos1984 has quit [Ping timeout: 260 seconds]
xenos1984 has joined #osdev
<geist> huh reading the SUPDUP RFC, it's fairly complicated
cyao has joined #osdev
<mrvn> sounds a bit like a remote curses
<cyao> Hello, i've been looking into toaruOS's files, but i can't find it's stddef.h, anyone know where it is?
<mrvn> probably in gcc
leitao has joined #osdev
<cyao> So gcc includes a stddef.h even when we have the flag -nostdlib?
<mrvn> * ISO C Standard: 7.17 Common definitions <stddef.h>
<mrvn> It's part of the language specs
<GeDaMo> -nostdlib is about linking
<GeDaMo> YOu have to manually #include headers
<Nuclear> -nostdinc is the flag you're looking for
<cyao> ohh so I can use the inlined stddef
<cyao> let me try
<mrvn> your freestanding compiler should have an stddef.h I believe
<cyao> hmm my x86-64 gcc says no include path in which to search for stddef.h
<cyao> im just using the x86_64-elf-gcc compiled by brew
<cyao> is it because brew compiled it with the --without-headers flag?
cyao has quit []
heat has joined #osdev
<heat> WELCOME TO HEATCOM
<heat> cyao: nostdinc will remove those compiler headers
<GeDaMo> cyao left
gorgonical has joined #osdev
<heat> literally ciao
<gorgonical> I might actually finish this risc-v forth assembler this year
<gorgonical> forth interpreter
<bslsk05> ​ljrk.codeberg.page: Dissecting the UNIX v6 Allocator
<gorgonical> It's osdev because I'm running it on qemu as a bare kernel
gareppa has joined #osdev
Terlisimo has quit [Quit: Connection reset by beer]
<mrvn> heat: would be nice if the page would actually include the 60 lines of code as a block so one could read it
<mrvn> some of those explanations are quite confusing
sebonirc has quit [Ping timeout: 268 seconds]
Terlisimo has joined #osdev
<mrvn> ahh, found the link to the source
<geist> gorgonical: oh hows that going? Finding that writing lots of riscv asm is pretty painful or painless?
sebonirc has joined #osdev
<heat> one man's pain is another's countless hours of enjoyment
<gorgonical> I would say pretty painless. We'll see how that changes when it comes to debugging this whole system once its runnable. But writing asm is actually pretty good. I like it best of arm, x86, and risc-v
<geist> Yah that’s why I was curious what they were thinking about it
<geist> Cool
<geist> I find it about one notch simpler than I’d like (more of an arm64 level of risc is my home) but i could probably get used to it
<gorgonical> I really, really enjoy that the assembler knows mnemonics for the registers, so arg registers are a0-7 or also x10-17
<gorgonical> And I guess I could have done that with #defines also but the assembler just knowing them out of the box is nice. Cognitive load stuff
<geist> Yah, and the mandatory built in pseudoinstructions help a bunch
<heat> i like arm64's .req
<gorgonical> Maybe if I spent more time I would prefer arm64 because of the loading stuff. I will say stack manip in risc-v is a little verbose
<geist> Yeah it’s generally stuff like that that gets a bit annoying. Or lack of multi reg load/stores or pre/post increment/decrement
<gorgonical> lw a0, (sp); lw a0, 8(sp); addi sp, sp, -16 is a little much
<geist> Feels a bit verbose to always have to compute the address first
<geist> Will be interesting to see what instruction fusing the first real high performance implementation comes up with
<gorgonical> Meanwhile arm64 has ldrp and the post instructions
<geist> Ie, add addr_reg, reg, reg + ld dest, addr_reg getting fused, etc
<heat> maybe that intel thing is fast
<gorgonical> the uhh horse creek thing?
<heat> yeah
<gorgonical> yes will be interesting to see
<heat> well, it's still a sifive core, but on intel 4
<gorgonical> I attended a talk by a sifive guy who said they feel confident the newer cores are much more performant
<heat> with ddr5 and pcie 5 which is siiiiiiiiiiiiiiick
<gorgonical> krste asanovic was the guy. couldn't remember his last name
<geist> Yah. I’m waiting for apple to play the long game and switch over to riscv with one of their cores
<geist> I forget where I was reading it but there was a good argument for not using the compressed riscv instructions if buildings really really high end implementation
Piraty has quit [Quit: No Ping reply in 180 seconds.]
<geist> For more subtle reasons than just the more complex decoder
<gorgonical> I mean they are for packing more instructions onto an embedded device, right?
<gorgonical> oh
Piraty has joined #osdev
<geist> Yah. My limited experience with it is riscv + compressed instructions approaches thumb2 in terms of density, which approaches x86
<geist> From just generally compiling things and looking at the size of the text segment for equivalent things, etc
<gorgonical> something I'm interested to see is how risc-v ends up on accelerators. There's a lot of work with various types. Vector units, systolic matrix stuff, etc
epony has joined #osdev
leitao has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
<heat> ...what's the point of being super RISC if you're fusing everything anyway?
srjek has quit [Quit: Leaving]
<geist> Reminds me of some article I was reading the other day among other things comparing ARM and x86 and they were using highly x86 centric instruction streams
<mrvn> gorgonical: you mean things my assembler on m68k in the 90th had?
<geist> Notably, noticing that ARM implementations dont seem to have a fast path for xor reg, reg
<mrvn> just less and worse
<heat> SHAME
<geist> Like ‘so lame they dont fold out that and do zero register fast path’
<geist> Which of course is missing the point. ARM says ‘this is how you zero a register, and it’s mov reg, #0’
<mrvn> geist: do you mean xor r0, r0, r0?
<geist> XOR reg, reg doesn’t have any advantage on ARM and thus there’s no fast path for it
<geist> mrvn: yes, i sometimes do two register when its implied the latter two would be the same register
<mrvn> xor being faster on x86 is legacy cruft
<geist> Exactly. It encodes smaller, so it’s the fastest way to do it, etc
DonRichie has quit [Quit: bye]
DonRichie has joined #osdev
<mrvn> it saved a byte so people started using it and then because everyone used it they made it faster too
<GeDaMo> It would have used fewer clocks on the original 8086 too
<mrvn> GeDaMo: fewer bus cycles
<mrvn> nowadays it should be slower as it would require the ALU if that weren't optimized out
<mrvn> and add register register dependencies
<mrvn> I wonder, is "sub reg, reg" optimized too?
<heat> the gang goes looking in the optimization manual
<GeDaMo> Apparently it is on some microarchitectures
<heat> it is
<heat> in everything remotely modern
<heat> particularly "In processors based on Intel Core microarchitecture"
<heat> xor, sub, xorps/pd, pxor, subps/pd, psubb/w/d/q and avx equivalents
<heat> seems like p4 also had this
<heat> oh, here's a nasty detail about nops
<heat> "The other NOPs have no special hardware support. Their input and output registers are interpreted by the hardware."
<heat> other NOPs meaning sizeof(nop) > 1
dequbed has joined #osdev
Vercas6 has quit [Quit: Ping timeout (120 seconds)]
<mrvn> heat: so I can create a register dependency with a NOP?
<mrvn> why does NOP have registers?
gareppa has quit [Quit: Leaving]
<bslsk05> ​stackoverflow.com: assembly - Long multi-byte NOPs: commonly understood macros or other notation - Stack Overflow
<heat> yeah
<heat> "Therefore, a code generator should arrange to use the register containing the oldest value as input,"
<mrvn> X86 limits opcodes to 15 bytes and it's hillarious that NOP uses all of that.
Vercas6 has joined #osdev
<Jari--> whats up
<Jari--> I am on OSDEV / Telegram
<heat> congrats
bauen1 has quit [Ping timeout: 260 seconds]
hmmmm has quit [Ping timeout: 260 seconds]
bauen1 has joined #osdev
<pitust> oh wor you can use TELEGRAM? how impressive /s
gog has joined #osdev
<sbalmos> Reading Redox's boot code makes me want to peel out my contacts
<j`ey> Redox's boot code in particular?
<heat> link plox
Vercas6 has quit [Remote host closed the connection]
Vercas6 has joined #osdev
<sbalmos> not neessarily theirs in particular. just the latest I'm reading to wrap my head around
<heat> hi i'm heat, what do you need
<sbalmos> a fuzzy blanket and a bourbon
<GeDaMo> I quite like some heat, it's cold here :|
<heat> i cant move, my cat wont leave my lap
<mrvn> heat has a heater on his lap
<mrvn> cheater
<heat> no, it's a cat
<mrvn> is your cat cold?
<heat> mildly
<heat> sbalmos, https://github.com/heatd/Onyx/tree/master/kernel/arch use onyx best code best operating system perfect no bug no crash
<bslsk05> ​github.com: Onyx/kernel/arch at master · heatd/Onyx · GitHub
<heat> good kernel monolithic unix tradition k&r at&t bsd university of california berkeley
<sbalmos> riiiiight
<mrvn> heat: does onyx work on ARMs that have memory at 2GB?
<mrvn> +start
<heat> yes
<heat> although there's not much arm64 support except for basic booting (yet)
<mrvn> no ARM support. too bad.
<heat> there is bare bones arm64 support
<heat> it should boot, it's just not very useful atm
<mrvn> but that' aarch64. I was saying ARM.
<heat> oh nah
<mrvn> I still have a bunch of 32bit only ARMs.
<heat> I'm skipping 32-bit
<heat> at least for now
<mrvn> probably forever if you don't design for it from the start
<heat> not really
<heat> if I hacked some bits around it should Just Work
<heat> not that I care enough to do it though
<heat> the only thing that made me question this was riscv, because rv32 is just that much more available
<heat> (and less expensive)
jafarlihi has joined #osdev
jafarlihi has quit [Quit: WeeChat 3.7.1]
scoobydoo_ has joined #osdev
scoobydoo has quit [Ping timeout: 260 seconds]
scoobydoo_ is now known as scoobydoo
<gog> hi
Vercas6 has quit [Remote host closed the connection]
gorgonical has quit [Ping timeout: 260 seconds]
Vercas6 has joined #osdev
terminalpusher 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.]
<bslsk05> ​www.nature.com: The leap second’s time is up: world votes to stop pausing clocks
<gog> cool
<heat> sortie in shambles
<heat> meanwhile, other chad UNIXes: idc lmao
<gog> unices
<heat> UNIXii
<gog> eunuchs
<heat> thank you gog, very cool
<gog> yw
<mats1> i'm going to reuse that
<bslsk05> ​www.reddit.com: Andrew Tate uses Unix : LinuxCirclejerk
<heat> i posted this before
<gog> oh damn
<gog> are you a king of old
<heat> ratio'd + cucked + circlejerked + seen + roasted + based + redpilled + unix
<heat> no im a king of new
<heat> but i still want unix
<gog> eunuchs
<heat> yes, that's what I said, unix
<gog> git recringe
<gog> none of my code is based
<heat> git based
<gog> i'm tryingh
<bslsk05> ​www.reddit.com: Glad I found this before NNN : LinuxCirclejerk
<bslsk05> ​www.reddit.com: Gentoo stage3 amd64 musl download ASMR : LinuxCirclejerk
<gog> lol
eryjus has joined #osdev
eryjus has quit [Client Quit]
xenos1984 has quit [Ping timeout: 256 seconds]
Vercas6 has quit [Ping timeout: 255 seconds]
<mats1> who is andrew tate
<mats1> maybe he's using macos, a certified eunuchs
wand has quit [Remote host closed the connection]
bgs has quit [Remote host closed the connection]
xenos1984 has joined #osdev
Vercas6 has joined #osdev
Vercas6 has quit [Remote host closed the connection]
Vercas6 has joined #osdev
Vercas6 has quit [Ping timeout: 255 seconds]
Vercas6 has joined #osdev
<gog> microkernel
<gog> heh
wand has joined #osdev
<epony> mirc'ernel
terminalpusher has quit [Remote host closed the connection]
janemba has quit [Ping timeout: 248 seconds]
m5zs7k has quit [Ping timeout: 260 seconds]
m5zs7k has joined #osdev
smach has joined #osdev
smach has quit [Read error: Connection reset by peer]
<geist> Mackeralkernel
<geist> Mackerelkernel
<geist> Yeah had to spell it right
janemba has joined #osdev
<gog> m'kernel
* gog tips hat