6809 now uses its own stdint.h, not 6502's.
authorAndy Valencia <ajv-899-334-8894@vsta.org>
Fri, 15 Jul 2016 20:10:39 +0000 (13:10 -0700)
committerAndy Valencia <ajv-899-334-8894@vsta.org>
Fri, 15 Jul 2016 20:10:39 +0000 (13:10 -0700)
Add a few build bits to be gitignore'ed.

13 files changed:
Applications/MWC/cmd/Makefile.6809
Applications/V7/cmd/Makefile.6809
Applications/V7/cmd/sh/Makefile.6809
Applications/V7/games/Makefile.6809
Applications/cave/Makefile.6809
Applications/dw/Makefile.6809
Applications/games/Makefile.6809
Applications/levee/Makefile.6809
Applications/util/Makefile.6809
Kernel/platform-coco3/.gitignore [new file with mode: 0644]
Library/include/6809/stdint.h [new file with mode: 0644]
Library/libs/.gitignore
Library/libs/Makefile.6809

index 8ac92fc..8daceb0 100644 (file)
@@ -4,7 +4,7 @@ CC = m6809-unknown-gcc
 ASM = m6809-unknown-as
 AR = m6809-unknown-ar
 LINKER = lwlink
-CFLAGS = -I../../../Library/include -I../../../Library/include/6502 -Wall -pedantic
+CFLAGS = -I../../../Library/include -I../../../Library/include/6809 -Wall -pedantic
 LINKER_OPT = --format=raw -L../../../Library/libs -lc6809
 LIBGCCDIR = $(dir $(shell $(CC) -print-libgcc-file-name))
 LINKER_OPT += -L$(LIBGCCDIR) -lgcc
index 135175a..a65d3ce 100644 (file)
@@ -4,7 +4,7 @@ CC = m6809-unknown-gcc
 ASM = m6809-unknown-as
 AR = m6809-unknown-ar
 LINKER = lwlink
-CFLAGS = -I../../../Library/include -I../../../Library/include/6502
+CFLAGS = -I../../../Library/include -I../../../Library/include/6809
 LINKER_OPT = --format=raw -L../../../Library/libs -lc6809
 LIBGCCDIR = $(dir $(shell $(CC) -print-libgcc-file-name))
 LINKER_OPT += -L$(LIBGCCDIR) -lgcc
index 37d2e48..620c371 100644 (file)
@@ -4,7 +4,7 @@ CC = m6809-unknown-gcc
 ASM = m6809-unknown-as
 AR = m6809-unknown-ar
 LINKER = lwlink
-CFLAGS =  -I../../../../Library/include -I../../../../Library/include/6502 -Wall -pedantic -fno-strict-aliasing
+CFLAGS =  -I../../../../Library/include -I../../../../Library/include/6809 -Wall -pedantic -fno-strict-aliasing
 COPT = -Os
 LINKER_OPT = --format=raw -L../../../../Library/libs -lc6809
 LIBGCCDIR = $(dir $(shell $(CC) -print-libgcc-file-name))
index e61bb9e..d48d43f 100644 (file)
@@ -4,7 +4,7 @@ CC = m6809-unknown-gcc
 ASM = m6809-unknown-as
 AR = m6809-unknown-ar
 LINKER = lwlink
-CFLAGS = -I../../../Library/include -I../../../Library/include/6502
+CFLAGS = -I../../../Library/include -I../../../Library/include/6809
 LINKER_OPT = --format=raw -L../../../Library/libs -lc6809
 LIBGCCDIR = $(dir $(shell $(CC) -print-libgcc-file-name))
 LINKER_OPT += -L$(LIBGCCDIR) -lgcc
index 26d18f1..925fb8e 100644 (file)
@@ -6,7 +6,7 @@ CCOPTS = -O0
 ASM = m6809-unknown-as
 AR = m6809-unknown-ar
 LINKER = lwlink
-CFLAGS = -I../../Library/include -I../../Library/include/6502
+CFLAGS = -I../../Library/include -I../../Library/include/6809
 LINKER_OPT = --format=raw -L../../Library/libs -lc6809
 LIBGCCDIR = $(dir $(shell $(CC) -print-libgcc-file-name))
 LINKER_OPT += -L$(LIBGCCDIR) -lgcc
