32 lines
506 B
NASM
32 lines
506 B
NASM
; FINAL = ""
|
|
|
|
.inesprg 2 ; 2 banks
|
|
.ineschr 1 ;
|
|
.inesmap 0 ; mapper 0 = NROM
|
|
.inesmir 0 ; background mirroring, horizontal
|
|
|
|
.org $8000
|
|
RESET:
|
|
lda #$aa
|
|
sta $0000
|
|
ldx $0000
|
|
ldy $0000
|
|
stx $0001
|
|
sty $0002
|
|
hlt
|
|
ERROR_:
|
|
hlt
|
|
|
|
IGNORE:
|
|
rti
|
|
|
|
.org $FFFA ; Interrupt vectors go here:
|
|
.word IGNORE ; NMI
|
|
.word RESET ; Reset
|
|
.word IGNORE; IRQ
|
|
|
|
;;;; NESASM COMPILER STUFF, ADDING THE PATTERN DATA ;;;;
|
|
|
|
.incbin "Sprites.pcx"
|
|
.incbin "Tiles.pcx"
|