Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- :BasicUpstart2(main)
- .var brkFile = createFile("breakpoints.txt")
- .macro break() {
- .eval brkFile.writeln("break " + toHexString(*))
- }
- .macro przeniesienie (pozycja) {
- lda #pozycja
- loop2:
- cmp $d012
- bne loop2
- ldx #$00
- laduj_kolory:
- lda kolory,x
- sta $d020
- sta $d021
- cpx #$08
- inx
- bne laduj_kolory
- }
- main:
- sei
- loop1:
- lda #$40
- loop2:
- cmp $d012
- bne loop2
- ldx #$00
- laduj_kolory:
- lda kolory,x
- sta $d020
- sta $d021
- cpx #$08
- inx
- bne laduj_kolory
- .for(var i=0;i<$80;i++) :przeniesienie($40+i)
- .for(var i=0;i<$80;i++) :przeniesienie($c0-i)
- jmp loop1
- kolory:
- .byte GREEN,GREEN,GREEN,GREEN,GREEN,GREEN,GREEN,GREEN
- .byte BLACK,BLACK,BLACK,BLACK,BLACK,BLACK,BLACK,BLACK
- .byte BLACK,BLACK,BLACK,BLACK,BLACK,BLACK,BLACK,BLACK
- .byte BLACK,BLACK,BLACK,BLACK,BLACK,BLACK,BLACK,BLACK
- .byte BLACK,BLACK,BLACK,BLACK,BLACK,BLACK,BLACK,BLACK
- .byte BLACK,BLACK,BLACK,BLACK,BLACK,BLACK,BLACK,BLACK
- .byte BLACK,BLACK,BLACK,BLACK,BLACK,BLACK,BLACK,BLACK
- .byte BLACK,BLACK,BLACK,BLACK,BLACK,BLACK,BLACK,BLACK
- .byte BLACK,BLACK,BLACK,BLACK,BLACK,BLACK,BLACK,BLACK
- .byte BLACK,BLACK,BLACK,BLACK,BLACK,BLACK,BLACK,BLACK
- .byte BLACK,BLACK,BLACK,BLACK,BLACK,BLACK,BLACK,BLACK
- .byte BLACK,BLACK,BLACK,BLACK,BLACK,BLACK,BLACK,BLACK
- .byte BLACK,BLACK,BLACK,BLACK,BLACK,BLACK,BLACK,BLACK
- .byte BLACK,BLACK,BLACK,BLACK,BLACK,BLACK,BLACK,BLACK
- .byte BLACK,BLACK,BLACK,BLACK,BLACK,BLACK,BLACK,BLACK
- .byte BLACK,BLACK,BLACK,BLACK,BLACK,BLACK,BLACK,BLACK
- .byte BLACK,BLACK,BLACK,BLACK,BLACK,BLACK,BLACK,BLACK
- .byte BLACK,BLACK,BLACK,BLACK,BLACK,BLACK,BLACK,BLACK
- .byte BLACK,BLACK,BLACK,BLACK,BLACK,BLACK,BLACK,BLACK
- .byte BLACK,BLACK,BLACK,BLACK,BLACK,BLACK,BLACK,BLACK
- .byte BLACK,BLACK,BLACK,BLACK,BLACK,BLACK,BLACK,BLACK
- .byte BLACK,BLACK,BLACK,BLACK,BLACK,BLACK,BLACK,BLACK
- .byte BLACK,BLACK,BLACK,BLACK,BLACK,BLACK,BLACK,BLACK
- .byte BLACK,BLACK,BLACK,BLACK,BLACK,BLACK,BLACK,BLACK
- .byte BLACK,BLACK,BLACK,BLACK,BLACK,BLACK,BLACK,BLACK
- .byte BLACK,BLACK,BLACK,BLACK,BLACK,BLACK,BLACK,BLACK
- .byte BLACK,BLACK,BLACK,BLACK,BLACK,BLACK,BLACK,BLACK
- .byte BLACK,BLACK,BLACK,BLACK,BLACK,BLACK,BLACK,BLACK
- .byte BLACK,BLACK,BLACK,BLACK,BLACK,BLACK,BLACK,BLACK
- .byte BLACK,BLACK,BLACK,BLACK,BLACK,BLACK,BLACK,BLACK
- .byte BLACK,BLACK,BLACK,BLACK,BLACK,BLACK,BLACK,BLACK
- .byte BLACK,BLACK,BLACK,BLACK,BLACK,BLACK,BLACK,BLACK
- .byte BLACK,BLACK,BLACK,BLACK,BLACK,BLACK,BLACK,BLACK
- .byte BLACK,BLACK,BLACK,BLACK,BLACK,BLACK,BLACK,BLACK
- .byte BLACK,BLACK,BLACK,BLACK,BLACK,BLACK,BLACK,BLACK
- .byte BLACK,BLACK,BLACK,BLACK,BLACK,BLACK,BLACK,BLACK
- .byte BLACK,BLACK,BLACK,BLACK,BLACK,BLACK,BLACK,BLACK
- .byte BLACK,BLACK,BLACK,BLACK,BLACK,BLACK,BLACK,BLACK
- .byte BLACK,BLACK,BLACK,BLACK,BLACK,BLACK,BLACK,BLACK
- .byte BLACK,BLACK,BLACK,BLACK,BLACK,BLACK,BLACK,BLACK
- .byte BLACK,BLACK,BLACK,BLACK,BLACK,BLACK,BLACK,BLACK
- .byte BLACK,BLACK,BLACK,BLACK,BLACK,BLACK,BLACK,BLACK
- .byte BLACK,BLACK,BLACK,BLACK,BLACK,BLACK,BLACK,BLACK
- .byte BLACK,BLACK,BLACK,BLACK,BLACK,BLACK,BLACK,BLACK
- .byte BLACK,BLACK,BLACK,BLACK,BLACK,BLACK,BLACK,BLACK
- .byte BLACK,BLACK,BLACK,BLACK,BLACK,BLACK,BLACK,BLACK
- .byte BLACK,BLACK,BLACK,BLACK,BLACK,BLACK,BLACK,BLACK
- .byte BLACK,BLACK,BLACK,BLACK,BLACK,BLACK,BLACK,BLACK
- .byte BLACK,BLACK,BLACK,BLACK,BLACK,BLACK,BLACK,BLACK
- .byte BLACK,BLACK,BLACK,BLACK,BLACK,BLACK,BLACK,BLACK
- .byte BLACK,BLACK,BLACK,BLACK,BLACK,BLACK,BLACK,BLACK
- .byte BLACK,BLACK,BLACK,BLACK,BLACK,BLACK,BLACK,BLACK
- .byte BLACK,BLACK,BLACK,BLACK,BLACK,BLACK,BLACK,BLACK
- .byte BLACK,BLACK,BLACK,BLACK,BLACK,BLACK,BLACK,BLACK
- .byte BLACK,BLACK,BLACK,BLACK,BLACK,BLACK,BLACK,BLACK
- .byte BLACK,BLACK,BLACK,BLACK,BLACK,BLACK,BLACK,BLACK
- .byte BLACK,BLACK,BLACK,BLACK,BLACK,BLACK,BLACK,BLACK
- .byte BLACK,BLACK,BLACK,BLACK,BLACK,BLACK,BLACK,BLACK
- .byte BLACK,BLACK,BLACK,BLACK,BLACK,BLACK,BLACK,BLACK
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement