Author Topic: Wave Simulator (sortof)  (Read 28106 times)

0 Members and 1 Guest are viewing this topic.

Offline calcdude84se

  • Needs Motivation
  • LV11 Super Veteran (Next: 3000)
  • ***********
  • Posts: 2272
  • Rating: +78/-13
  • Wondering where their free time went...
    • View Profile
Re: Wave Simulator (sortof)
« Reply #15 on: June 16, 2010, 03:57:02 pm »
That is not a good thing... was it Axe only? (no inline-asm)
and how you sure it was blue, or just really high contrast?
"People think computers will keep them from making mistakes. They're wrong. With computers you make mistakes faster."
-Adam Osborne
Spoiler For "PartesOS links":
I'll put it online when it does something.

SirCmpwn

  • Guest
Re: Wave Simulator (sortof)
« Reply #16 on: June 16, 2010, 03:57:56 pm »
Badbadbadbad
Never ever do that again.
It's called test mode, and don't do it ever.
It will burn out your LCD if you leave it that way for long.

Offline DJ Omnimaga

  • Clacualters are teh gr33t
  • CoT Emeritus
  • LV15 Omnimagician (Next: --)
  • *
  • Posts: 55943
  • Rating: +3154/-232
  • CodeWalrus founder & retired Omnimaga founder
    • View Profile
    • Dream of Omnimaga Music
Re: Wave Simulator (sortof)
« Reply #17 on: June 16, 2010, 03:59:33 pm »
Mhmm strange, the LCD must not like such quick and drastic changes in display. I know that happens on 15 Mhz calcs hardware when quickly changing the contrast from very low to high values. But it's not as dangerous as test mode (BSOD) unless you leave the calc that way for a long while.

UNless you really mean it showed a non-flashy BSOD?
« Last Edit: June 16, 2010, 03:59:55 pm by DJ Omnimaga »

Offline Darl181

  • «Yo buddy, you still alive?»
  • CoT Emeritus
  • LV12 Extreme Poster (Next: 5000)
  • *
  • Posts: 3408
  • Rating: +305/-13
  • VGhlIEdhbWU=
    • View Profile
    • darl181.webuda.com
Re: Wave Simulator (sortof)
« Reply #18 on: June 16, 2010, 04:11:55 pm »
It didn't show text or anything like the windows BSOD, it just turns this vibrant blue (kind of like the blue in most of the links) and fades back at the end.

@calcdude: yes, it was just axe

BTW i'm using an 84+ with os2.43
« Last Edit: June 16, 2010, 04:18:00 pm by Darl181 »
Vy'o'us pleorsdti thl'e gjaemue

Offline Ikkerens

  • LV6 Super Member (Next: 500)
  • ******
  • Posts: 378
  • Rating: +28/-9
  • JavaScript Magician
    • View Profile
    • Walotech
Re: Wave Simulator (sortof)
« Reply #19 on: June 16, 2010, 04:20:50 pm »
It didn't show text or anything like the windows BSOD, it just turns this vibrant blue (kind of like the blue in most of the links) and fades back at the end.

Don't think a blue screen should happen on a black/white screen :O

Anyway, here's the vids.(zipped, because this forum doesn't accept *.3gp, you need quicktime player to open them, or ur cell)
The first vid is from my own code.
The second vid is from the code Dj Omnimaga linked in the 2nd post of this topic.

Splut for Android [----------]
Paused/halted indefinitely, might be abandoned, our graphic designer quit and the rest of us simply doesn't have the time to work on it...

Offline calcdude84se

  • Needs Motivation
  • LV11 Super Veteran (Next: 3000)
  • ***********
  • Posts: 2272
  • Rating: +78/-13
  • Wondering where their free time went...
    • View Profile
Re: Wave Simulator (sortof)
« Reply #20 on: June 16, 2010, 04:23:58 pm »
Is it the program you listed earlier, or is it a different one? This needs reporting... getting the BLOD's is not good.
"People think computers will keep them from making mistakes. They're wrong. With computers you make mistakes faster."
-Adam Osborne
Spoiler For "PartesOS links":
I'll put it online when it does something.

Offline Ikkerens

  • LV6 Super Member (Next: 500)
  • ******
  • Posts: 378
  • Rating: +28/-9
  • JavaScript Magician
    • View Profile
    • Walotech
Re: Wave Simulator (sortof)
« Reply #21 on: June 16, 2010, 04:26:59 pm »
You talking to me? That's not a bluescreen, but the reason why I started this topic :P

Splut for Android [----------]
Paused/halted indefinitely, might be abandoned, our graphic designer quit and the rest of us simply doesn't have the time to work on it...

Offline Darl181

  • «Yo buddy, you still alive?»
  • CoT Emeritus
  • LV12 Extreme Poster (Next: 5000)
  • *
  • Posts: 3408
  • Rating: +305/-13
  • VGhlIEdhbWU=
    • View Profile
    • darl181.webuda.com
