| |
| |
| |
|
Comments:
<0> anyone got a url to a nice source on writing a boot loader for x86? <0> for newbies? <1> http://www.nondot.org/sabre/os/articles/TheBootProcess/ <0> markos_64: THANK YOU! <2> morning all <3> talrasha! i kicked his *** a lot of with my necromancer <1> yawn? <4> yeah! me too
<1> also, hi steffylove/misha <4> though, it was "baal" more appropriately <4> hi markos_64 :D <5> markos_64: i think you may know the answer to this, does printf round down or truncate after the hundredths value with .2%f? IE, 3.431 becomes 3.43...but i can't figure out if its truncating or rounding down. 3.435 becomes 3.46 <5> .%2f rather <5> %.2f even heh <5> ***embler code hasn't helped any <1> johnjay: SUSv3 sayeth that 'The low-order digit shall be rounded in an implementation-defined manner.' <1> johnjay: so, basically, it can be either way. <5> I see, you wouldn what implementation is define <5> you wouldn't happen to know which implementation is defined by glibc would you? <1> round to nearest, it seems. <1> with 5 rounded up <5> speaking from a billing perspective, there isn't a real difference between truncating and rounding down is there? <1> -sive numbers <1> other than that, no. <5> -sive numbers? <1> yah. like -0.3. rounding down, it's -1. Truncating, 0. <6> johnjay, check with your countries taxation/accounting rules for rounding some countries do have advice on this (UK vat does) <5> rounding to the nearest hundredth i meant, like with %.2f <1> this doesn't matter. <1> -0.123 is -0.13 rounded down. -0.12 truncated. <1> but glibc uses round-to-nearest. <5> so in that case glibc rounds to -.12 correct? <1> yea <5> the thing is, it outputs -.13 when I do: <5> printf("%.2f\n",-.126); <1> round to nearest. <1> do i have to repeat it once again? <6> we had an accounting program that truncated every invoice line (and the total) so made a monthly error of that got me an inspection from the Customs and Excise <5> markos_64: no, i understand what you are saying. but the discrepency with -.125 rounding to -.125 whereas .125 rounding to .126 ? <5> err
<5> 1.3 <5> no, wait, it does not. <1> you drunk or what? <5> heh <7> Design a new opcode for SRC, reset, (op =18), that does a hard reset or a soft reset, depending upon the value of c1<0>. <7> 1. Hard reset if c1<0> = 0 <7> 2. Soft reset if c1<0> = 1 <7> wtf does that mean?!?!?! <7> :) <8> 'lo <9> http://verb.org.ua/ia-32-instructions-database/ <1> do you have plain-SQL version of that? <1> and do you have 64-bit support? <9> yes, it is a plain sql... and no, no 64-bit at the moment, but it is planned <10> its 64 bit as soon as I finish testing the 32 bit version <1> hm... where is the plain-SQL version downloadable? <9> http://verb.org.ua/files/ia-32-instrdb.tar.bz2 or here http://verb.org.ua/gitweb/?p=ia-32-instrdb.git;a=blob_plain;h=8ea169141debd021219b3c2b888063952d3ccd2a;f=ia32instrs.sql <9> the best option is fetching up-to-date repository version <10> you need the schema sql too <9> http://verb.org.ua/gitweb/?p=ia-32-instrdb.git;a=blob_plain;h=c3ff01c9b5d23fb5605151e55ab5ccb1a35d625c;f=schema.sql <1> nice <9> is it ok to ***ume that no instruction could have XX+r* and then 1+ opcode bytes? <9> so, +rb, +rw, +rd, +ro could appear only at the end of opcode sequence <1> no instruction currently does it, and i doubt there will ever be one where it matters. <1> but then, this is x86. it is kludged from each and every side possible. YMMV. <9> hm <9> then I doubt whether I should move +r* from opcode field to format... but then, it will be so nice for my ***embling function <9> if finding it in format <9> i need to understand whether all instructions have byte values first, then /r or /N or +r* or whatever <9> it appears to be quite important :] <9> there is only 16 instructions with +r*? heh <11> hi <1> :wq <1> whoops <3> hehe <1> btw, does any of you happen to know a simple and painless way to implement a sane mutex using only test-and-set operation and futex interface? <1> got it, i think
Return to
#asm or Go to some related
logs:
jre-1_5 -i586.deb debian sudo dependency problem etch python sys. rawinput ubuntu 6.06 emac screen geometry #iptables #php flared cock #math jabber a record godaddy
#css
|
|