From dbc66c247a018b27e7de274972f71941080fe295 Mon Sep 17 00:00:00 2001
From: "ol.sc"
Date: Thu, 1 Nov 2012 15:58:27 +0000
Subject: [PATCH] Added missing standard driver definitions.
git-svn-id: svn://svn.cc65.org/cc65/trunk@5890 b7a2c559-68d2-44c3-8de9-860c34a00d81
---
libsrc/atmos/Makefile | 2 ++
libsrc/atmos/joy_stddrv.s | 13 +++++++++++++
libsrc/atmos/tgi_stddrv.s | 13 +++++++++++++
libsrc/cbm510/Makefile | 1 +
libsrc/cbm510/joy_stddrv.s | 13 +++++++++++++
libsrc/lynx/Makefile | 2 ++
libsrc/lynx/joy_stddrv.s | 13 +++++++++++++
libsrc/lynx/tgi_stddrv.s | 13 +++++++++++++
libsrc/nes/Makefile | 2 ++
libsrc/nes/joy_stddrv.s | 13 +++++++++++++
libsrc/nes/tgi_stddrv.s | 13 +++++++++++++
libsrc/pet/Makefile | 1 +
12 files changed, 99 insertions(+)
create mode 100644 libsrc/atmos/joy_stddrv.s
create mode 100644 libsrc/atmos/tgi_stddrv.s
create mode 100644 libsrc/cbm510/joy_stddrv.s
create mode 100644 libsrc/lynx/joy_stddrv.s
create mode 100644 libsrc/lynx/tgi_stddrv.s
create mode 100644 libsrc/nes/joy_stddrv.s
create mode 100644 libsrc/nes/tgi_stddrv.s
diff --git a/libsrc/atmos/Makefile b/libsrc/atmos/Makefile
index 91deda3a3..c9d2e76f6 100644
--- a/libsrc/atmos/Makefile
+++ b/libsrc/atmos/Makefile
@@ -81,6 +81,7 @@ OBJS = _scrsize.o \
gotox.o \
gotoxy.o \
gotoy.o \
+ joy_stddrv.o \
kbhit.o \
mainargs.o \
oserrlist.o \
@@ -90,6 +91,7 @@ OBJS = _scrsize.o \
systime.o \
sysuname.o \
tgi_colors.o \
+ tgi_stddrv.o \
wherex.o \
wherey.o \
write.o \
diff --git a/libsrc/atmos/joy_stddrv.s b/libsrc/atmos/joy_stddrv.s
new file mode 100644
index 000000000..77c9e0ea9
--- /dev/null
+++ b/libsrc/atmos/joy_stddrv.s
@@ -0,0 +1,13 @@
+;
+; Name of the standard joystick driver
+;
+; Oliver Schmidt, 2012-11-01
+;
+; const char joy_stddrv[];
+;
+
+ .export _joy_stddrv
+
+.rodata
+
+_joy_stddrv: .asciiz "atmos-pase.joy"
diff --git a/libsrc/atmos/tgi_stddrv.s b/libsrc/atmos/tgi_stddrv.s
new file mode 100644
index 000000000..905380bcd
--- /dev/null
+++ b/libsrc/atmos/tgi_stddrv.s
@@ -0,0 +1,13 @@
+;
+; Name of the standard tgi driver
+;
+; Oliver Schmidt, 2012-11-01
+;
+; const char tgi_stddrv[];
+;
+
+ .export _tgi_stddrv
+
+.rodata
+
+_tgi_stddrv: .asciiz "atmos-240-200-2.tgi"
diff --git a/libsrc/cbm510/Makefile b/libsrc/cbm510/Makefile
index bd77258da..2c497322e 100644
--- a/libsrc/cbm510/Makefile
+++ b/libsrc/cbm510/Makefile
@@ -68,6 +68,7 @@ OBJS = _scrsize.o \
crt0.o \
devnum.o \
extzp.o \
+ joy_stddrv.o \
kbhit.o \
kclose.o \
kernal.o \
diff --git a/libsrc/cbm510/joy_stddrv.s b/libsrc/cbm510/joy_stddrv.s
new file mode 100644
index 000000000..dc7d30f42
--- /dev/null
+++ b/libsrc/cbm510/joy_stddrv.s
@@ -0,0 +1,13 @@
+;
+; Name of the standard joystick driver
+;
+; Oliver Schmidt, 2012-11-01
+;
+; const char joy_stddrv[];
+;
+
+ .export _joy_stddrv
+
+.rodata
+
+_joy_stddrv: .asciiz "cbm510-std.joy"
diff --git a/libsrc/lynx/Makefile b/libsrc/lynx/Makefile
index 290bd58e3..96ec92c04 100644
--- a/libsrc/lynx/Makefile
+++ b/libsrc/lynx/Makefile
@@ -79,6 +79,7 @@ OBJS = bllhdr.o \
exec.o \
exehdr.o \
extzp.o \
+ joy_stddrv.o \
kbhit.o \
load.o \
lseek.o \
@@ -89,6 +90,7 @@ OBJS = bllhdr.o \
read.o \
sysuname.o \
tgi_colors.o \
+ tgi_stddrv.o \
toascii.o \
uploader.o \
$(EMDS:.emd=-emd.o) \
diff --git a/libsrc/lynx/joy_stddrv.s b/libsrc/lynx/joy_stddrv.s
new file mode 100644
index 000000000..eadc44d01
--- /dev/null
+++ b/libsrc/lynx/joy_stddrv.s
@@ -0,0 +1,13 @@
+;
+; Name of the standard joystick driver
+;
+; Oliver Schmidt, 2012-11-01
+;
+; const char joy_stddrv[];
+;
+
+ .export _joy_stddrv
+
+.rodata
+
+_joy_stddrv: .asciiz "lynx-stdjoy.joy"
diff --git a/libsrc/lynx/tgi_stddrv.s b/libsrc/lynx/tgi_stddrv.s
new file mode 100644
index 000000000..a410e033e
--- /dev/null
+++ b/libsrc/lynx/tgi_stddrv.s
@@ -0,0 +1,13 @@
+;
+; Name of the standard tgi driver
+;
+; Oliver Schmidt, 2012-11-01
+;
+; const char tgi_stddrv[];
+;
+
+ .export _tgi_stddrv
+
+.rodata
+
+_tgi_stddrv: .asciiz "lynx-160-102-16.tgi"
diff --git a/libsrc/nes/Makefile b/libsrc/nes/Makefile
index 6e3f98d2f..d1e2350fe 100644
--- a/libsrc/nes/Makefile
+++ b/libsrc/nes/Makefile
@@ -79,6 +79,7 @@ OBJS = _scrsize.o \
gotox.o \
gotoxy.o \
gotoy.o \
+ joy_stddrv.o \
mainargs.o \
ppu.o \
ppubuf.o \
@@ -87,6 +88,7 @@ OBJS = _scrsize.o \
setcursor.o \
sysuname.o \
tgi_colors.o \
+ tgi_stddrv.o \
waitvblank.o \
wherex.o \
wherey.o \
diff --git a/libsrc/nes/joy_stddrv.s b/libsrc/nes/joy_stddrv.s
new file mode 100644
index 000000000..4f820aa0a
--- /dev/null
+++ b/libsrc/nes/joy_stddrv.s
@@ -0,0 +1,13 @@
+;
+; Name of the standard joystick driver
+;
+; Oliver Schmidt, 2012-11-01
+;
+; const char joy_stddrv[];
+;
+
+ .export _joy_stddrv
+
+.rodata
+
+_joy_stddrv: .asciiz "nes-stdjoy.joy"
diff --git a/libsrc/nes/tgi_stddrv.s b/libsrc/nes/tgi_stddrv.s
new file mode 100644
index 000000000..25f00f803
--- /dev/null
+++ b/libsrc/nes/tgi_stddrv.s
@@ -0,0 +1,13 @@
+;
+; Name of the standard tgi driver
+;
+; Oliver Schmidt, 2012-11-01
+;
+; const char tgi_stddrv[];
+;
+
+ .export _tgi_stddrv
+
+.rodata
+
+_tgi_stddrv: .asciiz "nes-64-56-2.tgi"
diff --git a/libsrc/pet/Makefile b/libsrc/pet/Makefile
index 56e699c0b..7835b1fec 100644
--- a/libsrc/pet/Makefile
+++ b/libsrc/pet/Makefile
@@ -62,6 +62,7 @@ OBJS = _scrsize.o \
crt0.o \
devnum.o \
get_tv.o \
+ joy_stddrv.o \
kbhit.o \
kbsout.o \
kchkin.o \
--
2.39.5