forked from s-macke/SAM
-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Remove multtable, replace with logical equivalent
Multtable stored the result of a 8-bit signed multiply of the upper nibble of A (interpreted as signed) and the amplitude lower nibble (interpreted as unsigned), then divided by two. On the 6510 this made sense, but in modern processors it's way faster and cleaner to simply do the multiply. Replace the render sin/sin/rect mixer with equivalent C code.
- Loading branch information
1 parent
760786f
commit 3865157
Showing
2 changed files
with
10 additions
and
45 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters