Re: Trying to figure out tho WDC C compiler
Posted: Thu Mar 14, 2019 11:55 pm
Which is exactly what I'm doing now, but it would be nice if they told you that, maybe along with a #define you can do to enable monitor-outputting versions.
The 6502 Microprocessor Resource
http://forum.6502.org/
Code: Select all
#define getchar uart3_getchar
#define putchar uart3_putchar
#define puts uart3_puts
Code: Select all
Microsoft (R) Program Maintenance Utility Version 1.50
Copyright (c) Microsoft Corp 1988-94. All rights reserved.
wdc816as -G -LW boot.asm
WDC 65C816 Assembler Version 3.49.1 Feb 6 2006 17:24:51
Copyright (C) 1992-2006 by The Western Design Center, Inc.
wdc816as -G -LW setjmp.asm
WDC 65C816 Assembler Version 3.49.1 Feb 6 2006 17:24:51
Copyright (C) 1992-2006 by The Western Design Center, Inc.
wdc816cc -BS -LW -SOP -MC -MK -MT -MU -MV -SS -PE -DUSING_816 basic.c
WDC 65816 C Version 3.49 Jan 19 2006 14:38:08
Copyright (C) 1992-2006 by The Western Design Center, Inc.
WDC 65C816 Optimizer Version 3.49.1 Feb 6 2006 13:38:41
Copyright (C) 1992-2006 by The Western Design Center, Inc.
wdc816cc -BS -LW -SOP -MC -MK -MT -MU -MV -SS -PE -DUSING_816 w65c265.c
WDC 65816 C Version 3.49 Jan 19 2006 14:38:08
Copyright (C) 1992-2006 by The Western Design Center, Inc.
WDC 65C816 Optimizer Version 3.49.1 Feb 6 2006 13:38:41
Copyright (C) 1992-2006 by The Western Design Center, Inc.
wdcln -G -HM28 -T -CC00000 -DC10000 -Obasic.s28 boot.obj setjmp.obj basic.obj w65c265.obj -LMC -LCC
WDC 65C816 Linker Version 3.49.1 Apr 24 2006 15:40:38
Copyright (C) 1992-2006 The Western Design Center, Inc.
Section: ORG: ROM ORG: SIZE:
CODE C00000 C00000 23DAH ( 9178)
KDATA C023DA C023DA D8H ( 216)
DATA C10000 C10000 2H ( 2)
UDATA C10002 ------ 19DH ( 413)
boot 00FF00 00FF00 100H ( 256)
Total 2751H ( 10065)