Author Topic: DIB flicker problem  (Read 12767 times)

hfheatherfox07

  • Member
  • ***
  • Posts: 464
Re: DIB flicker problem
« Reply #15 on: February 18, 2013, 06:32:20 AM »
Hello ,
Since this whole thread is based on the -sheep- dib tuts ,I will post my question here:

Does any body know how the sine function is meant to be used here???

include sinus.asm

Thank you ?
Your code and your skills will be assimilated. Your programming language is irrelevant.
We are the ASM Borg and you will become part of us. Compile and be assembled.

dedndave

  • Member
  • *****
  • Posts: 8823
  • Still using Abacus 2.0
    • DednDave
Re: DIB flicker problem
« Reply #16 on: February 18, 2013, 01:07:53 PM »
it isn't   :P

he started with a "wavy" text program and simply forgot to comment out the INCLUDE
he will probably make use of it in the next few tutorials

hfheatherfox07

  • Member
  • ***
  • Posts: 464
Re: DIB flicker problem
« Reply #17 on: February 18, 2013, 06:13:28 PM »
Thanks dedndave :)
You are right !
I found an example of what I think he used :)
This was missing a lot of stuff ....
No new tuts from this guy; last was in 2006....I think.

Your code and your skills will be assimilated. Your programming language is irrelevant.
We are the ASM Borg and you will become part of us. Compile and be assembled.

dedndave

  • Member
  • *****
  • Posts: 8823
  • Still using Abacus 2.0
    • DednDave
Re: DIB flicker problem
« Reply #18 on: February 18, 2013, 10:43:42 PM »
it may be based on original code by Siekmanski
he has a few sine-wave text demos

kroz

  • Guest
Re: DIB flicker problem
« Reply #19 on: February 19, 2013, 08:06:10 PM »
@hfheatherfox:the idea is to modify the text-blitting function so t only blits a char, and then blitting individual chars from text array to the corresponding y-pos on the sine table. :)

Siekmanski

  • Member
  • *****
  • Posts: 1856
Re: DIB flicker problem
« Reply #20 on: February 19, 2013, 11:10:39 PM »
Here is a sinusscroller example using DirectDraw7.
Creative coders use backward thinking techniques as a strategy.

Siekmanski

  • Member
  • *****
  • Posts: 1856
Re: DIB flicker problem
« Reply #21 on: February 19, 2013, 11:17:06 PM »
Another one.
It's a html file encoder I made for a friend of mine.

Creative coders use backward thinking techniques as a strategy.

hfheatherfox07

  • Member
  • ***
  • Posts: 464
Re: DIB flicker problem
« Reply #22 on: February 21, 2013, 05:18:19 AM »
@Siekmanski
Thanks I have that from here :
http://www.masmforum.com/board/index.php?PHPSESSID=786dd40408172108b65a5a36b09c88c0&topic=16710.30

I understand the ASCII table value now lol

Your code and your skills will be assimilated. Your programming language is irrelevant.
We are the ASM Borg and you will become part of us. Compile and be assembled.

hfheatherfox07

  • Member
  • ***
  • Posts: 464
Re: DIB flicker problem
« Reply #23 on: February 21, 2013, 05:53:20 AM »
@hfheatherfox:the idea is to modify the text-blitting function so t only blits a char, and then blitting individual chars from text array to the corresponding y-pos on the sine table. :)

That makes sense, I realized that the Y position needs to correspond to the sine table .... I was not successful LOL

I will play with it some more....
Your code and your skills will be assimilated. Your programming language is irrelevant.
We are the ASM Borg and you will become part of us. Compile and be assembled.