index 2de2cb0..4745f39 100644 (file)
@@ -4,7 +4,7 @@ CC = m6809-unknown-gcc
 ASM = m6809-unknown-as
 AR = m6809-unknown-ar
 LINKER = lwlink
-CFLAGS = -I../../Library/include -I../../Library/include/6502
+CFLAGS = -I../../Library/include -I../../Library/include/6809
 LINKER_OPT = --format=raw -L../../Library/libs -lc6809
 LIBGCCDIR = $(dir $(shell $(CC) -print-libgcc-file-name))
 LINKER_OPT += -L$(LIBGCCDIR) -lgcc
index 294c799..efa35ae 100644 (file)
@@ -4,7 +4,7 @@ CC = m6809-unknown-gcc
 ASM = m6809-unknown-as
 AR = m6809-unknown-ar
 LINKER = lwlink
-CFLAGS = -I../../Library/include -I../../Library/include/6502
+CFLAGS = -I../../Library/include -I../../Library/include/6809
 LINKER_OPT = --format=raw -L../../Library/libs -lc6809
 LIBGCCDIR = $(dir $(shell $(CC) -print-libgcc-file-name))
 LINKER_OPT += -L$(LIBGCCDIR) -lgcc
index 0c05f62..be46ff8 100644 (file)
@@ -4,7 +4,7 @@ CC = m6809-unknown-gcc
 ASM = m6809-unknown-as
 AR = m6809-unknown-ar
 LINKER = lwlink
-CFLAGS = -I../../Library/include -I../../Library/include/6502
+CFLAGS = -I../../Library/include -I../../Library/include/6809
 COPT = -Os -fomit-frame-pointer
 LINKER_OPT = --format=raw -L../../Library/libs -lc6809
 LIBGCCDIR = $(dir $(shell $(CC) -print-libgcc-file-name))
index cd9ec41..c25a121 100644 (file)
@@ -4,7 +4,7 @@ CC = m6809-unknown-gcc
 ASM = m6809-unknown-as
 AR = m6809-unknown-ar
 LINKER = lwlink
-CFLAGS = -I../../Library/include -I../../Library/include/6502
+CFLAGS = -I../../Library/include -I../../Library/include/6809
 LINKER_OPT = --format=raw -L../../Library/libs -lc6809
 LIBGCCDIR = $(dir $(shell $(CC) -print-libgcc-file-name))
 LINKER_OPT += -L$(LIBGCCDIR) -lgcc
diff --git a/Kernel/platform-coco3/.gitignore b/Kernel/platform-coco3/.gitignore
new file mode 100644 (file)
index 0000000..127859b
--- /dev/null
@@ -0,0 +1,3 @@
+boot.bin
+boot.list
+fuzix.dsk
diff --git a/Library/include/6809/stdint.h b/Library/include/6809/stdint.h
new file mode 100644 (file)
index 0000000..cd86d21
--- /dev/null
@@ -0,0 +1,19 @@
+#ifndef __STDINT_H
+#define __STDINT_H
+
+/* C types */
+typedef unsigned long uint32_t;
+typedef signed long int32_t;
+typedef unsigned short uint16_t;
+typedef signed short int16_t;
+typedef unsigned char uint8_t;
+typedef signed char int8_t;
+
+/* C99 */
+typedef int16_t intptr_t;
+typedef uint16_t uintptr_t;
+
+#define __SIZE_T_DEFINED
+#define NO_64BIT
+
+#endif
index 209e594..dbdcbbd 100644 (file)
@@ -3,3 +3,6 @@ liberror.txt
 syscall.l
 syslib.l
 syslib*.lib
+curses*.lib
+m6809.lib
+termcap*.lib
index 95e51ed..bb8c30a 100644 (file)
@@ -3,7 +3,7 @@ ASM = m6809-unknown-as
 AR = m6809-unknown-ar
 PLATFORM = 6809
 export PLATFORM
-CC_OPT = -c -Os -I../include -I../include/6502
+CC_OPT = -c -Os -I../include -I../include/6809
 # for stuff that gives gcc nightmares
 CC_NOOPT = $(CC_OPT)
 ASM_OPT = -o