Omnimaga

General Discussion => Other Discussions => Humour and Jokes => Topic started by: Scipi on January 18, 2011, 11:50:29 pm

Title: An evil program
Post by: Scipi on January 18, 2011, 11:50:29 pm
I feel evil.

 >:D

(http://dl.dropbox.com/u/10573921/rickroll.gif)

Unstoppable RickRoll (unless you input the escape code)

Thanks SO much to Xeda for the base program and knowledge that allowed this to happen.

(Idk if this belongs here or in randomness, but since it's a program...)
Title: Re: An evil program
Post by: Xeda112358 on January 18, 2011, 11:52:17 pm
I... I... I love it! How'd you do it? ;)
(just kidding, but I do love it!)

You literally put in over 2000 bytes of code. Wow. That is amazing. I wish I could give two thumbs up...
Title: Re: An evil program
Post by: Michael_Lee on January 18, 2011, 11:53:43 pm
Should I be worried if I sat here and waited to read the entire thing?
Nice, though.  Does pulling the batteries kill it?
Title: Re: An evil program
Post by: Scipi on January 18, 2011, 11:55:53 pm
Yes, but it resets your calc. There is an escape code though.

Spoiler For Spoiler:
DOWN + LEFT, ENTER + MINUS, UP + DOWN + LEFT + RIGHT. I believe that is it.

Title: Re: An evil program
Post by: Xeda112358 on January 18, 2011, 11:56:48 pm
Hmm, yep. It works in my trial :D
Title: Re: An evil program
Post by: z80man on January 19, 2011, 12:05:00 am
Now modify it to play the music through the linkport.
Title: Re: An evil program
Post by: Xeda112358 on January 19, 2011, 12:06:52 am
Hmm... I wonder... Now that might be a little difficult to properly emulate the sound. I have made sound programs before, but the sound is more like the quality of the old Pokémon games.
Title: Re: An evil program
Post by: holmes221b on January 19, 2011, 08:30:23 am
I wonder if I can modify this program to display lyrics from other songs.../me will try this out later, when she can download the program and puzzle it out.
Title: Re: An evil program
Post by: Xeda112358 on January 19, 2011, 08:34:51 am
Hehe, hey Homer-16... Should... should the secret remain secret-ish...?!?
It can be done rather simply, but it might take a long time if you are not familiar with assembly :D... and you haven't checked the Useful Viruses yet...
(Even then it takes a ridiculous amount of time)
Title: Re: An evil program
Post by: Scipi on January 19, 2011, 04:29:21 pm
Well, we could explain how to modify it for your own songs. I want to see what other people make with this.

I am going to soon release an updated version that includes newlines (again, thanks to Xeda);D Since the current version uses a whole bunch of spaces to get to the next line. After that I'm going to make it better timed to an actual rickroll.
Title: Re: An evil program
Post by: Xeda112358 on January 19, 2011, 04:35:59 pm
Hehehe, sounds cool! I made only the very basic outline of the program, Homer-16 is the one who had to perfect timing and go through literally a few thousand bytes of ASCII as well as keep in mind the stuff that could not be used.
Title: Re: An evil program
Post by: holmes221b on January 19, 2011, 04:40:36 pm
Well, we could explain how to modify it for your own songs. I want to see what other people make with this.
Nah, I want to see if I can figure it out on my own--sort of as a test to see if I'm ready to really start getting serious with programming in HEX (that's what it's called, right?)
Title: Re: An evil program
Post by: Scipi on January 19, 2011, 04:45:49 pm
it's the Hex OPcodes for on-calc ASM programming. But, yeah, the same thing. I'll write everything out in a spoiler when I have more time for everyone who just wants to know.
Title: Re: An evil program
Post by: Xeda112358 on January 19, 2011, 04:51:11 pm
Yes, but only a few hundred bytes is actually a program, the other 2000 bytes are ASCII. And it would be cool to have another girl hex programmer! It would be kinda ironic that a mostly male community has only a handful of females who are extreme!

EDIT: Ninja'd? :P
Title: Re: An evil program
Post by: Binder News on January 19, 2011, 06:34:20 pm
Yeah, it would. But that's OK. I do a lot more computer work than calc stuff. I have 1 calc project, and 3 computer ones. Everybody has their skills. (I built the XConsole (http://ourl.ca/8465) from scratch, using only the standard Java 5 classes instead of Java 6)

And yes holmes, it is called Hex. Hexadecimal to be exact. But most people just call it Hex. Who would want a base-6 number system anyways? Base-16 is much better. [/sarcasm]
Title: Re: An evil program
Post by: Scipi on January 19, 2011, 11:04:22 pm
Ok, well, here's how to edit the code if you want to know how to.

Spoiler For Spoiler:
1806FEFCFDFAFEF0
11979D01xxxx                                    ;The xxxx is the size of the data
21F59DC5E5D57E
FE0220073E0F324C843E20
FE012007EF4645EF58453D
B7200A
0100FFEDA1EAC69D1803
EF0445010030EDA1EAD39DD1E1C1EB7E23D301DB01BE2328022B2B7DFE9DC8EBEDA1EAA69DC3A09D
<<Data>>

ok. the xxxx is how many characters to display. You get the hex value for how many and flip it. So say, 12 = 000C the value that goes where the x's are would be 0C00.

The red is how long your pause is, which in the ascii is a "01" It is currently set to the longest it can be.

The green is how long the pause between letters are.

The code given here is the improved version with "02" as the newline. after all that, the rest is ascii values in hex. I'd recommend using a converter of some type.

The method I used to get the timing and such was to first, convert the song lyrics, line by line into Hex. Then I changed the font in wordpad, word, whatever, to make it so each letter lined uo perfectly with the one above and below it. I then clipped each line into 32 numbers or less and filled any voids with "20" left by moving words down a row. ("20" is space) With this version you only need to use "02" and any number of "01"'s for timing. That ensured for me that none of the words would be split down the middle as it hit the end of the screen.

Also, make sure that the value for the XXXX's is as close as possible to the number of characters to be displayed total. If it is too low it will loop around to the beginning of the song too early and if it is too much it will start displaying odd characters/source code as it reads it's self from the beginning.

I am not a very good explainer of things so I hope that this makes any sort of sense to you all :P

Title: Re: An evil program
Post by: Xeda112358 on January 20, 2011, 12:46:16 pm
I love working in different bases! It is kind of my current focus in mathematics at the moment--optimal base.
By the way... I ridiculously ♥ this program now! I sat down and watched the whole thing... My day is made.
Title: Re: An evil program
Post by: AngelFish on January 20, 2011, 12:50:01 pm
I'm curious how multiple base conversion comes into a Rickroll.
Title: Re: An evil program
Post by: Xeda112358 on January 20, 2011, 12:57:44 pm
Magic. Specifically beans. It has something to do with Jack and giants. Well, it has jack s#!t to do with the rick roll, anyway. :D
Title: Re: An evil program
Post by: AngelFish on January 20, 2011, 12:58:27 pm
Ah, that's quite brilliant. I can't believe I didn't see that before  >B)
Title: Re: An evil program
Post by: Xeda112358 on January 20, 2011, 12:59:13 pm
All things are connected... :P
Title: Re: An evil program
Post by: AngelFish on January 20, 2011, 12:59:53 pm
Only when you're on acid  :P
Title: Re: An evil program
Post by: DJ Omnimaga on January 20, 2011, 08:29:27 pm
You actually tried acid? O.O

(moved to Randomness)
Title: Re: An evil program
Post by: qazz42 on January 20, 2011, 08:34:33 pm
mmm, good, steamy, suculant, warm, moist, acid in the mouth... mmmm *drools*

OMG A WOLFELEPAHANTWEREPANTHERUESIOGIOAERGOAIGIAGOGR!
Title: Re: An evil program
Post by: ruler501 on January 20, 2011, 09:37:54 pm
what pph is the acid? and is it called a controlled substance in the US?

EDIT: I meant ph not pph
Title: Re: An evil program
Post by: willrandship on January 20, 2011, 10:28:07 pm
A little more info on what I think he's referring to.....
http://en.wikipedia.org/wiki/Acid_%28drug%29 (http://en.wikipedia.org/wiki/Acid_%28drug%29)
Title: Re: An evil program
Post by: Scipi on January 20, 2011, 10:35:08 pm
Wow, rickroll program to acid. Everything IS connected :P
Title: Re: An evil program
Post by: Xeda112358 on January 20, 2011, 11:31:37 pm
'Tis, 'tis. I'm using the link to the picture to show the true powers of these calculators, is that okay?
Title: Re: An evil program
Post by: Scipi on January 21, 2011, 08:26:45 am
Yes, go ahead. ;D
Title: Re: An evil program
Post by: ralphdspam on February 25, 2011, 03:38:18 am
Lol, The program says "THE GAME" in all caps! :D
But that means I lost :(
Title: Re: An evil program
Post by: Xeda112358 on February 25, 2011, 08:02:51 am
Hehe, did you read the specs on this program? It still needs to be optimised a little, but it is an asm program so you cannot simply press [ON] to exit :D
Title: Re: An evil program
Post by: Scipi on February 25, 2011, 03:15:20 pm
Lol, The program says "THE GAME" in all caps! :D
But that means I lost :(

Yeah, if you notice, it says that twice in the entire song. So you lose twice everytime you play through it! :D
Title: Re: An evil program
Post by: AngelFish on February 25, 2011, 03:16:53 pm
Ahhhh! I can hear the music and see the dancing as I watch your avatar, holmes.
Title: Re: An evil program
Post by: Scipi on February 25, 2011, 03:19:45 pm
Ahhhh! I can hear the music and see the dancing as I watch your avatar, holmes.

You meant homer right? :P