From: Oliver Schmidt Date: Wed, 31 Jan 2018 14:06:37 +0000 (+0100) Subject: Adjust alternative ProDOS 8 I/O buffer allocation module to linker configs. X-Git-Tag: V2.17~38 X-Git-Url: https://git.sur5r.net/?a=commitdiff_plain;h=19ed94fe25fb834bb002ece6a0201173fc709027;p=cc65 Adjust alternative ProDOS 8 I/O buffer allocation module to linker configs. The Apple II linker configs don't define symbols for the STARTP segment anymore. There refer to the load/start address in the same way the executable file header does. --- diff --git a/libsrc/apple2/extra/iobuf-0800.s b/libsrc/apple2/extra/iobuf-0800.s index 0ad7a751f..7ed832ed3 100644 --- a/libsrc/apple2/extra/iobuf-0800.s +++ b/libsrc/apple2/extra/iobuf-0800.s @@ -7,7 +7,7 @@ .constructor initiobuf .export iobuf_alloc, iobuf_free - .import __STARTUP_RUN__ + .import __MAIN_START__ .import incsp2, popax .include "zeropage.inc" @@ -18,7 +18,7 @@ initiobuf: ; Convert end address highbyte to table index - lda #>__STARTUP_RUN__ + lda #>__MAIN_START__ sec sbc #>$0800 lsr