Topic for #milkymist is now Radical Tech Coalition :: Milkymist One, Migen, Milkymist SoC & Flickernoise :: Logs: http://en.qi-hardware.com/mmlogs
xiangfu [xiangfu!~xiangfu@fidelio.qi-hardware.com] has joined #milkymist
<wpwrak>
now .. what wuold be a good patch to "beautify" a little ? Digital Flame ?
<wpwrak>
it looks rather boring. but it has lots of ifs ...
<wpwrak>
of course, all the ifs operate on what's essentially a boolean variable. kinda stupid.
cladamw [cladamw!~adamwang@host-222.80-43-115.dynamic.totalbb.net.tw] has joined #milkymist
n0carri3r [n0carri3r!~n0carri3r@184.152.67.214] has joined #milkymist
<n0carri3r>
hey all
<n0carri3r>
how's USBMIDI coming along? :)
azonenberg [azonenberg!~azonenber@cpe-67-246-33-188.nycap.res.rr.com] has joined #milkymist
wolfspraul [wolfspraul!~wolfsprau@p5B0AB9E0.dip.t-dialin.net] has joined #milkymist
<wpwrak>
for n0carrier in absentia, "it works" ;-)
<wpwrak>
we just have that horrible shortage of USB ports :)
<lars_>
so, next task, add support for hubs
<wpwrak>
phew :)
<wpwrak>
the signaling side wouldn't be so bad. but hubs also affect the overall timing. nasty.
<wpwrak>
but before anything like that, i still have a bit of general usb cleanup lined up. find and kill the timeouts, implement report descriptor parsing, then get my mouse farm to work.
r33p [r33p!~rep@bon31-2-89-85-157-97.dsl.sta.abo.bbox.fr] has joined #milkymist
sb0 [sb0!~sb@136.125.103.84.rev.sfr.net] has joined #milkymist
<wpwrak>
sb0: heya ! big question because i'm too lazy to read the source: why do we need I2F ? do numbers in the PFPU have dynamic typing, alternating between int and float ?
<sb0>
all registers are 32-bits, and it doesn't matter whether they hold a int or float
<wpwrak>
so I2F is a no-op ?
<sb0>
i.e. the hardware doesn't care, it just executes the operation using the bit vector you give it
<sb0>
but ofc if you run a float operation with int operands (or the other way around) you get garbage
<sb0>
no
<sb0>
it converts a 32 bit int into a 32 bit float with the same value
<wpwrak>
ah, so we do have dynamic typing. without implicit conversion. hmm.
<sb0>
the compiler has to take care of these things
<wpwrak>
hmm :)
<sb0>
but most is float, except in some cases like trigo table offsets
<sb0>
the current point coordinates also are int, and need explicit conversion to float
<wpwrak>
tricky. basic arithmetic (+, -, etc.) is always float or does it adapt ?
<sb0>
always float
<sb0>
told you, everything is float, except some corner cases
<wpwrak>
okay
<wpwrak>
so f2i and i2f are basically internal use only
<sb0>
yes, only internal use
<sb0>
all the visible patch language uses float
<wpwrak>
maybe i should add a flag that hides those things
<wpwrak>
okay, thanks ! things make a little more sense now :)
<wpwrak>
now ... back to the party preparations ...
<sb0>
have fun! :) and happy new year all!
kilae [kilae!~chatzilla@catv-161-018.tbwil.ch] has joined #milkymist
Gurty [Gurty!~princess@ALyon-256-1-103-69.w90-9.abo.wanadoo.fr] has joined #milkymist
wolfspraul [wolfspraul!~wolfsprau@p5B0AA279.dip.t-dialin.net] has joined #milkymist