Forum

Forum

Robbert Haarman

2019-04-12

Posted by inglorion
at 2019-05-26 05:04:10

Several years ago, I came up with the deadbeef random number generator - so named because it uses the constant 0xdeadbeef. It gained some popularity with people programming for 8-bit systems like AVR microcontrollers. Now that I have some experience programming for 8-bit CPUs like AVRs and the 6502, I decided to design a pseudorandom number generator specifically for those systems. The result is Micrornd.

Micrornd is not based on the deadbeef random number generator, but a comparison between the two may still be instructive. Deadbeef operates on 32-bit quantities and shifts bits 7 or 25 positions. This would require many instructions on a 6502 or AVR, so Micrornd instead performs simple 8-bit operations and a single bit shift. This makes Micrornd quite a bit smaller and faster than deadbeef_rand would be on these systems.

  • View this thread (0 comments)
Posted by inglorion
at 2019-02-07 06:35:08

I have designed and built an 8-bit microcomputer similar to those of the late 1970s. The project now has a website with source code and instructions for building the computer: homemicro.net.

  • View this thread (0 comments)
Posted by inglorion
at 2016-10-12 15:24:08

Lego, Raspberry Pi, and Arduino? I think this project wins the Internet. Built by Cory Guynn, this is a city built from Lego, automated and animated using Arduino and Raspberry Pi. The Getting Started post describes how it was built, and the Facebook page has a lot more posts and information.

  • View this thread (0 comments)
Posted by inglorion
at 2016-10-07 16:00:09

Checking in files that relate to your specific development environment along with the source code of the project is often harmful. A common example of this are files generated by an IDE, especially if that IDE has a habit of changing those files in ways that have nothing to do with the project. However, it also applies to configurations that are specific to your organization for projects that are worked on in multiple organizations (e.g. open source projects). The corollary to this is that your tools should not require that their configuration files be checked into the same repository as the source code.

  • View this thread (0 comments)
Posted by inglorion
at 2016-10-07 15:57:57

Have an Android phone? Try saying "Ok Google. What do you get when you multiply 6 by 9?"

  • View this thread (0 comments)

View previous 5 threads