#lfsr — Public Fediverse posts
Live and recent posts from across the Fediverse tagged #lfsr, aggregated by home.social.
-
Last night fixed a bug in my LFSR (Linear-Feedback Shift Register) implementation on the Z80, which was due to a misunderstanding of the difference between the Rotate Right instructions RRC L and RR L. They both use the Carry flag: RR is a 9-bit rotation using the Carry; RRC is a _circular_ rotation, which apparently means the Carry does not participate in the rotation and is a copy of the result's top-bit. I had forgotten and misread my quickref. I thought RRC would be Rotate Right with Carry. Haha, no.
-
I added a random number generator (a LFSR using polynomial for n=16 from XAPP052) and a subroutine for PRINT AT to my ZX81 "game".
-
LFSR CPU Running Forth
-
it's an analog shift register with two feedback paths. each stage is made of one transistor, one capacitor, one resistor and a LED. the feedback is comparable to a #LFSR
-
Linear Feedback Shift Registers for FPGAs https://hackaday.com/2024/04/06/linear-feedback-shift-registers-for-fpgas/ #linearfeedbackshiftregister #pseudo-random #randomnumber #FPGA #LFSR
-
Linear Feedback Shift Registers for FPGAs - If you want to start an argument at a Hackaday meeting, you have only to ask somet... - https://hackaday.com/2024/04/06/linear-feedback-shift-registers-for-fpgas/ #linearfeedbackshiftregister #pseudo-random #randomnumber #fpga #lfsr
-
I'm currently trying to decode the bitstream of the Traktor Timecode MK2. Interestingly nobody figured it out completely yet. It seems like the bits are encoded through the y offset. Wrote some toy code to detect this and push the bits to a ringbuffer. Buuuut I'm getting state duplications which shouldn't be possible?
Maybe someone is experienced with reverse engineering bitstreams 👼?
https://codeberg.org/obsoleszenz/libdvs/src/branch/main/crates/libdvs/src/lib.rs#L25
-
I'm currently trying to decode the bitstream of the Traktor Timecode MK2. Interestingly nobody figured it out completely yet. It seems like the bits are encoded through the y offset. Wrote some toy code to detect this and push the bits to a ringbuffer. Buuuut I'm getting state duplications which shouldn't be possible?
Maybe someone is experienced with reverse engineering bitstreams 👼?
https://codeberg.org/obsoleszenz/libdvs/src/branch/main/crates/libdvs/src/lib.rs#L25
-
I'm currently trying to decode the bitstream of the Traktor Timecode MK2. Interestingly nobody figured it out completely yet. It seems like the bits are encoded through the y offset. Wrote some toy code to detect this and push the bits to a ringbuffer. Buuuut I'm getting state duplications which shouldn't be possible?
Maybe someone is experienced with reverse engineering bitstreams 👼?
https://codeberg.org/obsoleszenz/libdvs/src/branch/main/crates/libdvs/src/lib.rs#L25
-
I'm currently trying to decode the bitstream of the Traktor Timecode MK2. Interestingly nobody figured it out completely yet. It seems like the bits are encoded through the y offset. Wrote some toy code to detect this and push the bits to a ringbuffer. Buuuut I'm getting state duplications which shouldn't be possible?
Maybe someone is experienced with reverse engineering bitstreams 👼?
https://codeberg.org/obsoleszenz/libdvs/src/branch/main/crates/libdvs/src/lib.rs#L25
-
How the classic game Pitfall! stored its room data in 1 byte... and how they didn't store the map at all (except in code)!
-
CW: Maths, polynomials, random numbers
Challenge: Given a 33 bit shift register based random number generator, shifting 32 times to make a random integer, we observe that a given value will always appear twice in the sequence. Generally unevenly spaced. How to find a value which has the closest repeat?
We could run for 2^33 iterations and keep a record in a many gigabyte array, but I imagine there's a better way.
Boosts OK!
-
Monochrome LCD Video Hacks Galore! - [Wenting Zhang] is clearly a fan of old school STN LCD displays, and was wondering... - https://hackaday.com/2022/05/12/monochrome-lcd-video-hacks-galore/ #errordiffusion #videohacks #dithering #lfsr #lcd #pdm #pwm