Added: 4 years ago
From: petrock6
Views: 45,735
Sort by time | Sort by thread (beta)

Link to this comment:

Share to:
see all

All Comments (269)

Sign In or Sign Up now to post a comment!
  • Nice job. Please post most virus demos!

  • 10 rem msx basic

    20 input ">:";a$

    30 if len(a$)>20 then f=1

    40 if f=1 and mid$(a$,5,4)="load" then l1=mid$(a$,9,1):l2=mid$(a$,10,­1):ad=l1*256+l2:defusr(0)=ad:x­=usr(0)

    50 goto 20

  • 10 PRINT "WTF!"

    20 GOTO 10

    RUN

    WTF!

    WTF!

    WTF!

    WTF!

    WTF!

    ESCAPE.

  • hey petrock, great vid, nice virus or whatever..., but i would have chosen "1" :)

    today i know why... :P

  • type 101 goto 10 lolol

  • Hehe. n00bs.

  • An infinite loop is not a virus. A virus copies itself and spreads.

  • Your logic is wrong kid. You only tested if a=1 or a=2. You then go on to say that if you type ANYTHING except 1 it will keep looping. This is not true. ANYTHING except 2 will make it end. It's literally the opposite of what you said. All you need to do to fix this would be.

    95 goto 10.

    That way if it doesn't match 1 or 2 it goes back to the beginning.

    There are many different ways to do this.

    Here is the least amount of code I can think of:

    70 if A =1 then end

    80 goto 10

  • Also, it makes me really happy to see someone using Commodore basic. Even if it's immature to make the program you made, you still get 'mad props.'

    If you are like 16+ then you have no excuse to be making programs with this content. Younger than that and I can let it slide.

  • you're a douchebag 3 minutes of life wasted to see a dork typing 1 Print "DORK"

    2 goto 1

  • CONTINUED. The second last line of your basic virus would contain a line like this 1151 OPEN 1,8,15, "N:NAME,ID": CLOSE 1. Your final line would contain the C64's reset command. On the Vic this is sys 64802.

    The moment he hits run say goodbye to whatever's on that disk. You could tweek this program a little bit by adding some graphics or putting a delay command in between the last two lines. Programs like this could have been uploaded to BBS's too. SABOTAGE

  • First off I don't endorse the idea of creating viruses. Creating a commodore virus or something like it isn't that hard. What your making is simply a program that repeats itself. To make a virus my choice for recording it would be a tape since Commodores generally don't have hard drives. Secondly there must be a deception. Write a program that looks like a game so that folks will want to load it. Include a line that tells the user to insert a floppy. To be continued.

  • Hot tip! Press the [RUN/STOP] key, then type NEW. Virus Deleted!

  • This isn't a virus you moron.

  • To all the assholes here that posted negative remarks, and from an old time programmer that programmed in ASM, BASIC, PASCAL and many other languages, you're all a lot of morons.

    This young man is starting the same way everyone one else started, including the inventors of the original C64 started - basic programming.

    So, you are the morons and he is the genus that keeps the tradition going.

  • @tomperanteau What makes him a moron is calling it a virus. Not getting his feet wet programming.

  • @tomperanteau This is not a problem of course, it's great to learn. Let's call it "my first CBM BASIC program". But why would it be a virus? A virus should infect other programs etc, I can't see why it's called a virus. And btw, there were really virii for C64 just not so common :)

  • @lgblgblgblgb

    You're right viruses do many things. Infecting other programs is one thing. And blanking somebody's disk or hard drive is another.

  • Wow! Don't try this, could brick your computer doing stuff like this.

    Hope you had Norton for your c64

  • Learn to DIM multi dimensional string variables, within a few months you'll be writing a text parser and writing text adventure games. I was. Input A$, then search A$ for spaces, and divide it into seperate words. Then search it for VERBS you know, like GO, TAKE, UP, DOWN, DROP, SHOOT, etc. Jump to subrotine, and search rest of the string for an object, like NORTH, SOUTH, BOX, GUN, etc, depending on the verb. Ignore all words your program does not know.

  • WAIT 6502

  • LOL, heres another virus:

    10 run

    run

  • 10 PRINT "..." 20 PRINT "HELLO" 30 PRINT "ARE YOU A MORON" 40 PRINT "1=YES 2=NO" 50 PRINT "ANSWER NOW!" 60 PRINT "WHAT THE HELL YOU'RE A MORON SO WHY BOTHER WITH THIS PROGRAM !!" 70 GOTO 60

    PS morons don't know the difference between a program and a virus

  • 10 SYS64738

  • Why do you keep listing a program you have just written, do you think someone is going to steal your lines when your not looking?

  • Skiddy doesn't know what a virus is.

  • was there even such a thing as a computervirus back then ?

  • @combatdigiq

    Around 1986 there were virus programs on floppy disks which basically destroyed other disks.

  • Woow what a virus... :D

    It infects first the boot sector and that loads itself to high memory area...

    It infects all exe files which are greater then 32 KBytes...

    It also erases the BIOS...

    Possible to clear??? NEVER!!! :D

  • I HAD to watch the entire thing.. I couldn't believe what I saw.

    Virus?!? Where?

    Even my daughter who doesn't know anything about basic programming could do the same..

    Epic fail !!

  • just like your fake virus isn't replicating itself, you shouldn't either..please do us that favor and take yourself out of the gene-pool

  • Line 90 of your code is useless.

  • @Rockhardmario No, line 90 will execute if something besides 1 or 2 is entered.

  • @jazzpsalti You're right. I stand corrected. I guess it's been too long since I last practiced BASIC programming.

  • @Rockhardmario as are lines 10 - 100 :)

  • Yes very shitty coding , we can sleep easy after seeing this

    Besides it IS NOT a virus at all as it does NOT replicate itself

    It's just a bad bit of BASIC programming

  • You're a doofus. That doesn't really count as a "virus."

  • Comment removed

  • Nice Spaghetti Code there. hehe!

  • run/stop+restore = pressing esc+page up in VICE

  • how does this replicate itself?

  • 10 print "are you gay". 20 print "1 yes 2no" 30 get a$: if a$="n"then goto 10 40 if a$= "y" then end....I haven't tested it though I just made it up

  • Better version

  • Break key. Not sure what it would be on an emulator. As for the first "program" (I use the term loosely), enter any number but 1 or 2, and the program crashes. I saw a few opportunities to streamline the code (and I haven't used Commie Basic in over 20 years) - but my eyes would probably bleed if I watched this again to note where.

  • Stop, just stop. You are doing terrible terrible things to humanity.

  • Leave the 8 bit micro's to us, kid. The older generation would never subject that poor machine to such crappy code.

  • 34 people are retards

  • Put down the C= 64 and step away.

  • 01 PRINT 0+""+-0

  • If you type any NUMERIC value it will end.

    You're kinda sunday-programmer codeboy?

  • . Truth is, there were actual virus's on the older computers Most hid on floppy boot blocks and they were a lot more sophisticated than a few lines of basic. Some of the first truely stealthy and nasty ones were on the commodore 64.

  • learn to programming......

  • You're a fuckhead. I'm gay and that video is offensive. thumbs down :)

  • @shairaptor i am gay and i was going to be offended but then the program only stops if you are gay so clearly he is hetrophobic:)

  • @henniganwilson hehe you're right, thanks! :)

  • What a waist of time... Do something really cool :)

  • These are just some simple scripts. They work like the so-call CMD batch in Windows. Not a virus, actually. If you want to build a batch scripting virus, you can use Windows. It has more functions than the BASIC Commodore scripts like shutdown, restart, log off, terminate applications, windows bombing, damage Windows installation via deleting HAL.dll (or explorer.exe, boot.ini, bootsect.exe, etc.), automatically open application and execute specific commands (this can be done by VBScript), etc.

  • 300+ people got trolled pretty hard

  • 11 for a is 1 to 255

    12 poke 53272,a

    13 next a

    14 goto 11

    there ya go ! 

  • HEY PEOPLE!

    FLAG this kind of FAKE videos as SPAM and youtube will remove them!

    Flag icon is on the right corner, below the video, thanks...

    Don't let fake videos steal your precious time!

  • 1. Print "What A Noob"

    2. Goto 1

  • Comment removed

  • noobs today. Stupid moron, learn the definition of a COMPUTER VIRUS, because you clearly don't know what one is

  • Thumbs up for effort. C64 programming should be fun!

  • stupid kid

  • LMAO @ noob coders. The Commodore was fun back in the 80s. I miss it. Oh, FYI, a ? (question mark) replaces the PRINT statement.

  • Man, you fail. You are not cool. It's like using Batch in Windows

    :gay

    echo Look, Iam petrock6 and Iam cool now and asking you if you are gay haha so cool

    goto gay

    Fail.

  • Someone writing such a sophisticated Code is for sure WAY GAY!

  • How utterly stupid.

  • you could have put a $ sign after the input variable so you could have them just type yes or no

  • give the boy some sympathy he's just a school kid who just studied basic and thinks he made a virus ...i did the same when i leaned batch at 10

    honey it's very hard to make a virus in basic try learning c

  • give the boy some sympathy he's just a school kid who just studied basic and thinks he made a virus ...i did the same when i leaned batch at 10

    huney it's very hard to make a virus in basic try learning c

  • just press CTRL+C to stop this!

  • this remeber me when started developer... so so 1996! The famous QuickBasic!

  • Gay.

  • @janmunster1 good,then you should press "1"  lol

  • Infinite loops aren't even considered as a virus in 1982

  • hey I am actually gay! nice program :)

  • That has to be the worst fucking piece of Basic programming I have ever seen.

  • I'd hate to bust your bubble but this is the same as the "viruses" that people write in note pad, the program is just made to run over and over again and no REAL damage done to the computer or files (thats what a virus does) Most people who write these use them to piss off there mates with the constant looping. Also if you wanted to give a FULL demonstration of the program you should have pressed 1, if you dignt want people to think you were gay then why type the question in the first place?

  • @killdoser666 or if it does not damage the files, the virus is just made to fill up your hard drive with worthless crap

  • @killdoser666 or if it does not damage the files, the virus is just made to fill up your hard drive with worthless crap

  • This isn't a virus at all, it's just a pointless loop that you can quit

  • bullshit

  • @la1260 wasn't even THAT cool then. Speak and Spell was cooler than this

  • HOLY CRAP THAT WAS COOL! In 1982.

  • @MelonRace it wasn't even that cool back then.

  • at all, calm down its just a video :p

    for myself - i found it at least - enjoyable :)

    @Goasler muahaha, vermutlich hast deinen Teddy besser im Griff gehabt als WIE ne CPU :p

  • was fürn mist, hab als 6 jähriges Kiddie noch besser programmiert als du !

  • Tell me when I should laugh...

    BTW: It's so lame to typing "THEN GOTO 100" if You could just type: THEN 100.

    However, it's really good that You haven't really Commodore 64. That would be a great machine in wrong hands :).

  • @BagoZonde Bollocks would it. Atleast he's programming

  • @BagoZonde Personally i favour the BBC Micro, but i know what youre saying. I do miss my commodore.

  • if u press other than 1 or 2 it will exit, or just press button for exit...

  • u pwnd kaspersky

  • Glad you dont actually have a C64 or esle i would ask you to give it to somebody who would actually I dont know respect it and try to create some REAL programs.

  • 10 PRINT " FAIL. ";: GOTO 10

    RUN

  • @ZXRulezzz you forgot to add the word EPIC

  • OMG faggot this is not a virus!

    It is noting else than an easy loop like it is used in almost every program.

    Every kiddie that downloads Qbasic could do this after reading the help files for 2 minutes.

    And almost every stupid user could stop the loop after 2 minutes trying to press some keys^^

    It doesn't infect the system anyway, it only displays a message or plays a sound or some stuff like that while the loop is running.

    Go learn how to code noob!

    Waste of time..

  • I knew this would be stupid, but I was hoping it would at least be funny.

    And fix your goddamn mic. I can't hear a word you're saying.

  • can someone upload a vid of a genuine amiga virus? there used to be some, back then. And they were rather inventive as hackers didn't create them as a means to get to your online banking data or paypal passwords.

  • this is similar to c++

  • press esc, or enter anything but 1 or 2

  • Gayyyyy

  • It's truly a shame that people like you use these incredible machines, even emulators of the them to spread your homophobic propaganda.

  • WTF?

  • fuck norton, im going gay, no more virus's for me!

  • @xdeadstarpsyclonx Norton is the most overrared av on the market anyway, but that's besides the point

  • @WhoStoleMyGimmick No, I totally agree. Never have and never would use it, AVG, simple free, effective enough for me.

  • holy shit dude you can see the mouse run across the video! FAKE!

  • homophobe...

  • homophobe...

  • FAIL

  • VIRUS .... Where ? ..... It's a BASIC LOOP .. it's not even in machine code ... does the 6502 assembly mean nothing to you ... have you never heard of Rodnay Zaks? I'm glad I only wasted 20 seconds and didn't watch it all!

  • Incredibly dumb.

  • Better turn off the computer.  :-D

  • Some people might want to use their computers to save lives in a hospital or to buy stuff for their babies. It is absolutely not funny to destroy their pc on purpose.

  • Some would call it a "virus" and some would call a loop. Still cool though.

  • @Fender7083

    This is not a virus at all, only n00bs' and 12-year old kids would call this a virus.

    This is a simple program which loops the text "you're gay bla bla bla" based on if and then statements.

    Nothing hackerish about it <_<

  • @Nicolai0Nerland I am 12 and i know self, that this isnt a virus!

    (sorry for my english, i am german)

  • Ever heard of the RUN/STOP key?

  • At the time of writing 20,496 people have viewed this video, and 20,496 people have then wondered why evolution failed petrock6

  • Enter 3. It will end the program.

    I'm actually glad you are a shitty coder. Gives me job security

  • Aww, give him a break, I'm sure we all thought that was cool when we all started coding on our 64.. (or vic 20 in my case)

  • @jazzpsalti Well....there are better people out there. Even better than you.

  • @jazzpsalti Yes and you can Press Escape (not sure...)

  • @thehacker112 Where's the Escape key on the 64?

  • @jazzpsalti You're wrong. I'm actually glad you have no idea what you are talking about. Gives me a feeling of superiority.

  • @MacRief WOW. No I'm right. READ THE CODE. Then come to Portland Oregon, and let me indulge myself in the ritual of "supersoaker right in the shitty mouth of another shitty youtuber"

  • Comment removed

  • try this :

    10 SYS64738

    RUN

  • Or this other:

    10 SYS 42212

    RUN

  • Your line 90 is never reached morron

  • Yeah, I couldn't figure out what line 90 was for either...

  • lol you have pressed 1 ... you are gay!

  • Your first programming lesson and such great results...

  • Man, you must have been less than a sperm inside your dads testicles during the reign of this mighty computer. Sound like some 10 year old kid. You gay?

  • pretty much the same as programming a ti-83 calculator i guess....

    rewrote a class mates game with something like this :P

  • this is almost the same as making a bat file, and they can be very powerfull viruses if made properly... i can shut down computers for good whit this shit....

  • Lame.

    Just press the C64's RUN/ STOP button and you'll escape from the program.

  • RUN/STOP would work in the second scenario, but not the first. RUN/STOP will not break out of an INPUT statement.

  • But RUN/STOP+RESTORE would.

  • Only stop it by pressing 2 ?

    how about turn it off , turn it back on ... there.

    you just spent 1 minute and 30 seconds writing something that was destroyed in a instant :)

  • or run/stop

  • Aranyos. Mi is csináltunk hasonlókat C64-re, csak ez nem vírus.

    Cute. We used to write similar programmes to C64 too, but this not a virus.

  • you are confusing 8bit virus something written by a brainless twat

  • You are gayer than a gay! YOU GAY!!!!!!!!!!!11111111

  • you suck, guy

  • How is this a virus?

  • piss off

  • actually back then gay meant joy, what ever happened to that definition of the word.

  • RUNSTOP/RESTORE

    PRINTCHR$(147)

    CTRL M

    or POKE 650,0 even

  • Comment removed

  • of course, if teh person you were infecting happened to be gay, you would loose be default :D

  • just enter "3" (without quotes)

  • R/S

  • LOL you call this a "virus"? You don't know what you're talking about, do you?

  • Crapware...HAHA Classic!!

  • Viruses are supposed to infect other machines.

    This is more like crapware.

  • how about pressing "runstop" to stop the program YOU MORON?

  • Comment removed

  • i have a better virus:

    new

    10 PRINT 0+""+-0

    run

    only this...have fun with this :D

  • I have a BETTER VIRUS THAN YOU:

    smaller too : 10 goto 10

    lol like it was a virus ...stupid

  • AND ITS WORKING ON TRS 80 TOO !!! mahahah

  • This guy discovered the infinite loop! you're a genious! (maybe 100 years ago when computing was starting ¬¬)

  • I Sincerely DON'T know where YOU learnt the DEFINITION of the word VIRUS, because this IS NOT IT! Shame on YOU, DUNCE!

  • Hes definitly gay

  • Virus this stupid batch? Go to play whit pokemon...

  • Harhar, I made these kind of progs too, when I was 11. That was so much fun ;P

  • Need to press the RUN/STOP button to close it.. Wow!

  • Yep

  • boooooooooooring

  • i remember making it so ir would reset the computer also adding an effect with the colours when pressing the wrong key i would enter poke 56780 to reset or input you are gay