Re: Wave Simulator (sortof)
« Reply #22 on: June 16, 2010, 04:28:31 pm »
It was the second one, with the Shade( command.
Reply #14

Got to go, my library session's about to time out.  I should be able to get back on around noon tomorrow.
« Last Edit: June 16, 2010, 04:33:52 pm by Darl181 »
Vy'o'us pleorsdti thl'e gjaemue

Offline calcdude84se

  • Needs Motivation
  • LV11 Super Veteran (Next: 3000)
  • ***********
  • Posts: 2272
  • Rating: +78/-13
  • Wondering where their free time went...
    • View Profile
Re: Wave Simulator (sortof)
« Reply #23 on: June 16, 2010, 04:29:20 pm »
No, sorry, talking to Darl181.
The effects caused by improper synchronization (the "waves") does look interesting, I must say.
Edit: (Reply to Darl181)
Weird, that shouldn't be happening... Only giving Shade( certain out of-range values (92-95, to be specific) should cause that... I'll bother quigibo later.
« Last Edit: June 16, 2010, 04:37:42 pm by calcdude84se »
"People think computers will keep them from making mistakes. They're wrong. With computers you make mistakes faster."
-Adam Osborne
Spoiler For "PartesOS links":
I'll put it online when it does something.

Offline Ikkerens

  • LV6 Super Member (Next: 500)
  • ******
  • Posts: 378
  • Rating: +28/-9
  • JavaScript Magician
    • View Profile
    • Walotech
Re: Wave Simulator (sortof)
« Reply #24 on: June 16, 2010, 04:37:54 pm »
No, sorry, talking to Darl181.
The effects caused by improper synchronization (the "waves") does look interesting, I must say.

Wasn't that what this topic was about? :P

Splut for Android [----------]
Paused/halted indefinitely, might be abandoned, our graphic designer quit and the rest of us simply doesn't have the time to work on it...

Offline nemo

  • LV9 Veteran (Next: 1337)
  • *********
  • Posts: 1203
  • Rating: +95/-11
    • View Profile
Re: Wave Simulator (sortof)
« Reply #25 on: June 16, 2010, 04:39:50 pm »
sorry it kind of got hijacked... BSOD is a large deal.


Offline ztrumpet

  • The Rarely Active One
  • CoT Emeritus
  • LV13 Extreme Addict (Next: 9001)
  • *
  • Posts: 5712
  • Rating: +364/-4
  • If you see this, send me a PM. Just for fun.
    • View Profile
Re: Wave Simulator (sortof)
« Reply #26 on: June 16, 2010, 07:04:02 pm »
BSOD = bad!  I thought Quigibo added checks for this, but I guess he left them out to save space.  Never put the calc in BSOD (make the contrast higher than it's supposed to be) if you want your calc to be the same.

That animation looks cool! :D  I like the one you made a lot. ;D
« Last Edit: June 16, 2010, 07:05:43 pm by ztrumpet »

Offline meishe91

  • Super Ninja
  • LV11 Super Veteran (Next: 3000)
  • ***********
  • Posts: 2946
  • Rating: +115/-11
    • View Profile
    • DeviantArt
Re: Wave Simulator (sortof)
« Reply #27 on: June 16, 2010, 11:08:13 pm »
I just tested Darl181's code. It doesn't give a BSOD at all. At least not on mine. All it did was darken it slightly then when you press [CLEAR] lightens it.
Spoiler For Spoiler:



For the 51st time, that is not my card! (Magic Joke)

Offline DJ Omnimaga

  • Clacualters are teh gr33t
  • CoT Emeritus
  • LV15 Omnimagician (Next: --)
  • *
  • Posts: 55943
  • Rating: +3154/-232
  • CodeWalrus founder & retired Omnimaga founder
    • View Profile
    • Dream of Omnimaga Music
Re: Wave Simulator (sortof)
« Reply #28 on: June 16, 2010, 11:12:33 pm »
Wow nice effects. I think I got them happen once on my calc before but I forgot how.

As for the BSOD I think it might due to contrast settings not being right. You need to enter a value of a certain range, else it can cause stuff like BSOD.

Offline Darl181

  • «Yo buddy, you still alive?»
  • CoT Emeritus
  • LV12 Extreme Poster (Next: 5000)
  • *
  • Posts: 3408
  • Rating: +305/-13
  • VGhlIEdhbWU=
    • View Profile
    • darl181.webuda.com
Re: Wave Simulator (sortof)
« Reply #29 on: June 18, 2010, 03:17:15 pm »
Quote from axe documentation:
"Shade(EXP) Sets the contrast. 0 is lightest, 63 is darkest. "
Repeat 1=2
If getKey=15
Goto E
End
-1→B
62→A
Repeat A>62
Shade(A)
A+B→A
If A<1
-B→B
End
End
End
Lbl E
Shade(47)

The loop is set up so A is always <62 and >1.

A is always in the range.
What DJ said about the display not liking high speed contrast changes seems to make the most sense.
I'm guessing that the LCD has just a slight tinge of blue and the quick adjustment brings it out more...?


EDIT: perhaps I should clarify more.  It wasn't a BSOD, just a blue screen.  No words.  Just blue.
« Last Edit: June 18, 2010, 03:23:26 pm by Darl181 »
Vy'o'us pleorsdti thl'e gjaemue