Singen68k

by Superogue / Marquee Design

Last edited on 13 Apr 2024 by psenough. See all edits

6 comments

superogue - 15:44 11 July 2022 #

Here is a 18 byte sine-table generator for those that might find it useful. Maybe there are other/better/similar sine-generators out there, but i have not seen one for all 4 quadrants done like this. So i thought i should share...

s_t_s - 20:53 11 July 2022 #

Thank you for your releases on ATARI ST, hopefully not a one shot event! :)

yogib33r - 08:10 14 July 2022 #

thanx !!!

42Bastian - 14:19 7 August 2022 #

Here the version for Atari Jaguar (24Bytes)
movei #sinus,r15 ; 6
moveq #16,r6
shlq #3+2,r6
movei #127,r2 ; 6
moveq #0,r3
singen:
subq #2,r2
move r3,r0
store r3,(r15)
neg r0
add r2,r3
store r0,(r15+r6)
jr ne,singen
addqt #4,r15

superogue - 08:10 24 September 2023 #

Update: Thanks to a tip from spkr the singen is now only 16 bytes. As a bonus i've also included the 10-byte sinlike zigzag generator that i've used in Algorift

superogue - 23:03 12 April 2024 #

Package updated to include Amiga example