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
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: 116 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
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: 4237
Location: 2018
edfed
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: 85 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-2020, Tomasz Grysztar.

Powered by rwasa.