42bs Posted April 2 Share Posted April 2 (edited) Not sure where I got it from, but found it by accident again on my HD and thought I'd share it. The attached file contains a bunch of macros that add some "new" opcodes. One has to setup a table of 0..255 called `idtable` somewhere in memory (best on a page boundary) and then use the macros. Examples: txy ; move x to y There are several ways to achieve this: phx ply or (by destroying A) txa tay or (by use of some memory) stx nn ldy nn or (that's the new opcode) ldy idtable,x newop.mac Edited April 2 by 42bs 1 Quote Link to comment Share on other sites More sharing options...
Irgendwer Posted April 3 Share Posted April 3 On 4/2/2023 at 12:32 PM, 42bs said: Not sure where I got it from Maybe here: https://www.nesdev.org/wiki/Identity_table 1 Quote Link to comment Share on other sites More sharing options...
Recommended Posts
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.
Note: Your post will require moderator approval before it will be visible.