Try it out now at https://jmeow.net/6502/designer ! Also, every week I'll be posting a new Program of the Week, so stay tuned for those! Here's this week's program (try copying and pasting it into Designer, then open the menu and click run): ;6502 - DrawSprite.asm ;only draws a 1x8 sprite but still epicc ;also the sprite is mirrored LDA #%01101100 ;this is the "sprite". Try changing it LDX #$00 STA $00 loop: ;bit masking and addressing screen LDA $00 AND #%00000001 STA $0200, X ;offset so that we address a new screen pixel every time ;shifting bits and storing changes LDA $00 LSR A ;shifting makes sure that the pixel bit is always in pos. 7 STA $00 INX CPX #$08 ;8 because our sprite is 8 pixels wide BNE loop BRK ;ends the program
Thanks to Jmeow, aka @purr2011. If you're lost and don't know anything about 6502, go here: skilldrick.github.io/easy6502 . Very helpful! Once you have a better grasp, try using 6502 Editor, which guides you through the creation of each opcode.