Ed Minchau Posted Thursday at 06:37 PM Author Share Posted Thursday at 06:37 PM On 6/23/2022 at 11:43 AM, desertfish said: FIFTY functions? Wowwwww! Also. Does the library use 65C02 instructions? Or is it usable on 6502 as well? 65c02 only, because I'm using the BBR/BBS commands. And although there are 50, quite often there's only small differences, such as a 2d vector version and a 3d vector version. 1 Quote Link to comment Share on other sites More sharing options...
Fabio Posted Thursday at 08:28 PM Share Posted Thursday at 08:28 PM i have read your work : it's impressive but i have a doubt:what's the use of "fabs" lookup table ? given that it can be calculated as eor FF inc A Quote Link to comment Share on other sites More sharing options...
ZeroByte Posted Thursday at 10:58 PM Share Posted Thursday at 10:58 PM Can it do log2 of a 16bit into an 8.8 or 8.16 fixedpoint? Quote Link to comment Share on other sites More sharing options...
Ed Minchau Posted Thursday at 11:05 PM Author Share Posted Thursday at 11:05 PM On 6/23/2022 at 2:28 PM, Fabio said: i have read your work : it's impressive but i have a doubt:what's the use of "fabs" lookup table ? given that it can be calculated as eor FF inc A If you've got the value in A, and you've already determined that it's negative (bit 7 = 1), then that works. The FABS table just avoids having to do the compare and branch, saving a few cycles. Quote Link to comment Share on other sites More sharing options...
Ed Minchau Posted Thursday at 11:07 PM Author Share Posted Thursday at 11:07 PM On 6/23/2022 at 4:58 PM, ZeroByte said: Can it do log2 of a 16bit into an 8.8 or 8.16 fixedpoint? No, I avoided logs. I initially tried using an 8 bit log method for division and the error bars were huge and bimodal. 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.