Add testcode/lib/mouse-test.c. Rename samples/mousetest.c to mousedemo.c.

mouse-test.c can be use to test all available mouse drivers for a given target.
Currently supported targets are Atari, C64, and C128.
To avoid confusion, rename samples/mousetest.c to mousedemo.c.
This commit is contained in:
Christian Groessler
2017-02-13 22:43:26 +01:00
parent 287c5d6cd3
commit ccdbb2b0e6
4 changed files with 441 additions and 10 deletions

View File

@@ -66,8 +66,8 @@ LDFLAGS_mandelbrot_apple2enh = --start-addr 0x4000
LDFLAGS_tgidemo_apple2 = --start-addr 0x4000
LDFLAGS_tgidemo_apple2enh = --start-addr 0x4000
# The Apple ][ needs the start address adjusted for the mousetest
LDFLAGS_mousetest_apple2 = --start-addr 0x4000
# The Apple ][ needs the start address adjusted for the mousedemo
LDFLAGS_mousedemo_apple2 = --start-addr 0x4000
# The Apple machines need the end address adjusted for large programs
LDFLAGS_gunzip65_apple2 = -D __HIMEM__=0xBF00
@@ -111,7 +111,7 @@ EXELIST_c64 = \
gunzip65 \
hello \
mandelbrot \
mousetest \
mousedemo \
multdemo \
nachtm \
ovrldemo \
@@ -126,7 +126,7 @@ EXELIST_apple2 = \
gunzip65 \
hello \
mandelbrot \
mousetest \
mousedemo \
multdemo \
ovrldemo \
sieve \
@@ -139,7 +139,7 @@ EXELIST_atari = \
gunzip65 \
hello \
mandelbrot \
mousetest \
mousedemo \
multdemo \
ovrldemo \
sieve \
@@ -147,7 +147,7 @@ EXELIST_atari = \
EXELIST_atarixl = $(EXELIST_atari)
EXELIST_atari2600 = \
EXELIST_atari2600 = \
atari2600hello
# --------------------------------------------------------------------------

View File

@@ -69,8 +69,8 @@ Platforms: Runs on all platforms that have TGI support:
Apple ][, C64, C128, Oric Atmos, Geos and Lynx.
-----------------------------------------------------------------------------
Name: mousetest
Description: Tests and shows how to use the mouse.
Name: mousedemo
Description: Shows how to use the mouse.
Platforms: All systems with mouse and conio support:
C64, C128, CBM510, Atari, Apple ][

View File

@@ -1,6 +1,6 @@
/*
** Test/demo program for mouse usage.
** Will work for the C64/C128/CBM510/Atari/Apple2.
** Demo program for mouse usage.
** Supports the C64/C128/CBM510/Atari/Apple2.
**
** 2001-09-13, Ullrich von Bassewitz
** 2013-09-05, Greg King