Fixed a small coding sloopyness that broke the NES startup code when
adding more segments to the library and linker config. git-svn-id: svn://svn.cc65.org/cc65/trunk@3670 b7a2c559-68d2-44c3-8de9-860c34a00d81
This commit is contained in:
@@ -98,9 +98,9 @@ start:
|
|||||||
|
|
||||||
; Copy the .data segment to RAM
|
; Copy the .data segment to RAM
|
||||||
|
|
||||||
lda #<(__ROM0_START__ + __STARTUP_SIZE__+ __CODE_SIZE__+ __RODATA_SIZE__)
|
lda #<(__DATA_LOAD__)
|
||||||
sta ptr1
|
sta ptr1
|
||||||
lda #>(__ROM0_START__ + __STARTUP_SIZE__+ __CODE_SIZE__+ __RODATA_SIZE__)
|
lda #>(__DATA_LOAD__)
|
||||||
sta ptr1+1
|
sta ptr1+1
|
||||||
lda #<(__DATA_RUN__)
|
lda #<(__DATA_RUN__)
|
||||||
sta ptr2
|
sta ptr2
|
||||||
|
|||||||
Reference in New Issue
Block a user