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
Extern has joined #osdev
Extern has quit [Client Quit]
eddof13 has joined #osdev
pretty_dumm_guy has joined #osdev
eddof13 has quit [Quit: eddof13]
<zid> My new name is Etaoin Shrdlu
eddof13 has joined #osdev
<nikolapdp> is that supposed to mean something zid
<nikolapdp> sorry Etaoin
<zid> It's a very specific and niche reference
<zid> A machine called a linotype existed, which made letter type for printing via a keyboard input
<zid> if you flubbed your input you would just have to start the line again, but you needed to finish the line you messed up first
<zid> but the flubbed line would still be there, so the editor was responsible for plucking out the bad lines
<zid> so, how do you signal to the editor that you flubbed a line? you'd write ETAOIN SHRDLU.
<zid> to pad the line out
<zid> But of course.. not all of them were caught, so a lot of old newspapers have things like Prsident ETAOIN SHRDLU
<clever> that reminds me of this vid: https://www.youtube.com/watch?v=cPeVsniB7b0
<bslsk05> ​'How the first ever telecoms scam worked' by Tom Scott (00:05:49)
<clever> they where sending messages with flags on levers, across the country
<clever> and there was a backspace symbol, to correct mistakes
<clever> most people working the repeaters, just repeated, and kept the mistakes in
<clever> but at certain nodes, they would write the message down, and correct the mistakes
<zid> Mr. A. M. Holly returned home yes
<zid> terday from a visit etaoin shrdlu mm
<zid> terday from a business trip to the
<zid> ^ actual newspaper
<clever> the scam, involved injecting a second message into the stream (bribing the guy), and then using the backspace symbol to erase it
<clever> and at the end of the line, the injected message would be removed as a typo, and all evidence is gone
<bslsk05> ​img.newspapers.com: Just a moment...
<clever> but anybody with a pair of binoculars, could spy on the network, and see the injected msg
<kof123> multics supposedly the login would move the cursor back and XXXXXXX out your password :D
<clever> kof123: that reminds me of an anti-keylogger thing i saw decades ago, it would generate random characters, and use the send-key api to inject them into the input subsystem on windows
<clever> and then when the garbage made it to the input box, it knew what the random character was, and could ignore it
<kof123> hmm...yeah was going to ask what window received that input :D
<clever> anything sniffing the input subsystem, would have your password inter-mixed in a long stream of random characters
<clever> its basically a login form, typing garbage at itself, to confuse anybody listening in
<clever> ive also got 2 other password stories
<clever> twice now, ive found lastpass has saved a unicode dot as my password
<clever> because the website just filled the box with dots, and not the actual pw
<clever> i also knew a blind lady that worked at a callcenter, the screen reader software didnt care if a text box was a password, and just read the password out loud
netbsduser` has quit [Ping timeout: 260 seconds]
<clever> and they must have been saving passwords in plaintext, to even input it into the password box when you edit a user
<clever> much like that old windows form viewer util, that could demask password boxes
lentement has joined #osdev
jack_rabbit has joined #osdev
navi has quit [Quit: WeeChat 4.1.2]
lentement has quit [Remote host closed the connection]
netbsduser` has joined #osdev
netbsduser` has quit [Ping timeout: 255 seconds]
mavhq has quit [Quit: http://quassel-irc.org - Chat comfortably. Anywhere.]
mavhq has joined #osdev
pretty_dumm_guy has quit [Quit: WeeChat 3.5]
warlock has joined #osdev
gog has quit [Ping timeout: 264 seconds]
<PapaFrog> Would it be inappropriate to ask an x86 assembly question here?
<heat_> not necessarily
<heat_> shoot it
netbsduser` has joined #osdev
<PapaFrog> I don't understand why "rep movsb" isn't working here: https://gist.github.com/JMarvi3/358f77429a3e61a88ddc48a254ae4d85
<bslsk05> ​gist.github.com: boot.asm · GitHub
<PapaFrog> I can manually write to 0x400000.
Extern has joined #osdev
<Mutabah> interesting that ecx hasn't changed
<heat_> what happens if you *dont* single step?
<heat_> i wouldn't be entirely surprised if gdb rep movsb single stepping is borked
<Mutabah> `ni` is `next-instruction` which single-steps until PC reaches PC+InstrLen
<heat_> i know
Extern has quit [Remote host closed the connection]
<heat_> i really dont get it, that looks okay
<heat_> i think, i dont usually write intel syntax
<PapaFrog> si does the same thing, heat_.
<heat_> can you post the whole disasm in AT&T?
<heat_> and uh, i assume this is running in userspace?
<PapaFrog> Nope.. bare metal.
<PapaFrog> It's running in QEMU.
<PapaFrog> Let me check one thing.
<heat_> oh, that's *important*
lentement has joined #osdev
eddof13 has quit [Quit: eddof13]
lentement has quit [Ping timeout: 256 seconds]
mmohammadi9812 has joined #osdev
netbsduser` has quit [Ping timeout: 260 seconds]
<PapaFrog> heat_: Care to clarify?
<PapaFrog> 0x7c73:ds mov (%esi),%ax
<PapaFrog> 0x7c78:es mov %ax,(%edi)
<PapaFrog> works
<heat_> i was assuming a sane environment but now that's not necessarily true
<heat_> OH, this is 16-bit??
<PapaFrog> Yes.
mmohammadi9812 has quit [Remote host closed the connection]
<heat_> did you set es properly?
<PapaFrog> es and ds are both 0x0.
<heat_> 0x400000 > 0xffff
<PapaFrog> I'm in unreal mode. I guess I should have mentioned that.
<heat_> is unreal that mode where 32-bit segments are cached but you're still in 16-bit?
<PapaFrog> Yes.
<heat_> right
mmohammadi9812 has joined #osdev
<heat_> so rep movsb sees:
<heat_> for (int i = 0; i < cx; i++) { *di++ = *si++;}
<heat_> ecx = 0x10000 -> cx = 0
<heat_> edi = 0x400000 -> di = 0
<zid> did we check the direction flag? :P
Matt|home has quit [Quit: Leaving]
mmohammadi9812 has quit [Remote host closed the connection]
<PapaFrog> The probably does seem to be ecx/cx
<PapaFrog> problem
<zid> ah yea, caught up now
<heat_> see, you should've mentioned all of these details instead of "x86 asm question"
<zid> also there's ##asm
<zid> just, in case you have more
<PapaFrog> Sorry, heat_
<zid> but it's just me and gedamo making out mainly
<heat_> np :)
edr has quit [Quit: Leaving]
lentement has joined #osdev
lentement has quit [Ping timeout: 268 seconds]
<zid> Why can I not find how to make rocket fuel on google
<zid> oh it appears to be exactly 2:1.. I hope
heat_ has quit [Ping timeout: 260 seconds]
netbsduser` has joined #osdev
jack_rabbit has quit [Ping timeout: 260 seconds]
jack_rabbit has joined #osdev
jack_rabbit has quit [Ping timeout: 256 seconds]
netbsduser` has quit [Ping timeout: 264 seconds]
lentement has joined #osdev
lentement has quit [Remote host closed the connection]
lentement has joined #osdev
lentement has quit [Remote host closed the connection]
smeso has quit [Quit: smeso]
HeTo has quit [Read error: Connection reset by peer]
HeTo has joined #osdev
smeso has joined #osdev
mavhq has quit [Ping timeout: 260 seconds]
lentement has joined #osdev
lentement has quit [Ping timeout: 260 seconds]
ramenu__ has quit [Ping timeout: 264 seconds]
netbsduser` has joined #osdev
mavhq has joined #osdev
netbsduser` has quit [Ping timeout: 246 seconds]
SGautam has joined #osdev
[_] has joined #osdev
[itchyjunk] has quit [Ping timeout: 246 seconds]
lentement has joined #osdev
Neo has joined #osdev
lentement has quit [Remote host closed the connection]
netbsduser` has joined #osdev
[_] has quit [Quit: Leaving]
netbsduser` has quit [Ping timeout: 256 seconds]
netbsduser` has joined #osdev
sbalmos has quit [Ping timeout: 246 seconds]
sbalmos has joined #osdev
SGautam has quit [Quit: Connection closed for inactivity]
netbsduser` has quit [Ping timeout: 256 seconds]
xenos1984 has quit [Read error: Connection reset by peer]
lentement has joined #osdev
lentement has quit [Remote host closed the connection]
SGautam has joined #osdev
goliath has joined #osdev
lentement has joined #osdev
lentement has quit [Remote host closed the connection]
lentement has joined #osdev
lentement has quit [Remote host closed the connection]
GeDaMo has joined #osdev
Vocelia has joined #osdev
netbsduser` has joined #osdev
netbsduser` has quit [Ping timeout: 256 seconds]
xenos1984 has joined #osdev
sortie has quit [Remote host closed the connection]
netbsduser` has joined #osdev
Celelibi has quit [Read error: Connection reset by peer]
sortie has joined #osdev
gbowne1 has quit [Read error: Connection reset by peer]
gog has joined #osdev
Celelibi has joined #osdev
netbsduser` has quit [Ping timeout: 264 seconds]
sympt has quit [Quit: Ping timeout (120 seconds)]
sympt has joined #osdev
netbsduser` has joined #osdev
Gurkenglas has joined #osdev
Nixkernal has joined #osdev
Nixkernal_ has quit [Ping timeout: 264 seconds]
ornitorrincos has quit [Remote host closed the connection]
ornitorrincos has joined #osdev
Vocelia has quit [Ping timeout: 255 seconds]
Cindy has quit [Ping timeout: 268 seconds]
Cindy has joined #osdev
Nixkernal has quit [Quit: https://quassel-irc.org - Chat comfortably. Anywhere.]
lentement has joined #osdev
lentement has quit [Ping timeout: 260 seconds]
Gurkenglas has quit [Quit: Client closed]
Gurkenglas has joined #osdev
vdamewood has joined #osdev
Gurkenglas has quit [Quit: Client closed]
ramenu__ has joined #osdev
SGautam has quit [Quit: Connection closed for inactivity]
Matt|home has joined #osdev
navi has joined #osdev
voidah has joined #osdev
voidah has quit [Remote host closed the connection]
ramenu__ has quit [Ping timeout: 255 seconds]
edr has joined #osdev
Gurkenglas has joined #osdev
lentement has joined #osdev
ramenu__ has joined #osdev
zxrom has joined #osdev
Left_Turn has joined #osdev
lentement has quit [Remote host closed the connection]
ramenu_ has joined #osdev
ramenu__ has quit [Ping timeout: 264 seconds]
Neo has quit [Read error: Connection reset by peer]
Neo has joined #osdev
elastic_dog has quit [Ping timeout: 264 seconds]
lentement has joined #osdev
lentement has quit [Ping timeout: 272 seconds]
elastic_dog has joined #osdev
antranigv has quit [Quit: ZNC 1.8.2 - https://znc.in]
antranigv has joined #osdev
SGautam has joined #osdev
frkazoid333 has quit [Read error: Connection reset by peer]
antranigv has quit [Ping timeout: 240 seconds]
rorx_ has quit [Read error: Connection reset by peer]
Bonstra has quit [Ping timeout: 256 seconds]
rorx has joined #osdev
alice has quit [Killed (lithium.libera.chat (Nickname regained by services))]
alice has joined #osdev
Bonstra has joined #osdev
<adder> Knock knock.
antranigv has joined #osdev
<gog> who's there?
<mjg> yes
<gog> yes who?
<mjg> dr who
Left_Turn has quit [Ping timeout: 255 seconds]
antranigv has quit [Quit: ZNC 1.8.2 - https://znc.in]
antranigv has joined #osdev
<kof123> qui? -- french owl
eddof13 has joined #osdev
Left_Turn has joined #osdev
<bslsk05> ​gwern.net: Cat itecture: Better Cat Window Boxes · Gwern.net
eddof13 has quit [Quit: eddof13]
jack_rabbit has joined #osdev
<kof123> > By looking through a cat’s eyes
<kazinsal> that looks like it could be a very interesting article. shame that the format makes me think that the house of leaves author got into academia
eddof13 has joined #osdev
<kof123> > from a cat’s-eye-view draco has a cat's eye, better than any pole star. there are cat's eyes at scorpio as well. they had magic double vision "the cat is ra himself" -- seer in the dark, nocturnal sun, lunar, etc.
<kof123> i agree, but this CATastrophe gone one for thousands of years :D
<kof123> *has gone on
goliath has quit [Quit: SIGSEGV]
<kof123> > legendarily keen eyesight it is what the word "dragon" or similar means
heat_ has joined #osdev
lentement has joined #osdev
lentement has quit [Ping timeout: 272 seconds]
heat_ is now known as heat
frkazoid333 has joined #osdev
jack_rabbit has quit [Ping timeout: 260 seconds]
Gurkenglas has quit [Quit: Client closed]
Nixkernal has joined #osdev
gog has quit [Quit: Konversation terminated!]
xenos1984 has quit [Ping timeout: 260 seconds]
xenos1984 has joined #osdev
gog has joined #osdev
Left_Turn has quit [Quit: Leaving]
voidah has joined #osdev
ramenu_ has quit [Ping timeout: 264 seconds]
arminweigl has quit [Ping timeout: 264 seconds]
arminweigl has joined #osdev
ramenu_ has joined #osdev
xenos1984 has quit [Ping timeout: 260 seconds]
valshaped7424880 has quit [Quit: Gone]
voidah has quit [Ping timeout: 264 seconds]
valshaped7424880 has joined #osdev
SGautam has quit [Quit: Connection closed for inactivity]
xenos1984 has joined #osdev
GeDaMo has quit [Ping timeout: 268 seconds]
GeDaMo has joined #osdev
GeDaMo has quit [Ping timeout: 256 seconds]
GeDaMo has joined #osdev
eddof13 has quit [Ping timeout: 268 seconds]
<heat> use onyx use onyx use onyx linux bad bsd bad windoze bad
<nikolar> S O L A R I S
goliath has joined #osdev
GreaseMonkey has quit [Remote host closed the connection]
<gog> heat
<gog> why can't i program
<nikolapdp> skill issue
<bl4ckb0ne> keyboard issue
<gog> probably skill
<gog> heat's gonna tell me to stop the negative self-talk but he can't stop me from hating myself quietly
bitoff_ has quit [Remote host closed the connection]
<mjg> internal negative self talk is where it's at
<mjg> innit
m3a has quit [Read error: Connection reset by peer]
<gog> yes
GeDaMo has quit [Ping timeout: 255 seconds]
xenos1984 has quit [Read error: Connection reset by peer]
<childlikempress> gog it's not that you can't program it's that you choose to not be able to program
vdamewood has quit [Quit: My Mac has gone to sleep. ZZZzzz…]
<gog> you're righty
<nikolapdp> you're lefty
<gog> woke mind virus brandon
<nikolapdp> kek
<gog> i got the woke mind virus from the covid vaccine
xenos1984 has joined #osdev
<Bitweasil> But your 5G reception is better, right?
<gog> oh it's amazing
<gog> full bars all the time
<heat> GOOD MORNING LINUX USERS
<heat> horrible morning to everyone else
<heat> gog, stop the negative self-talk even though i can't stop you from hating yourself quietly
<heat> also, you can't program because you're not using the ONYX toolchain with the ONYX utilities enhanced by the GNU project
<gog> hi
gbowne1 has joined #osdev
<heat> gog are u using onyx yet
<heat> thanks
<heat> ctcp says no
<heat> smh my head gorgle
<gog> heat
<heat> gog
<gog> i am using onyx i swear
<gog> i spoof my CTCP VERSION to hide from the haters
<gog> i'm a coward and a clown and i'm sorry
<acidx> you hide from the haters but not from the heat(ers) (?)
<gog> it's winter
<gog> the heaters are necessary
<phr3ak> I'm looking for emm386 source
<heat> i dont have water
<acidx> phr3ak: freedos has one
<kof123> > The source code of 386MAX, an alternative to EMM386 and QEMM, has been released under the GPLv3 license
<kof123> i don't know these things, just remember seeing that IIRC
<phr3ak> yes but that is not emm386
<acidx> then you'd need to look at the MS-DOS source code, and there's no open source version of that that's new enough to include emm386
Brnocrist has quit [Ping timeout: 255 seconds]
<phr3ak> emm386 was published in a german magazine in 1990...
Brnocrist has joined #osdev
netbsduser` has quit [Ping timeout: 268 seconds]
netbsduser` has joined #osdev
<heat> mjg, fyi willy is going to make the dcache hashtable resizable
<heat> you better keep up
<mjg> freebsd has dcache resizable
<mjg> well the equivalent
<heat> WHAT
<heat> FREEBSD IS AHEAD???
<mjg> i employed a bunch of lullery to make it ZERO COST
<nikolapdp> RUST===
<nikolapdp> RUST???
<mjg> or rather, at no expense on lookup side
<mjg> heat: see cache_changesize_set_temp and cache_changesize_set_new
<mjg> i'm lulling with forcing a lookup to fail
<heat> how does that lullery work? i was imagining one could use RCU tricks plus some locks... but modifying the chains is weird
<heat> unless seqcount?
<mjg> there is rcu-equivalent tricks
<mjg> and a bunch of fences
<mjg> again read comments above these funcs
<heat> anyway if you resize the thing, how do you know when to resize?
<mjg> there is no autotuning if that's what you mean
<mjg> theere is resizing on demand
<heat> ah ok
<mjg> /*
<mjg> * result in a cache miss, which all callers are supposed to know how
<mjg> * Change the size. The new size is smaller and can safely be used
<mjg> * against the existing table. All lookups which now hash wrong will
<mjg> * to handle.
<mjg> */
<mjg> then some fuckeyr to drain all existing lookups
<mjg> i mean pending
<heat> i feel like there's a nicer way to handle things, that doesn't require cache misses
<heat> with seq counts
<mjg> i did not look for one since resizing in my case is a once a year event
<mjg> so to speak
<heat> yeah
<mjg> the focus was on making sure there is no overhead added to lookup
ramenu__ has joined #osdev
<mjg> i don't know if this can be done nicer though
<mjg> what exactly do you want to seqcount on
<mjg> not on every single dentry is it?
<mjg> anyhow there are 2 vars to update
<mjg> and i managed to do it without adding a seqcount for them
<heat> seq count on hash table restructuring, but i guess if its rare there isn't much of an issue
<mjg> but that would mean you added at least one branch to every lookup
<mjg> to check if the hash table got resized
<mjg> which is precisely the kind of stuff one should strive to avoi
<mjg> d
<mjg> is that willy dude adding one?
<heat> i dont know
<mjg> is that on fsdevel?
<heat> #mm
ramenu_ has quit [Ping timeout: 255 seconds]
<mjg> ? Ld
<heat> what
<mjg> i don't see it
<heat> i said #mm, not linux-mm
<heat> on oftc
<mjg> ooh
<mjg> meh
<heat> anyway i suspect it's a more interesting data structure than the tricks you're pulling there, maybe auto-resizable
<mjg> may be
<heat> cuz apparently there's a resizable RCU hashtable in linux already
<mjg> will wait for PATCHEN
<heat> struct rhashtable
<mjg> dafaq you doing sitting on #mm, YOU NERD
<mjg> on a serious ntoe i'm surprised there are actual developers over there
<heat> there absolutely are
<mjg> cool
<heat> the slab guy, the mmap guys, the vmalloc guys, willy (the folio guy), some x86 guys
<mjg> the bsd folk are pretty standoffish
<mjg> would never join a public channel
<mjg> well there are public channels but they are developer-focused
<heat> everything the BSD people work on is TOP SECRET
<mjg> bet
<mjg> there would be no discussion if they just read a dnlc chapter in solaris internals
<mjg> alas here we are@
<heat> ok are@
<gog> heat i did it
goliath has quit [Quit: SIGSEGV]
<heat> did what
<gog> something cursed
<heat> what did you do
<heat> confess
<gog> see discord
<childlikempress> 💔❌❌🤮
<heat> everything gog works on is TOP SECRET intellectual property that cannot be stolen by the opposition (the 'opps')
<gog> yes
<gog> it's also bad
<gog> and everybody iwll hate that i'm doing it
<heat> i need to be careful because gog is in possession of a firearm (a 'blicky') and she's not afraid to assassinate me ('murk' me)
<gog> yes
lentement has joined #osdev
lentement has quit [Ping timeout: 260 seconds]
Nixkernal has quit [Quit: https://quassel-irc.org - Chat comfortably. Anywhere.]
jack_rabbit has joined #osdev
<zid> Morning