12/30: MON12 Jump Table

Axiom, HC12ShawnNo Comments

This is the jump table from the CML12S-DP256 v2.7F. Use this if you want to access MON12 functionality inside of your programs.

Read the rest of this entry »

12/20: HC12 Build you’r own Character

Axiom, HC12ShawnNo Comments

Using code from the manufacturer Axiom and several data sheets to figure out what they are talking about I finally found how to send your own character to the CGRAM (Character Generator RAM).

Read the rest of this entry »

12/12: Verilog RS Latch

VerilogShawnNo Comments

Quick example accomplishing an RS Latch with Verilog Data Flow.
Read the rest of this entry »

8/3: Value to Hex String

UncategorizedShawnNo Comments

Ever needed to print out a hex string but needed a converter. Probably not because its build into most string classes. Though if you can’t use a string class then you might just need something like this.
Read the rest of this entry »

6/21: Three Bit Multiplication

VerilogShawnNo Comments

Here is an example of a three bit multiplication in Verilog made to fit into a EPM7160SLC84-10.

I think I wrote a four bit one that I will try to find.
Read the rest of this entry »

6/6: One-Hot State Decoder

ASM, MIPS32ShawnNo Comments

Here is a quick way for you to decode a one hot state value into a binary representation. This code is built for the MIPS32 architecture.
Read the rest of this entry »

5/4: jQuery Click/Double Click

jQueryShawn4 Comments

The battle of the standards is constantly a struggle. I found myself needing a solution to the jQuery Click/Double Click problem. This example will send one click or double click to the helper functions. Compatible with Firefox 2+, Chrome 4+, and IE > 6+. Thanks Allan G for your update. Using $.live binds directly to the click handler allowing for new element checking. Use $.bind if you don’t have dynamic content or $.bind inside of $.ready.

Read the rest of this entry »