# HG changeset patch # User Shinji KONO # Date 1545909394 -32400 # Node ID 84430575206401ab0dfd6abb4b93462ea8fc3143 # Parent 09148bb27659c67859edf8a8ecd16d0707b22e4b no compile errors on mc09 diff -r 09148bb27659 -r 844305752064 os9/mc09/crtos9.asm --- a/os9/mc09/crtos9.asm Thu Dec 27 16:03:36 2018 +0900 +++ b/os9/mc09/crtos9.asm Thu Dec 27 20:16:34 2018 +0900 @@ -9,6 +9,15 @@ * * micro-C user program * +_tylg set Prgrm+Objct +_atrv set ReEnt+rev +_rev set $00 +_edition set 5 + ifp1 + use defsfile + endc + + * OPT LIST INCLUDE "c.out" include compilers output * OPT NOL diff -r 09148bb27659 -r 844305752064 os9/mc09/makefile --- a/os9/mc09/makefile Thu Dec 27 16:03:36 2018 +0900 +++ b/os9/mc09/makefile Thu Dec 27 20:16:34 2018 +0900 @@ -36,6 +36,10 @@ mc2.c: patch fd < 0 ) return NULL; @@ -237,10 +232,10 @@ clr ,s ldy #1 os9 I$Read - bcc _LC0003 + bcc _LC0005 ldd #-1 std ,s -_LC0003 +_LC0005 puls d,x,y,u #endasm } diff -r 09148bb27659 -r 844305752064 src/a09.c --- a/src/a09.c Thu Dec 27 16:03:36 2018 +0900 +++ b/src/a09.c Thu Dec 27 20:16:34 2018 +0900 @@ -53,7 +53,7 @@ #include #include -#define NLABELS 2048 +#define NLABELS (2048*2) #define MAXIDLEN 16 #define MAXLISTBYTES 8 #define FNLEN 30