Merge pull request #361 from marshallward/master
NES memory map amend (16k prg, 8k chr default)
This commit is contained in:
commit
5878155b68
2 changed files with 2 additions and 8 deletions
|
@ -12,10 +12,10 @@ MEMORY {
|
||||||
# - code
|
# - code
|
||||||
# - rodata
|
# - rodata
|
||||||
# - data (load)
|
# - data (load)
|
||||||
ROM0: file = %O, start = $8000, size = $7FF4, fill = yes, define = yes;
|
ROM0: file = %O, start = $8000, size = $7FFA, fill = yes, define = yes;
|
||||||
|
|
||||||
# Hardware Vectors at End of 2nd 8K ROM
|
# Hardware Vectors at End of 2nd 8K ROM
|
||||||
ROMV: file = %O, start = $FFF6, size = $000C, fill = yes;
|
ROMV: file = %O, start = $FFFA, size = $0006, fill = yes;
|
||||||
|
|
||||||
# 1 8k CHR Bank
|
# 1 8k CHR Bank
|
||||||
ROM2: file = %O, start = $0000, size = $2000, fill = yes;
|
ROM2: file = %O, start = $0000, size = $2000, fill = yes;
|
||||||
|
|
|
@ -159,9 +159,6 @@ nmi: pha
|
||||||
|
|
||||||
; Interrupt exit
|
; Interrupt exit
|
||||||
|
|
||||||
irq2:
|
|
||||||
irq1:
|
|
||||||
timerirq:
|
|
||||||
irq:
|
irq:
|
||||||
rti
|
rti
|
||||||
|
|
||||||
|
@ -171,9 +168,6 @@ irq:
|
||||||
|
|
||||||
.segment "VECTORS"
|
.segment "VECTORS"
|
||||||
|
|
||||||
.word irq2 ; $fff4 ?
|
|
||||||
.word irq1 ; $fff6 ?
|
|
||||||
.word timerirq ; $fff8 ?
|
|
||||||
.word nmi ; $fffa vblank nmi
|
.word nmi ; $fffa vblank nmi
|
||||||
.word start ; $fffc reset
|
.word start ; $fffc reset
|
||||||
.word irq ; $fffe irq / brk
|
.word irq ; $fffe irq / brk
|
||||||
|
|
Loading…
Add table
Reference in a new issue