<kazinsal>
dangit, why am I always the one getting the cursed christmas presents
<blockhead>
i'm just wondering what one would actually use that instruction for?
scoobydoo has quit [Read error: Connection timed out]
<kazinsal>
it's for fiddling with binary coded decimal
<eryjus>
BCD -- multiply by 10
<eryjus>
im slow tonight
<blockhead>
until you get a four digit decimal number?
scoobydoo has joined #osdev
<kazinsal>
yeah, that's the best example I can think of as well. zero out dst1 then RLD and you get dst1:dst2 = dst2*10
<zid>
BCD rotate seems.. not that useful
<zid>
I wonder if a specific customer/use-case wnated it
<kazinsal>
"hey can you make BCD multiplication by 10 faster" "what"
<zid>
ohh right thanks kaz
<zid>
maybe?
<zid>
Doesn't solve the hard part, transporting the top and bottom sections between bytes
<kazinsal>
my guess is the reason it's a 12-bit BCD rotate in two 8-bit arguments is that the uppermost 4 bits is a control nibble
<kazinsal>
sign bit etc
<eryjus>
many IBM midrange computers still use this prolifically (IBMi for example) -- called packed decimal. the highest order nibble is sign
vdamewood has joined #osdev
heat has joined #osdev
<moon-child>
graphitemaster: whaat
<moon-child>
whaaaaaaaaaaaaaaat
<moon-child>
is the point of that?
<moon-child>
I mean, fuz recently pointed out a ppc instruction to transpose the bits of a 64-bit quantity as if it were an 8x8 matrix. I can at least _imagine_ a use for that. This is just ...
<zid>
I've never wanted to swap the digits in a decimal number, regardless of how it happened to be encoded at the time
biblio has quit [Quit: Leaving]
xing_song has quit [Quit: xing_song]
heat has quit [Remote host closed the connection]
gog has quit []
gog has joined #osdev
sdfgsdfg has quit [Quit: ZzzZ]
skipwich has quit [Ping timeout: 240 seconds]
newpy has joined #osdev
<newpy>
I'm trying to load a small test binary into bochs emulator and it's saying failed to read boot disk
<newpy>
I grepped the file and it has the magic number aa55, so I'm not sure why it won't at least try and read?
<newpy>
I tested an older binary and it works, so I'm not sure what I'm doing wrong
<geist>
dunnno precisely what the second io ports are for, but i'm guessing you can access the normal registers via the io and mmio space?
<geist>
dunno if there's a '16850' spec
scoobydoo has quit [Read error: Connection timed out]
<geist>
zid: nah it's a tiny single chip on a tiny pcie card
opios2 has quit [Ping timeout: 245 seconds]
<geist>
it's old in the sense i got it like 3 or 4 years ago and never actually plugged it in until now. but it's new in that it's pcie, etc
<zid>
we were talking about devices like that the other day, cheaper to re-use an old stock pci version than make a pci-e version so a lot of those 'random x on a pci-e card' are pcie to pci to x
<geist>
yah
<zid>
Is my christmas present in the mail yet btw?
scoobydoo has joined #osdev
<geist>
yes. yes it is, but i dunno if they will like lumps of coal
<geist>
but at some point that'll be pretty valuable
<zid>
I'll probably die in the water wars before coal is worth anything significant
<geist>
interesting, kinda trained myself to do A4 pitch on demand
<zid>
Are you singing into your serial ports again
<geist>
so far i can wait like 30 minutes and then do it again and still be basically right on pitch
<geist>
was fiddling with trying to figure out my (untrained) vocal range.
<geist>
looks like i can fairly solidly do about F2 to F4
<zid>
I learned what my 'native' hum was at some point with a spectro..graph?
<zid>
but that was 20 years ago and I've forgotten
<geist>
after F4 i gotta go falsetto then i can go another octave or so
<zid>
I can whistle D7 apparently
<moon-child>
geist: hmm, I can do c on demand, but have to manually walk up scales to get anywhere else
<geist>
noice
MarchHare has quit [Quit: Leaving]
<gog>
geist doing vocal training eh :thinking:
<geist>
gonna sing in an opera next after this osdev crap
<GeDaMo>
Osdev! The musical!
<FireFly>
fits in well next to the musical about tail-call optimisation
<geist>
hmmm, i dunno that might be a little too risque
<moon-child>
FireFly: that was really cute
<FireFly>
agree!
<moon-child>
but, not knowing anything about js, after watching it I assumed that all the js engines do tco
<moon-child>
and then I found out the truth
<FireFly>
the worst thing is it was attempted to spec TCO to be mandatory in strict-mode (well, I think it is still spec'd), but got pushback from engine implementors
<FireFly>
an attempt was made to fix it ;_;
scoobydoo has quit [Read error: Connection timed out]
scoobydoo has joined #osdev
gog has quit [Ping timeout: 240 seconds]
gog has joined #osdev
gog has quit [Read error: Connection reset by peer]
gog` has joined #osdev
gog` has quit [Ping timeout: 252 seconds]
gog has joined #osdev
mctpyt has quit [Ping timeout: 256 seconds]
sdfgsdfg has quit [Quit: ZzzZ]
Burgundy has joined #osdev
<zid>
I have a beef vindaloo naan microwave thing, it's actually pretty good for how cheap and nasty it looks
<zid>
In other news, mele kalikimaka
gog has quit [Read error: Connection reset by peer]
<moon-child>
zid: good to know
ravan has joined #osdev
gog has joined #osdev
sdfgsdfg has joined #osdev
biblio has quit [Quit: Leaving]
_xor has quit [Read error: Connection reset by peer]
_xor has joined #osdev
asdew has quit [Ping timeout: 268 seconds]
asdew has joined #osdev
scoobydoo has quit [Read error: Connection timed out]
scoobydoo has joined #osdev
sdfgsdfg has quit [Quit: ZzzZ]
gog has quit [Ping timeout: 240 seconds]
nyah has joined #osdev
ElectronApps has quit [Read error: Connection reset by peer]
mahmutov has joined #osdev
jimbzy has quit [Remote host closed the connection]