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
lentement has quit [Ping timeout: 246 seconds]
Maja has joined #osdev
Bitweasil has quit [Remote host closed the connection]
Bitweasil has joined #osdev
<zid> heat_: I went for a walk around serbia in google maps
<zid> and we found a girl with a copy of K&R2 in her bag
<heat_> good choice
heat_ has quit [Remote host closed the connection]
heat has joined #osdev
<heat> i switched to KDE 6 and its so different i don't like it wtf
<nikolapdp> lol
<CompanionCube> oh no?
<gog> i am never upgrading
eddof13 has joined #osdev
eddof13 has quit [Client Quit]
heat_ has joined #osdev
nur has quit [Quit: Leaving]
<heat_> i'm back it looks fine
<heat_> turns out i accidentally booted into GNOME lmao
<heat_> GNOME looked like *shit*
heat has quit [Read error: Connection reset by peer]
heat_ is now known as heat
<nikolapdp> lol
<CompanionCube> this is an excellent joke, 10/10
<heat> the worst part is that it wasn't a joke
<heat> i legitimately thought KDE went fucking backwards
<nikolapdp> lol that's more of a gnome thing indeed
<heat> i suspect gnome looked so cursed because of my theming
<CompanionCube> not sure there's really much to be themed in the default GNOME layout?
<heat> i'm not sure
<heat> gnome was in dark mode but the colors were completely inverted
<heat> maybe it takes the gtk theming into account? which i definitely have
<CompanionCube> yeah but it's a plain bar iirc, so not all that much room to look ugly
<heat> it looked vaguely like gnome 2 but uglier, if that helps
<CompanionCube> mmm
<gog> goone
<CompanionCube> any thoughts on KDE 6?
<heat> it looks slightly different but mostly the same
<mjg> gnome was the default on Solaris
<mjg> are you seriously going to shit on it?
<heat> the alt-tab "selector" thingy has some new animation which i'll eventually disable probably
<CompanionCube> mjg: didn't they insist on additional java branding for some reason?
<heat> GNOME is installed on 10 trillion devices
<heat> NetBSD is installed on all retirements homes
<CompanionCube> ah, seems the java branding was only for 10 and not 11/opensolaris
<heat> OpenBSD is installed
<heat> FreeBSD is
<nikolapdp> BSD
eddof13 has joined #osdev
<heat> onyx isn't
<heat> onyxn't
<zid> novi-sadge
gog has quit [Ping timeout: 260 seconds]
elderK has joined #osdev
<nikolar> There we go zid
<CompanionCube> Windows was
<zid> what happened
<nikolar> Windows
<zid> windows happened in the year 3
<zid> point 1
<zid> then 1992 years later another one
<zid> heat: You know the major version numbers we were talking about?
<nikolar> Why 1992
<nikolar> And not just 92
<zid> Windows is still massively in the lead, with 2000
<zid> other software needs to catch up
<nikolar> Browsers are getting there
<nikolar> In the 100s
<zid> other things I learned about serbia: You can read 90% of all signs as long as you can read the word pekara
<heat> hi nikolar how roman do you feel, as a serbian?
<heat> pannonia and dalmatia were pretty darn good provinces i'll tell you that
<nikolar> Not very heat
<nikolar> Why
<nikolar> Sure
<zid> HNKona
<heat> i'm polling for romanness across ex-roman provinces
<heat> hi zid how much roman 0 to 10
<nikolar> Ask zid
<zid> 0, they're 9 russian
<zid> and 1 slav
<zid> shit looks like downtown moscow but warmer
<zid> ladas and brutalist towerblocks only
<nikolar> It is warmer
<nikolar> And girls with k&r
<heat> nikolar, is everything in eastern europe grey like in the movies
<nikolar> There's a lot of gray,
<nikolar> But not everything
<heat> name one thing that isn't grey or in greyscale
<zid> The red graffiti
<nikolar> Plenty of buildings are in colour
<heat> how is that legal
<nikolar> Like I live in a brick building
<heat> WHAT
<zid> stole it frm kosovo
<nikolar> And, shocker, it was built by commies
<nikolar> zid no
<nikolar> Bad zid
<heat> ohhh is that why it's red then
<elderK> What the hell?
<nikolar> Lol more like orange than red
<zid> glorious communist building materials, red brick
<nikolar> Lol
eddof13 has quit [Quit: eddof13]
heat_ has joined #osdev
heat has quit [Read error: Connection reset by peer]
eddof13 has joined #osdev
eddof13 has quit [Client Quit]
rustyy has quit [Quit: leaving]
<kof673> > And girls with k&r i don't know the context but I am going to choose to interpret this a certain way nonetheless
rustyy has joined #osdev
<kof673> > tuxedo cats kinda look like penguins, yes yes, and leopards, spotted cows, characters from clue movie with ostrich feather of truthen on their heads...equinox lions who come down from equinox mounts and their faces are veiled...crows sitting on skulls/piles of bones...ostrich i guess too lol lamb...
Matt|home has quit [Quit: Leaving]
<kof673> acid wins alchemy chat today
<kof673> magpie, hoopoe bird, etc. etc. etc. :D
bleb has quit [Ping timeout: 256 seconds]
bleb has joined #osdev
blockhead has joined #osdev
navi has quit [Quit: WeeChat 4.1.2]
joe9 has joined #osdev
netbsduser has joined #osdev
joe9 has quit [Quit: leaving]
joe9 has joined #osdev
heat_ has quit [Read error: Connection reset by peer]
heat_ has joined #osdev
netbsduser has quit [Ping timeout: 260 seconds]
lentement has joined #osdev
lentement has quit [Ping timeout: 268 seconds]
Matt|home has joined #osdev
netbsduser has joined #osdev
blockhead has quit []
heat_ has quit [Ping timeout: 246 seconds]
vdamewood has quit [Quit: Life beckons]
netbsduser has quit [Ping timeout: 264 seconds]
Maja has quit [Ping timeout: 240 seconds]
sbalmos has quit [Ping timeout: 268 seconds]
sbalmos has joined #osdev
lentement has joined #osdev
lentement has quit [Ping timeout: 264 seconds]
netbsduser has joined #osdev
netbsduser has quit [Ping timeout: 272 seconds]
divine has quit [Remote host closed the connection]
netbsduser has joined #osdev
netbsduser has quit [Ping timeout: 256 seconds]
nur has joined #osdev
lentement has joined #osdev
<geist> neat. replaced my rpi5 case with a solid aluminum fanless, and it seems to work well
<geist> have had good luck with the same thing on rpi4 and visionfive 2 boards
vdamewood has joined #osdev
<geist> doing a stress test to see what the temp gets up to, but so far it's only getting up to the upper 50s
<geist> with the deluxe fan which was kinda noisy it would eventually breach 80c before
lentement has quit [Ping timeout: 264 seconds]
netbsduser has joined #osdev
ski has quit [Ping timeout: 264 seconds]
divine has joined #osdev
zetef has joined #osdev
netbsduser has quit [Ping timeout: 252 seconds]
elderK has quit [Quit: WeeChat 4.1.1]
lentement has joined #osdev
zetef has quit [Ping timeout: 255 seconds]
lentement has quit [Ping timeout: 260 seconds]
zetef has joined #osdev
gbowne1 has quit [Quit: Leaving]
netbsduser has joined #osdev
<klange> forum's fucked; it can't keep sessions straight
<klange> can't approve posts because of it
<Mutabah> Hmm... I have a stable login, with the SID in the URL
<Mutabah> hmm... but post approving doesn't seem to happen
<Mutabah> ublock being silly?
gxt_ has quit [Remote host closed the connection]
gxt_ has joined #osdev
<klange> Mutabah: if the sid ends up in the URL, it means you landed on a page that could not associate your cookie sid with you, it's an indicator of an issue
<klange> (phpbb populates links with the new sid if that happens... and then it doesn't work properly after that, and ends up giving you new sids all the time)
<Mutabah> Strange... yet, I'm still logged in
<klange> Do you check the "always log me in" box?
<Mutabah> oooh, yes, I did
<klange> You end up with a fresh logged in session every time, it's super fun!
<Mutabah> Nice!'
<Mutabah> Dang, I've not been to the forum in a long time - getting a blast from the past seeing the beginner questions
gxt_ has quit [Remote host closed the connection]
gxt_ has joined #osdev
netbsduser has quit [Ping timeout: 264 seconds]
gog has joined #osdev
pg12 has quit [Remote host closed the connection]
pg12 has joined #osdev
GeDaMo has joined #osdev
Matt|home has quit [Quit: Leaving]
netbsduser has joined #osdev
<geist> heh i should start a VAX section on the wiki
<gog> but you'll get anti-VAXers vandalizing it
<gog> :D
zetef has quit [Quit: No Ping reply in 180 seconds.]
<gog> geist: did you see my new website https://adachristine.is
<bslsk05> ​adachristine.is: where are you going?
<geist> d'aww
<vdamewood> Kitty!
* vdamewood gives gog a fishy
<nikolapdp> giest you should
<nikolapdp> make a pdp11 section too :)
<Ermine> .pdp11
<nikolapdp> *on the wiki
* gog chomp fishy
zetef has joined #osdev
masoudd has joined #osdev
zetef has quit [Read error: Connection reset by peer]
zetef has joined #osdev
ski has joined #osdev
<zid> I'm surprised nikolapdp is awake, I kept him up all night smh
navi has joined #osdev
ski has quit [Ping timeout: 255 seconds]
<nikolapdp> i mean i am at work zid
<nikolapdp> some of us have to do that too
<zid> surprised you didn't sleep in
<zid> then work from home
ski has joined #osdev
<nikolapdp> almost did actually lol
<zid> see, no need for the snark
zetef has quit [Remote host closed the connection]
<nikolapdp> nah i was kidding
elastic_dog has quit [Ping timeout: 255 seconds]
elastic_dog has joined #osdev
goliath has quit [Quit: SIGSEGV]
netbsduser has quit [Ping timeout: 268 seconds]
<mcrod> hi
<nikolapdp> hello mcrod
<mcrod> nikolapdp may I pet you
<nikolapdp> sure why not
* mcrod pets nikolapdp
<nikolapdp> that was nice
lentement has joined #osdev
lentement has quit [Ping timeout: 272 seconds]
\Test_User has quit [Ping timeout: 264 seconds]
Maja_ has joined #osdev
zetef has joined #osdev
lentement has joined #osdev
vinleod has joined #osdev
lentement has quit [Ping timeout: 240 seconds]
vdamewood has quit [Ping timeout: 272 seconds]
eddof13 has joined #osdev
heat_ has joined #osdev
linearcannon has quit [Remote host closed the connection]
linearcannon has joined #osdev
vinleod has quit [Read error: Connection reset by peer]
vdamewood has joined #osdev
gog has quit [Quit: Konversation terminated!]
Left_Turn has joined #osdev
eddof13 has quit [Quit: eddof13]
masoudd has quit [Ping timeout: 260 seconds]
linearcannon has quit [Remote host closed the connection]
linearcannon has joined #osdev
CryptoDavid has joined #osdev
ski has quit [Remote host closed the connection]
<nikolapdp> _m zid i sent him just the link lol
<zid> RUMBLED
<zid> that was supposed to go to #shittalkingheatforhissillyopinionsonspqr
<nikolapdp> yeah dang it
<zid> I wish spectral cards were better.
<zid> or rather, less random
<nikolapdp> spectral cards?
stolen has joined #osdev
<zid> balatro bitches
<nikolapdp> ah right
<zid> If you want a different game you have to submit a written request
<nikolar> Everything here is a written request
<zid> no, everything here is writing
<zid> it doesn't qualify as a written request
<zid> you need to have recorded delivery, and DEAR SIR/LORD,
<nikolar> Lol
<zid> Dear lord zid, I am writing to your great self today to request that you play `TEXMASTER`, please find enclosed the £5 application fee. Looking forward to your positive response. Yours, nikola (girl not boy).
<zid> sorry my mistake, boy not girl
<nikolar> What's a texmaster
<zid> not again
<nikolar> Lol
<bslsk05> ​www.google.com: texmaster game - Google Search
<nikolar> I keep mixing them up
exit70 has quit [Quit: ZNC 1.8.2+deb3.1 - https://znc.in]
exit70 has joined #osdev
<zid> nikolapdp: lmk when it is GAME time
<nikolapdp> now
<nikolapdp> zid ^
warlock has quit [Quit: Lost terminal]
eddof13 has joined #osdev
eddof13 has quit [Client Quit]
eddof13 has joined #osdev
vinleod has joined #osdev
vdamewood has quit [Ping timeout: 260 seconds]
goliath has joined #osdev
ski has joined #osdev
navi has quit [Ping timeout: 264 seconds]
navi has joined #osdev
netbsduser has joined #osdev
xenos1984 has quit [Ping timeout: 256 seconds]
xenos1984 has joined #osdev
voidah has quit [Ping timeout: 256 seconds]
M_D_K has joined #osdev
gog has joined #osdev
eddof13 has quit [Quit: eddof13]
eddof13 has joined #osdev
azureal has joined #osdev
Turn_Left has joined #osdev
Left_Turn has quit [Ping timeout: 255 seconds]
zetef has quit [Ping timeout: 272 seconds]
stolen has quit [Quit: Connection closed for inactivity]
eddof13 has quit [Quit: eddof13]
Left_Turn has joined #osdev
Turn_Left has quit [Ping timeout: 256 seconds]
azureal has quit [Quit: Client closed]
eddof13 has joined #osdev
<Ermine> You are not lord though
<Ermine> Not even a baron
<Ermine> I haven't seen you in the house of lords
eddof13 has quit [Quit: eddof13]
CryptoDavid has quit [Quit: Connection closed for inactivity]
eddof13 has joined #osdev
gorgonical has joined #osdev
xenos1984 has quit [Ping timeout: 268 seconds]
<heat_> house of linux
xenos1984 has joined #osdev
lentement has joined #osdev
lentement has quit [Ping timeout: 256 seconds]
eddof13 has quit [Quit: eddof13]
eddof13 has joined #osdev
eddof13 has quit [Client Quit]
<Ermine> With party of minimalists and party of mainstream
<heat_> party of BLOATED
<Ermine> got it, heat_ voted for minimalists
eddof13 has joined #osdev
<sham1> yes hi | head -n1
M_D_K has quit [Ping timeout: 268 seconds]
netbsduser has quit [Ping timeout: 264 seconds]
<gorgonical> what on-topic thing will we discuss today
<gorgonical> Or maybe it's a classic quiet Thursday where everyone is actually doing work
<mcrod> no
<kazinsal> I've been in meetings for the past four straight hours if that counts as work
netbsduser has joined #osdev
<Ermine> you are paid for that
<gorgonical> hopefully
<Ermine> lpc-link 2 looks interesting, but idk why would i want it
zetef has joined #osdev
gorgonical has quit [Ping timeout: 260 seconds]
zetef_ has joined #osdev
zetef has quit [Ping timeout: 264 seconds]
Matt|home has joined #osdev
lentement has joined #osdev
gorgonical has joined #osdev
<gorgonical> Man, sometimes this xpra x forwarding misbehaves wildly
lentement has quit [Ping timeout: 255 seconds]
Arthuria has joined #osdev
GeDaMo has quit [Quit: That's it, you people have stood in my way long enough! I'm going to clown college!]
Arthuria has quit [Ping timeout: 268 seconds]
ski has quit [Ping timeout: 260 seconds]
ski has joined #osdev
masoudd has joined #osdev
<geist> lic-link 2 vs 1? or just in general?
<Ermine> just in general
<geist> well, you can jtag into a lot of things with it
<geist> it's a good flexible jtag board
<Ermine> I guess I need to install some proprietary software on my computer to manage it?
<sham1> > proprietary software
<Ermine> I mean, I have some experience with j-link stuff, and this is cringe. Also they demand batshit insane amount of money for their SDK
gbowne1 has joined #osdev
<Ermine> (which is a header file and docs)
<geist> openocd which is not proprietary
<geist> i think the whole thing is lpc-link is not j-link
<Ermine> nice
<geist> as i it's a open open source version of it
<geist> for low level hackery NXP is usually very nice and open
eddof13 has quit [Quit: eddof13]
<heat_> GNU lpc-link
<geist> you know i think i have one of these around. maybe lpc-link 1
<geist> even have an LK port to it i think
<Ermine> I've learned of lpc-link 2 because of a macro in lk code
<bslsk05> ​github.com: lk/target/lpclink2 at master · littlekernel/lk · GitHub
<geist> yeah
<geist> i must have one in a box
<Ermine> So you can run lk on lpc-link?
<geist> yeah
<geist> assuming that hasn't code rotted
<geist> at the time i remember we had our own cortex debugging soution with it that didn't use openocd
<geist> ran on LK
<bslsk05> ​github.com: lk/project/lpclink2-mdebug.mk at master · littlekernel/lk · GitHub
<Ermine> gotta buy one then
<geist> https://github.com/littlekernel/lk/tree/master/app/mdebug this plus a command line host utility that talked to it over usb was a little all in one simple cortex-m loader/debugger/etc
<bslsk05> ​github.com: lk/app/mdebug at master · littlekernel/lk · GitHub
<geist> i can't guarantee that the code hasn't rotted, probably hasn't been tested in some time
<geist> i should dig mine out and see if it works
<adder> I'm not sure what should be my base and limit for gdt.
<adder> Should the limit be number of entries times eight?
<heat_> for the gdtr you mean?
<adder> Yeah.
<geist> adder: yes, though if you notice that ends up being size in bytes
<heat_> base is the gdt's address, limit is the size of the table in bytes - 1
<geist> oh yeah, -1
<adder> One more question: is an array of uint64_t a valid gdt?
<heat_> yes
<heat_> why wouldn't it
<geist> yah to the cpu itself it doesn't care. it's just a linear run of bits, so you can use whatever programming type makes sense for your language, as long as it ends up being a linear packed run of entries in memory
<geist> the IDT works the same way
<geist> (and the LDT). the only thing the cpu remembers is the base + length so it can consult it later when it needs to read a new segment in
<geist> think of LGDT/LIDT as just loading a hidden base + length pointer
<geist> in a hidden register
<adder> Yeah, alright. Thanks.
<geist> i dont think there are any limitations to how it's aligned, but there's no reason to not align it on a 64bit boundary
<heat_> you should align the GDT though, to 64 (or was it 16?) bytes
<zid> It's surprisingly lax about gdt alignment
<zid> it feels wrong as shit though
gildasio has quit [Ping timeout: 260 seconds]
<nikolapdp> what does the spec say
<heat_> what does the fox say
gildasio has joined #osdev
<geist> oh no heat why did you say that
<geist> now it's in my head
<geist> it's in my head!
<Ermine> oh no
<heat_> that song is now over 10 years old
<heat_> i can't wait for it to become vintage
<nikolapdp> when does it become vintage then
<heat_> i don't know
duderonomy has joined #osdev
<heat_> btw there's no x86 spec, there are x86 manuals that each describe their vendors' implementations
<heat_> which coincide in a lot of stuff until they don't
<nikolapdp> right yeah
<nikolapdp> that's what i meant
<heat_> x86 is an amazing, cursed architecture
<adder> How do I know it's successfully loaded?
<nikolapdp> and amazingly cursed
<heat_> adder, reload your segment registers, if everything works you're all good
<adder> Looks like I'm good.
duderonomy has quit [Client Quit]
duderonomy has joined #osdev
zetef_ has quit [Remote host closed the connection]
<bslsk05> ​gist.github.com: x86 is an octal machine · GitHub
<sham1> x86 is quite elegant when you ignore all the later bullshit
<nikolapdp> neato
<heat_> no, it's pragmatic
<heat_> having 200000 special instruction forms for <instr> (R/E)AX is not elegant
<sham1> Just being RISC doesn't make it more eleganter
<sham1> X86 is relatively easy to write by hand, especially when compared with a RISC thing like some of the ARMs
<heat_> this is not a RISC vs CISC thing
<Mondenkind> risc vs cisc is not a thing
<sham1> Well, it used to be
<Mondenkind> anyway avx512 is risc because it has static rounding mode control
<heat_> i can encode an or imm32, %eax in two different forms because they thought it was convenient to save a byte sometimes, when crammed
<heat_> this is not elegant, this is pragmatic
<heat_> CISC doesn't mean that you have to make a mess out of your instruction encoding
<sham1> Are you saying that being pragmatic like this couldn't be elegant
<Mondenkind> yeah. it also assumes you're writing code by hand and using the axcumulator a lot which compilers don't really do..
<sham1> Also remember what I said
<Mondenkind> sham1: elegance is subjective
<sham1> > x86 is quite elegant when you ignore all the later bullshit
<zid> being pragmatic is breakig your orthogonality, for something you need
<sham1> when you ignore all the later bullshit
<heat_> this isn't later
<Bitweasil> ... if you mean, say, the 16-bit x86, maybe. Extension prefix bytes alone are enough to call x86 ugly.
<heat_> these weird AX/DX/DI/SI forms come from early x86 down to 2024 x86
<zid> riscv is antipragmatic, in that respect
<Bitweasil> Don't forget AH! :D
<Bitweasil> "AH: Here be weird hyperthready bugs."
<sham1> RISCs tend to converge towards more CISCy designs over time. See also: ARM
<heat_> you're the only one talking about RISC vs CISC
<sham1> Well no
<sham1> zid mentioned RISC-V as a point of comparison
<Bitweasil> RISC-V != RISC, in the RISC/CISC sense...
<heat_> riscv is definitely not pragmatic IMO
<Bitweasil> It's just an architecture name. I don't know enough about it to have an informed opinion on the ISA.
<heat_> to me it feels excessively designed by committee
<heat_> the vector extension is insane
<nikolapdp> yeah it sure is
<sham1> I mean, IIRC it is designed by a committee
<nikolapdp> the whole arch is a bit whacky
<Mondenkind> you can argue trying to use one isa for all classes of hardware is a kind of pragmatism?
<Mondenkind> i guses?
<adder> heat_: Did you say I should figure out IDT next?
<heat_> yeah
<sham1> You should figure out the interrupt handling stuff of your target system quite early
<sham1> It's of course very important
<heat_> not yet interrupt handling (in the IRQ sense), but just handling exceptions is super important
<heat_> interrupts will come next
<sham1> Thems are interrupts
<Bitweasil> What if you never fault? ;)
<Bitweasil> Fully Synchronous OS! :D
<heat_> evil managarm
<sham1> See also: MS-DOS /s
<Bitweasil> I mean, it used INT calls, but... yeah. Pretty much.
<Bitweasil> If you fully allocate memory before you use it, and busy-wait on disk, or have regular "yield into kernel" calls, you could probably do it.
<heat_> i don't like that x86 calls exceptions/traps interrupts, because they're really not
<heat_> interrupts assumes some... interuption
<heat_> a trap is fully synchronous, works exactly like a system call
<Bitweasil> ARM has synchronous and asynchronous exceptions.
<Bitweasil> But they both route into the same table.
<heat_> yeah the async exceptions are memory and device aborts and the like, iirc?
<Bitweasil> They're conceptually close enough that the CPU reusing functionality between them, IMO, makes sense.
<Bitweasil> Or IRQs.
<heat_> the arm64 irqs are separate i think
<Bitweasil> No, it's the same vector table for hardware exceptions vs other stuff.
<heat_> yes, its the same vector table, but different entry points
<Bitweasil> Oh.
<Bitweasil> Yes.
<bslsk05> ​developer.arm.com: Documentation – Arm Developer
<Bitweasil> Synchronous, IRQ, FIQ, and SError/etc.
<bslsk05> ​www.reddit.com: Blocked
<heat_> someone just recommended jamesm's tutorials in 2024
<sham1> Cringe
<geist> heh they're still there?
<geist> Bitweasil: yah 4 types of exceptions, and then 4 versions of the 4 types, based on the state of the cpu at the time, for 16 total
<Bitweasil> Yup.
<Bitweasil> I still think the M-series NVIC is far classier. :)
Left_Turn has quit [Read error: Connection reset by peer]
<Ermine> heat_: the answer is as high quality as the question I guess