Kernel initializers do not work
Mentioned in #6 (closed), but seems to be unrelated (or that fix does not fix this)
the calls to copy data and zerobss cause the kernel to freeze/crash/infinite loop. Not sure.
Mentioned in #6 (closed), but seems to be unrelated (or that fix does not fix this)
the calls to copy data and zerobss cause the kernel to freeze/crash/infinite loop. Not sure.
changed milestone to %Initial Kernel
zerobss 0016C5 RLA
__BSS_RUN__ 0019E8 RLA
zerobss:
lda #<__BSS_RUN__
sta ptr1
lda #>__BSS_RUN__
sta ptr1+1
16c5: a9
16c6: 0
16c7: 85
16c8: 8
16c9: a9
16ca: 0
16cb: 85
16cc: 9
I think I see the problem here.
Even though __BSS_RUN__ is set in the linker, the actual code has the wrong value.
This is being tracked in cc65_bug#1 (closed)
Kind of fixed. https://github.com/cc65/cc65/issues/2173
closed
You closed this, but you still didn't check if copydata works
reopened
just checked, copydata works.
closed