heat has quit [Read error: Connection reset by peer]
heat has joined #osdev
stefanct has quit [Ping timeout: 252 seconds]
stefanct__ is now known as stefanct
heat has quit [Ping timeout: 260 seconds]
<kazinsal>
horrible idea: cisc-v
vdamewood has quit [Quit: My Mac has gone to sleep. ZZZzzz…]
orccoin has joined #osdev
vdamewood has joined #osdev
<kof673>
well qemu-7.2.4 was the magic version that is new enough to have riscv64 userland emulation, old enough to build on an ancient kernel/etc. just had to comment out gcc 7.5.0+ requirement lol so, scc riscv64 also "works" i guess :/
<kof673>
# cc2 is a lie, but there is no riscv64 cc2, so...qbe is qbe i guess :) # ../libexec/scc/cc1 -I../include hello.c | ../libexec/scc/cc2-qbe_arm64-sysv | ../libexec/scc/qbe -t rv64 > h.s ; riscv64-as hello.s -o h.o ; scc -m riscv64 h.o -o h
craigo has joined #osdev
Gooberpatrol_66 has joined #osdev
Gooberpatrol66 has quit [Read error: Connection reset by peer]
Arthuria has quit [Ping timeout: 276 seconds]
goliath has joined #osdev
xenos1984 has quit [Quit: Leaving.]
EineNdamen has joined #osdev
Matt|home has joined #osdev
EineNdamen has quit [Read error: Connection reset by peer]
EineNdamen has joined #osdev
EineNdamen has quit [Read error: Connection reset by peer]
EineNdamen has joined #osdev
EineNdamen has quit [Read error: Connection reset by peer]
GeDaMo has joined #osdev
jedesa has quit [Remote host closed the connection]
goliath has quit [Quit: SIGSEGV]
the_oz has quit [Ping timeout: 276 seconds]
the_oz has joined #osdev
obrien has joined #osdev
<isabella>
what systems other than linux have an interface similar to io_uring?
<geist>
hmm, that's a good question
<kazinsal>
NT does
<isabella>
what's it called in there?
<kazinsal>
ioringapi.h on windows declares IoRing on 21H2 and newer
<the_oz>
what is it, a ringbuffer?
<kazinsal>
asynchronous I/O call system
<the_oz>
golang has had that
<the_oz>
not an os but same same
<the_oz>
is a system
EineNdamen has joined #osdev
X-Scale has joined #osdev
EineNdamen has quit [Read error: Connection reset by peer]
<the_oz>
I have an old ringbuffer implementation, but no promises on it's performance
<the_oz>
it's also not standalone
<the_oz>
but it's there you want something
X-Scale has quit [Ping timeout: 256 seconds]
EineNdamen has joined #osdev
foudfou_ has joined #osdev
foudfou has quit [Ping timeout: 260 seconds]
EineNdamen has quit [Read error: Connection reset by peer]
obrien has quit [Ping timeout: 276 seconds]
spare has joined #osdev
gog has joined #osdev
kfv has joined #osdev
EineNdamen has joined #osdev
EineNdamen has quit [Read error: Connection reset by peer]
jedesa has joined #osdev
Gooberpatrol_66 has quit [Remote host closed the connection]
bauen1 has quit [Quit: leaving]
<immibis>
today i played an audio CD and it's impressive how the system is basically buffer-less. You don't get systems like that these days.
bauen1 has joined #osdev
bauen1 has quit [Ping timeout: 246 seconds]
muxelplexer has joined #osdev
bauen1 has joined #osdev
X-Scale has joined #osdev
heat has joined #osdev
edr has joined #osdev
kfv has quit [Ping timeout: 245 seconds]
kfv has joined #osdev
kfv has quit [Remote host closed the connection]
X-Scale has quit [Ping timeout: 256 seconds]
<Ermine>
TIL intel lpmd. And they use xml for configuration, in the fucking 2024
kfv has joined #osdev
<nikolar>
lpmd?
<Ermine>
low power mode daemon
<heat>
gotta love libexpat
<heat>
or the poor man's version, libimmigrant
<heat>
fwiw json isn't a great config format either
<zid`>
libini
<zid`>
the only useful format
<the_oz>
I always liked ini
kfv_ has joined #osdev
<the_oz>
really simple. yaml is preoccupied with how much craziness you can stuff into it and but why
<the_oz>
json is not a fucking config format and fuck you for mentioning it to me scum
<the_oz>
xml is javabrained
kfv has quit [Ping timeout: 252 seconds]
<heat>
based and javapilled
kfv_ has quit [Remote host closed the connection]
kfv has joined #osdev
hwpplayer1 has joined #osdev
<Ermine>
yaml is cringe, I agree
<zid`>
json has one specific, niche, use, and everything else should be ini
<Ermine>
"one parameter = one file" is the most based format
<heat>
<Ermine> "one parameter = one file" is the most based format
<heat>
have you heard of sysfs?
<heat>
you'll fucking lose it
<Ermine>
heat: did you bait me to google libimmigrant?
<zid`>
DID WE STUTTER?
<zid`>
one file = one value is BASED
<zid`>
ergo, sysfs is based, pay attention
<nikolar>
^^^
<heat>
uhh no it was a joke
<heat>
expat -> immigrant
<Ermine>
I've googled it and it gave me some libertarian twitter account
<Ermine>
and an unrelated ruby gem
<heat>
yeah that guy looks fucking cooked
<kof673>
> gotta love libexpat or the poor man's version, libimmigrant fwiw json isn't a great config format either immigrant: an unenlightened person who thinks one country better than another </devil's dictionary> finally, it makes sense now!
<kof673>
89 i believe does not allow trailing commas (although implementations might still)
<kof673>
*c89
<kof673>
generally something like that i have a NULL or similar zeroed-out entry at the end of a "table" anyhow
<heat>
trailing commas are allowed in initializers
<heat>
but it's not the comma operator in that case
Left_Turn has joined #osdev
<kof673>
IIRC emmigrant ~= leave immi == enter expat believe is similar ~= leave, or "patriate" enter
<zid`>
*compound initializers*
<zid`>
fuck sake
<zid`>
going around in circles here
<nikolar>
?
<zid`>
[14:31] <heat> trailing commas are allowed in initializers
<zid`>
we've literally had this exact "no you mean compound initializers" talk, 10 minutes ago, in this exact channel
<bslsk05>
pdp10.nocrew.org: Index of /gcc/download/
<kof673>
so...let me know when you get it working :)
<nikolar>
pdp10 gcc?
<kof673>
yes, it is like 3.2. should be easy to build that 1/2 of it
<nikolar>
Kek
<nikolar>
I'll let you know when I get a pdp10
X-Scale has joined #osdev
xenos1984 has joined #osdev
<heat>
yesterday i found out terminal box drawing is super quaint
<heat>
it involves magic sequences to switch charsets + shift-in/out ascii characters
<heat>
this is also exciting: github actions now supports nested virt
<nikolar>
terminal box drawing?
<nikolar>
can't you just use the unicode chars for that
<zid`>
not in a terminal terminal
<heat>
you kinda can, but old ass code is old
<zid`>
CP437 has some box drawing chars
<Ermine>
heat: how did ci work before nested virt?
<heat>
Ermine, what ci?
<zid`>
don't pass -kvm to qemu
<zid`>
and it works as normal
<zid`>
but now you can
<Ermine>
heat: onyx ci
<heat>
yeah that. but i stopped running tests in CI because it was too damn slow (and tcg sometimes made tests flaky)
<zid`>
nikolar: CP437 is the one true charset btw, and we should all use that as the base for utf-8 instead imo
<nikolar>
as the base for utf8?
<zid`>
heat: now it will be flaky in other ways, because the cpu running your code will change
kfv has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
<zid`>
rather than latin-1 or whatever we actually use
<nikolar>
oh you mean the lowest 256 chars
<heat>
no it won't
<nikolar>
zid`: that's a unicode thing not utf-8
<zid`>
I don't care
<heat>
github actions CI runs on well defined azure machines
<heat>
they won't surprise you with a pentium 4
<heat>
(best kind of surprise?)
<zid`>
and a ryzen 5 in a fewmonths
<Ermine>
intel atom!
<nikolar>
i386 obviously
<nikolar>
sx
<heat>
anyway basically what happens when doing box drawing is that you switch out charsets and a bunch of alphabetic characters start printing box gibberish instead
<zid`>
then an intel platinum xeon because of a rollout test after intel gave them away super cheap cus they suck now
<heat>
if the terminal doesn't support this you'll see some "qqqqqqqqqqqqqqqqqqqqqqq" and other weird shit
<zid`>
I wonder how much code would break if I moved \n, so that I could use cp437
<zid`>
something tells me software REALLY isn't going to enjoy it being 3 bytes long
<zid`>
My blue is way greener than most people's :D
<Ermine>
BLUE MEANS BLUE is horrid indeed
<zid`>
anglosphere needs a couple more words they teach children
<zid`>
for greeny bluey colours
<Ermine>
but the whole colour management thing turned out to be very complex
<GeDaMo>
Teal! :P
steelswords9 has quit [Read error: Connection reset by peer]
<zid`>
the words exist
<Ermine>
I have two displays, and they display the same colours in the same way
<GeDaMo>
"Your boundary is at hue 168, greener than 85% of the population. For you, turquoise is blue."
<zid`>
but they just teach kids the sky is blue or whatever, so then light blue == blue, and then cyan is nearly light blue, compared to green, ends up blue too, despite being the midpoint
steelswords9 has joined #osdev
mavhq has joined #osdev
Turn_Left has joined #osdev
kfv has joined #osdev
Left_Turn has quit [Ping timeout: 248 seconds]
synaps3 has joined #osdev
Left_Turn has joined #osdev
Turn_Left has quit [Ping timeout: 248 seconds]
kfv has quit [Client Quit]
synaps3 has quit [Remote host closed the connection]
Turn_Left has joined #osdev
vdamewood has quit [Quit: My Mac has gone to sleep. ZZZzzz…]