摘要:
;开始地址:$bff0;结束地址:$ffff;文件长度:$4010COUNTER = $00MUSIC_OFFSET1 = $01MUSIC_OFFSET2 = $02 .org $BFF0 .db "NES",$1A,$01,$01,$00,$00 .dw $00,$00,$00,$00 .start $C000 .org $C000reset: sei ; 禁用中断 cld ldx #$ff ; 初始化栈顶指针到$FF txs inx stx COUNTER stx MUSIC_OFFSET1 stx MUSIC_OFFSET2 _vb1: lda $2002 bpl 阅读全文
摘要:
程序:简易画图编写:女孩不哭, 6502汇编, 6502通用汇编器1.2.6使用方法: 上下左右:移动画笔坐标 选择 :切换命名表#0,#3(因为是水平镜像) 开始 :清空当前命名表 BB :加速移动 AA :画图, 像素切换源代码:; start:$BFF0; end: $FFFF; size: $4010 .start reset .org $BFF0 ; 文件头 .db "NES",$1A,$01,$01,$00,$00 .dw $00,$00,$00,$00 JOY_NOW = $00JOY_LAST = $01BTN_TIME = $04NT_NOW = $05 阅读全文