Official Everybody Edits Forums

Do you think I could just leave this part blank and it'd be okay? We're just going to replace the whole thing with a header image anyway, right?

You are not logged in.

#1 2015-10-05 09:18:46

Different55
Forum Admin
Joined: 2015-02-07
Posts: 16,575

Fireworks in 6502 assembly

I decided to learn 6502 assembly and made a program that displays random fireworks.

Fancy version
Less fancy version

Semi-pointless still screenshot


"Sometimes failing a leap of faith is better than inching forward"
- ShinsukeIto

Offline

#2 2015-10-05 11:55:59

Zumza
Member
From: root
Joined: 2015-02-17
Posts: 4,656

Re: Fireworks in 6502 assembly

Nice. I always wanted to learn assembly. However I didn't find any good tutorial or a free online book. Can you please give me a link to your documentation?
Thanks in advance


Everybody edits, but some edit more than others

Offline

#3 2015-10-05 16:03:36

!nb4
Formerly AYB
From: New In Package (NIP) Pole
Joined: 2015-07-18
Posts: 767

Re: Fireworks in 6502 assembly

wait copy and paste what?


ZCK0zcQ.gif

Offline

#4 2015-10-05 17:43:33, last edited by Different55 (2015-10-05 17:53:38)

Different55
Forum Admin
Joined: 2015-02-07
Posts: 16,575

Re: Fireworks in 6502 assembly

Zumza wrote:

Nice. I always wanted to learn assembly. However I didn't find any good tutorial or a free online book. Can you please give me a link to your documentation?
Thanks in advance

The tutorial I used is here. The only problem I found with it is that it teaches you to define names for certain addresses or values, but other assemblers don't seem to know how to handle them, which is why I have two versions in the first post. One readable version with named addresses, and the other with plain addresses for compatibility.

AYB wrote:

wait copy and paste what?

Open the first spoiler, copy all that monospaced codestuff, open the link above all the monospaced codestuff, and paste it in the first box you find. Be sure to erase everything in it first, though. Hit Assemble, then Run. Enjoy the fireworks. You can press space to get a new firework, but press Escape (or any key) afterwards, otherwise you'll just keep generating new fireworks because of how input works. You can also press Q to quit. To restart you need to hit Reset then Run again.

For now there are just 2 types of fireworks chosen at random but I hope to add more effects. Maybe ones that aren't completely hardcoded. That'd be an interesting challenge.


"Sometimes failing a leap of faith is better than inching forward"
- ShinsukeIto

Offline

Wooted by:
Different551444063413546873

Board footer

Powered by FluxBB

[ Started around 1734558807.4193 - Generated in 0.159 seconds, 12 queries executed - Memory usage: 1.52 MiB (Peak: 1.72 MiB) ]