1
0
mirror of https://github.com/cc65/cc65.git synced 2024-12-23 19:29:37 +00:00

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:
cuz 2005-11-23 04:41:04 +00:00
parent d2d599e345
commit 2ef14e3ae8

View File

@ -98,9 +98,9 @@ start:
; Copy the .data segment to RAM
lda #<(__ROM0_START__ + __STARTUP_SIZE__+ __CODE_SIZE__+ __RODATA_SIZE__)
lda #<(__DATA_LOAD__)
sta ptr1
lda #>(__ROM0_START__ + __STARTUP_SIZE__+ __CODE_SIZE__+ __RODATA_SIZE__)
lda #>(__DATA_LOAD__)
sta ptr1+1
lda #<(__DATA_RUN__)
sta ptr2