From c8e1d7e0d275376d4d0a2165a30eb09b75e0a034 Mon Sep 17 00:00:00 2001 From: "ol.sc" Date: Fri, 11 Sep 2009 19:35:13 +0000 Subject: [PATCH] Adjusted Apple2 targets to the new standard mouse driver paradigm. git-svn-id: svn://svn.cc65.org/cc65/trunk@4154 b7a2c559-68d2-44c3-8de9-860c34a00d81 --- libsrc/apple2/Makefile | 1 + libsrc/apple2/mouse_stddrv.s | 18 ++++++++++++++++++ libsrc/apple2enh/Makefile | 1 + 3 files changed, 20 insertions(+) create mode 100644 libsrc/apple2/mouse_stddrv.s diff --git a/libsrc/apple2/Makefile b/libsrc/apple2/Makefile index 70ab08df1..2a067e21a 100644 --- a/libsrc/apple2/Makefile +++ b/libsrc/apple2/Makefile @@ -84,6 +84,7 @@ S_OBJS= _scrsize.o \ mainargs.o \ mcbdefault.o \ mli.o \ + mouse_stddrv.o \ open.o \ oserrlist.o \ oserror.o \ diff --git a/libsrc/apple2/mouse_stddrv.s b/libsrc/apple2/mouse_stddrv.s new file mode 100644 index 000000000..a58767e0d --- /dev/null +++ b/libsrc/apple2/mouse_stddrv.s @@ -0,0 +1,18 @@ +; +; Name of the standard mouse driver +; +; Ullrich von Bassewitz, 2009-09-11 +; +; const char mouse_stddrv[]; +; + + .export _mouse_stddrv + +.rodata + +_mouse_stddrv: + .ifdef __APPLE2ENH__ + .asciiz "A2E.STDMOU.MOU" + .else + .asciiz "A2.STDMOU.MOU" + .endif diff --git a/libsrc/apple2enh/Makefile b/libsrc/apple2enh/Makefile index 88e88c6b7..deb046d87 100644 --- a/libsrc/apple2enh/Makefile +++ b/libsrc/apple2enh/Makefile @@ -84,6 +84,7 @@ S_OBJS= _scrsize.o \ mainargs.o \ mcbdefault.o \ mli.o \ + mouse_stddrv.o \ open.o \ oserrlist.o \ oserror.o \ -- 2.39.5