6502 Code. By Lee Davison.

Introduction.
So you have a need, a need for a particular routine. Well it just may be here.

If it isn't you can also look here or you can e-mail me and I'll see what I can find.

The code.
  • Square calculator
  • Calculates a 16-bit unsigned integer square.
  • Root calculator
  • Calculates the 8-bit root of a 16-bit integer.
  • SIN/COS calculator
  • Calculate the 16-bit sine or cosine of an 8-bit angle.
  • Ring buffer
  • Setting up an interrupt serviced buffer.
  • Pseudo random
  • Generating 8-bit pseudo random numbers.

    Last page update: 20th March, 2008. e-mail me