We've just updated MediaWiki and its underlying software. If anything doesn't look or work quite right, please mention it to us. --RanAS

Eyes & Lichty: Difference between revisions

From SnesLab
Jump to: navigation, search
(→‎III Tutorial: promoted part iv)
(→‎Eratta: avoid subtracting carry flag)
Line 2: Line 2:


=== Eratta ===
=== Eratta ===
* page 497 recommends making sure the carry flag is already set, or to set it with [[SEC]] prior to doing a [[SBC]] to "avoid subtracting the carry flag" but it should say "to avoid subtracting one"
* In the tables that show which MPU supports which instructions, an "X" denotes yes and a " " denotes no.  Many readers would find a check mark less confusing.
* In the tables that show which MPU supports which instructions, an "X" denotes yes and a " " denotes no.  Many readers would find a check mark less confusing.



Revision as of 15:44, 19 May 2023

"Eyes & Lichty" is scene slang for the excellent manual "Programming the 65816 Including the 6502, 65C02, and 65802" by David Eyes & Ron Lichty. It may be the best unofficial textbook on SNES programming, due in no small part to the fact that the Ricoh 5A22 is based on the 65c816 and the SPC700 is based on the 6502.

Eratta

  • page 497 recommends making sure the carry flag is already set, or to set it with SEC prior to doing a SBC to "avoid subtracting the carry flag" but it should say "to avoid subtracting one"
  • In the tables that show which MPU supports which instructions, an "X" denotes yes and a " " denotes no. Many readers would find a check mark less confusing.

Quick Links

Part I Basics

Part II Architecture

Part III Tutorial

Part IV Applications