Better HN
topnewbestaskshowjobs
Log inSign up

powerpiglet

26 karma · joined Jul 15, 2021 (5y ago) · 5 submissions

Submissions

comment 3y ago · link · parent

There's an alternate concept for rotations called a rotor that is just as capable as the quaternion concept but does not require reasoning in higher dimensions: http://marctenbosch.com/quaternions/

comment 3y ago · link · parent

That's fascinating. Thanks for the pointer.

comment 3y ago · link · parent

> Signed multiplication and division use an internal flag called F1 to keep track of the sign. The F1 flag is toggled by microcode through the CF1 (Complement F1) micro-instruction. The F1 flag is implemented with a flip-flop, along with a multiplexer to select the value. It is cleared when a new instruction starts, set by a REP prefix, and toggled by the CF1 micro-instruction.

Does this mean that one can run 'REP DIV' and get a negated quotient?

comment 5y ago · link · parent

I remember being excited about MNG, but finding the open-source libmng a pain to use. It was all based around callbacks with the library driving the animation cycle. Not a great fit if you were interested in using MNG for things like sprite animation.

comment 5y ago · link · parent

It's meant to be breadboard-compatible, and breadboard pin sockets are normally spaced at 0.1 inch.

You can see in the first schematic that it's 0.9" by 2.0", which gives you 9x20 hole positions.