Hi,
I noticed some minor size opts that can be done as part of the sin-table generation
https://github.com/askeksa/Cinter/blob/master/player/Cinter4.S#L70
At this point it would be possible to do
instead as d0 is -16384 after this loop.
Also here these two pointers (+ the offsets) points to the same address so actually one write is needed.
https://github.com/askeksa/Cinter/blob/master/player/Cinter4.S#L74-L75
Now given that the code above here
https://github.com/askeksa/Cinter/blob/master/player/Cinter4.S#L63-L64 looks identical maybe the compressor will actually do a better job if it stays the same so I'm not as sure about that one.
Hi,
I noticed some minor size opts that can be done as part of the sin-table generation
https://github.com/askeksa/Cinter/blob/master/player/Cinter4.S#L70
At this point it would be possible to do
instead as
d0is-16384after this loop.Also here these two pointers (+ the offsets) points to the same address so actually one write is needed.
https://github.com/askeksa/Cinter/blob/master/player/Cinter4.S#L74-L75
Now given that the code above here
https://github.com/askeksa/Cinter/blob/master/player/Cinter4.S#L63-L64 looks identical maybe the compressor will actually do a better job if it stays the same so I'm not as sure about that one.