8-bit optimization for Z80 and 6502 in 2026. Multiplication and division routines #retro #retrogaming #z80 #6502 https://nanochess.org/article_8_bit_optimization.html
8-bit optimization for Z80 and 6502 in 2026

Optimizing multiplication and division routines for Z80 and 6502 processors.

My own article gave me an idea on how to optimize the 6502 16-bit multiplication with 28% speed-up, and the calling code speed is enhanced as well. Available in the CVBasic repository https://github.com/nanochess/CVBasic
GitHub - nanochess/CVBasic: BASIC language compiler for Colecovision, MSX, SG1000/SMS, Spectravideo SVI-318/328, Creativision, Sord M5, Memotech MTX, Tatung Einstein, Casio PV-2000, Hanimex/Soundic Pencil II, and NES/Famicom.

BASIC language compiler for Colecovision, MSX, SG1000/SMS, Spectravideo SVI-318/328, Creativision, Sord M5, Memotech MTX, Tatung Einstein, Casio PV-2000, Hanimex/Soundic Pencil II, and NES/Famicom....

GitHub