Post Reply 
[wp34s] The Matrix Reloaded patches
07-02-2015, 05:27 AM (This post was last modified: 07-02-2015 05:43 AM by emece67.)
Post: #7
RE: [wp34s] The Matrix Reloaded patches
(07-01-2015 11:26 PM)Paul Dale Wrote:  Nice work! Great work in fact. You've figured out a pile of the 34S internal code!


A question, why introduce IINIT and the I regsiter bit operations? Why not use xIN and the local flags (which it allocates)? This also preserves the stack, does the LastX handling for you and handles errors nicely. The downside is the volatile RAM xIN uses but I don't think that's going to be a problem since you don't seem to be using the memory heavy matrix operations from XROM.

Still, an impressive effort.


- Pauli


Because xIN/xOUT force DBLON mode and existing (and the new) matrix ops only work in DBLOFF mode. Evenmore, I want the matrix operations to be able to work with matrices stored in local registers, but I was unable to do that with xIN/xOUT (despite the ENABLE_COPYLOCALS option, perhaps I didn't understand the existing code here). These forced me to use the IINIT hack.
Find all posts by this user
Quote this message in a reply
Post Reply 


Messages In This Thread
RE: [wp34s] The Matrix Reloaded patches - emece67 - 07-02-2015 05:27 AM



User(s) browsing this thread: 3 Guest(s)