flat assembler
Message board for the users of flat assembler.

Index > DOS > Sine wave generator

Author
Thread Post new topic Reply to topic
System86



Joined: 15 Aug 2007
Posts: 77
System86 16 Dec 2007, 01:18
I have made a program that displays a sine wave on the screen in fasm. It operates in mode 13h (320x200 resolution with 256 colors) and requires a 386+ with an FPU. To change the transformations on the sin function, press the up arrow key to shift up, down to shift down, left to shift left, and right to shift right. To change the horizontal/vertical stretch/compression of the function, hold shift while pressing the arrow keys.


Description:
Download
Filename: sinewave.zip
Filesize: 1.59 KB
Downloaded: 357 Time(s)

Post 16 Dec 2007, 01:18
View user's profile Send private message Reply with quote
DJ Mauretto



Joined: 14 Mar 2007
Posts: 464
Location: Rome,Italy
DJ Mauretto 16 Dec 2007, 18:33
Nice Wink
For interpolate pixel of sinus function use 1/Amplitude for step calculation.
Post 16 Dec 2007, 18:33
View user's profile Send private message Reply with quote
edfed



Joined: 20 Feb 2006
Posts: 4353
Location: Now
edfed 17 Dec 2007, 00:45
modified

now signal is contiguous
man that download this, updated with the good int9, now no problems


Description: + line, int9, refresh
Download
Filename: sinewave.zip
Filesize: 8.09 KB
Downloaded: 310 Time(s)

Post 17 Dec 2007, 00:45
View user's profile Send private message Visit poster's website Reply with quote
Display posts from previous:
Post new topic Reply to topic

Jump to:  


< Last Thread | Next Thread >
Forum Rules:
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum
You cannot attach files in this forum
You can download files in this forum


Copyright © 1999-2024, Tomasz Grysztar. Also on GitHub, YouTube.

Website powered by rwasa.