mirror of
https://github.com/cc65/cc65.git
synced 2024-12-24 11:31:31 +00:00
We now don't define the memory area RAM anymore. So use the segment STARTUP - as done in crt0.s.
git-svn-id: svn://svn.cc65.org/cc65/trunk@5729 b7a2c559-68d2-44c3-8de9-860c34a00d81
This commit is contained in:
parent
f6ab932b32
commit
dccb0c8dde
@ -7,7 +7,7 @@
|
|||||||
|
|
||||||
.constructor initiobuf
|
.constructor initiobuf
|
||||||
.export iobuf_alloc, iobuf_free
|
.export iobuf_alloc, iobuf_free
|
||||||
.import __RAM_START__
|
.import __STARTUP_RUN__
|
||||||
.import incsp2, popax
|
.import incsp2, popax
|
||||||
|
|
||||||
.include "zeropage.inc"
|
.include "zeropage.inc"
|
||||||
@ -18,7 +18,7 @@
|
|||||||
|
|
||||||
initiobuf:
|
initiobuf:
|
||||||
; Convert end address highbyte to table index
|
; Convert end address highbyte to table index
|
||||||
lda #>__RAM_START__
|
lda #>__STARTUP_RUN__
|
||||||
sec
|
sec
|
||||||
sbc #>$0800
|
sbc #>$0800
|
||||||
lsr
|
lsr
|
||||||
|
Loading…
Reference in New Issue
Block a user