Schermo pazzo :D
; SCHERMO PAZZO V 1.0* = 2049chrout = $ffd2off = $ecf0row = $02.byte $0d,$08,$0a,$00,$9e.text "2061".byte $00,$00,$00seijsr matrjsr printlda #0sta $3ffflda #sta $0314lda #>irqsta $0315clirtsmatrlda 648ldy #0sta pag,y inycpy #7bne *-6taxinxtxasta pag,y inycpy #13bne *-6taxinxtxasta pag,y inycpy #20bne *-6taxinxtxasta pag,y inycpy #26bne *-6lda pagsta mv4+4sta cp+5lda pag+25sta mv3+4sta cg+5rtsprintldx #$ffinxlda message,xcmp #$2ebeq *+8jsr chroutjmp *-11rtsRESET jmp $fce2irq lda $dc01 bpl RESET cmp #247 bne *+5 jsr rig cmp #251 bne *+5 jsr lef cmp #253 bne *+5 jsr dwn cmp #254 bne *+5 jsr up jmp $ea81 lef lda $d016 cmp #201 bne *+15 lda #0 sta row jsr mv1 ldx #200 stx $d016 inc $d016 rtsrig lda $d016 cmp #200 bne *+15 lda #0 sta row jsr mv2 ldx #201 stx $d016 dec $d016 rts up jsr rst lda $d011 cmp #28 bne *+12 ldy #23 jsr mv3 ldx #27 stx $d011 inc $d011 rtsdwn jsr rst lda $d011 cmp #26 bne *+12 ldy #0 jsr mv4 ldx #27 stx $d011 dec $d011 rtsmv1 ldy row cpy #25 beq ex1 lda off,y sta f1+1 sta p1+1 sta t1+1 inc t1+1 adc #$27 sta l1+1 lda pag,y sta f1+2 sta t1+2 sta p1+2 lda pag+1,y sta l1+2 ldx #38l1 ldy $0427f1 lda $0400,xt1 sta $0401,x dex bpl *-7p1 sty $0400 inc row jmp mv1ex1 rtsmv2 ldy row cpy #25 beq ex1 lda off,y sta p2+1 sta t2+1 sta f2+1 inc f2+1 adc #$27 sta l2+1 lda pag,y sta f2+2 sta t2+2 sta p2+2 lda pag+1,y sta l2+2 ldx #0p2 ldy $0400f2 lda $0401,xt2 sta $0400,x inx cpx #39 bne *-9l2 sty $0427 inc row jmp mv2 rtsmv3 ldx #0 lda $07c0,x sta sav,x inx cpx #40 bne *-9tl ldx #0 lda off,y sta f3+1 lda off+1,y sta t3+1 lda pag,y sta f3+2 lda pag+1,y sta t3+2 f3 lda $0798,xt3 sta $07c0,x inx cpx #40 bne f3 dey bpl tl ldx #0cp lda sav,x sta $0400,x inx cpx #40 bne cp rtsmv4 ldx #0 lda $0400,x sta sav,x inx cpx #40 bne *-9tg ldx #0 lda off+1,y sta f4+1 lda off,y sta t4+1 lda pag+1,y sta f4+2 lda pag,y sta t4+2 f4 lda $0428,xt4 sta $0400,x inx cpx #40 bne f4 iny cpy #24 bne tg ldx #0cg lda sav,x sta $07c0,x inx cpx #40 bne cg rts rst lda #250 cmp $d012 bne *-3 rtsmessage .text "MUOVI IL JOY 1 - [RUN-STOP] TERMINA."endmessage pag .byte $04,$04,$04,$04,$04.byte $04,$04,$05,$05,$05.byte $05,$05,$05,$06,$06.byte $06,$06,$06,$06,$06.byte $07,$07,$07,$07,$07,$07sav