base:6502_6510_maths
Differences
This shows you the differences between two versions of the page.
Both sides previous revisionPrevious revisionNext revision | Previous revisionNext revisionBoth sides next revision | ||
base:6502_6510_maths [2018-04-06 12:00] – [EXOMIZER] richard | base:6502_6510_maths [2020-02-02 21:53] – [Multiplication] djmips | ||
---|---|---|---|
Line 14: | Line 14: | ||
* [[16bit addition and subtraction]] - 16-bit addition and subtraction by FMan | * [[16bit addition and subtraction]] - 16-bit addition and subtraction by FMan | ||
- | * [[Inverse subtraction]] - .A = operand - .A, opposite of what SBC does - by White Flame | + | * [[Inverse subtraction]] - .A = operand - .A, opposite of what SBC does by White Flame |
- | * [[Signed 8bit + 16bit addition]] - by White Flame | + | * [[Signed 8bit + 16bit addition]] - Sign extension |
==== Multiplication ==== | ==== Multiplication ==== | ||
Line 21: | Line 21: | ||
* [[8bit multiplication (8bit product)]] - by White Flame | * [[8bit multiplication (8bit product)]] - by White Flame | ||
* [[8bit multiplication (16bit product)]] - also can be 16*8=16bit - by White Flame | * [[8bit multiplication (16bit product)]] - also can be 16*8=16bit - by White Flame | ||
+ | * [[8bit multiplication (16bit product) fast no tables]] - by djmips | ||
* [[16bit multiplication (32-bit product)]] | * [[16bit multiplication (32-bit product)]] | ||
* [[Short 8bit multiplication (16bit product)]] - by Graham | * [[Short 8bit multiplication (16bit product)]] - by Graham | ||
Line 38: | Line 39: | ||
==== Square Root ==== | ==== Square Root ==== | ||
- | * [[Fast sqrt]] (extracted from CSDB forums)- Graham | + | * [[Fast sqrt]] (extracted from CSDB forums) - Graham |
+ | * [[16bit and 24bit sqrt]] (extracted from CSDB forums) | ||
==== Log ==== | ==== Log ==== | ||
Line 73: | Line 75: | ||
* [[Perspective]] | * [[Perspective]] | ||
* [[Backface Culling]] | * [[Backface Culling]] | ||
- | * [[Lighting]] | ||
- | * [[Flat Shading]] | ||
- | * [[Gouraud Shading]] | ||
- | Also I strongly advise you to read Stephen Judd's awesome series titled "A different perspective" | + | You may also want to read Stephen Judd's awesome series titled "A different perspective" |
* [[magazines: | * [[magazines: | ||
Line 110: | Line 109: | ||
* [[Small, fast 8-bit PRNG]] - with full 8-bit period - by White Flame | * [[Small, fast 8-bit PRNG]] - with full 8-bit period - by White Flame | ||
* [[Small, fast 16-bit PRNG]] - with full 16-bit period - by White Flame | * [[Small, fast 16-bit PRNG]] - with full 16-bit period - by White Flame | ||
+ | * [[16bit xorshift random generator]] | ||
===== Number conversion ===== | ===== Number conversion ===== | ||
Line 116: | Line 116: | ||
* [[More Hexadecimal to Decimal Conversion]] - without lookup tables, by Andrew Jacobs - taken from [[http:// | * [[More Hexadecimal to Decimal Conversion]] - without lookup tables, by Andrew Jacobs - taken from [[http:// | ||
* [[Another Hexadecimal to Decimal Conversion]] - using lookup tables, to plain ASCII, by Mace | * [[Another Hexadecimal to Decimal Conversion]] - using lookup tables, to plain ASCII, by Mace | ||
+ | * [[Int16 and UInt16 conversion to String]] | ||
* [[Decimal to Hexadecimal Conversion]] - by Mace | * [[Decimal to Hexadecimal Conversion]] - by Mace | ||
* [[8 bit to Hexadecimal Conversion]] - by Abujok | * [[8 bit to Hexadecimal Conversion]] - by Abujok | ||
Line 124: | Line 125: | ||
===== Packing/ | ===== Packing/ | ||
+ | * [[Streaming 1/2/4/8-bit Numbers Without Spanning Bytes]] - by White Flame | ||
* [[The Secret of Fast LZW Crunching]] - by Antitrack/ | * [[The Secret of Fast LZW Crunching]] - by Antitrack/ | ||
- | * [[RLE pack/unpack]] - Coded by MagerValp | + | * [[base: |
* [[2Mhz Time Crunch V5 disassembled]] - Disassembly of Stoat and Tim's Time Cruncher V5. Disassembled by Marko Makela. | * [[2Mhz Time Crunch V5 disassembled]] - Disassembly of Stoat and Tim's Time Cruncher V5. Disassembled by Marko Makela. | ||
* [[Decruncher for MDG-Packer/ | * [[Decruncher for MDG-Packer/ |
base/6502_6510_maths.txt · Last modified: 2023-08-21 00:49 by repose