mirror of
https://github.com/cc65/cc65.git
synced 2025-01-10 03:30:05 +00:00
Introduced static standard drivers.
git-svn-id: svn://svn.cc65.org/cc65/trunk@5891 b7a2c559-68d2-44c3-8de9-860c34a00d81
This commit is contained in:
parent
dbc66c247a
commit
6860ac7dfd
include
libsrc
apple2
apple2enh
atari
atmos
c128
c16
c64
cbm510
lynx
nes
pet
plus4
vic20
@ -77,6 +77,9 @@ extern const unsigned char joy_masks[8];
|
||||
/* The name of the standard joystick driver for a platform */
|
||||
extern const char joy_stddrv[];
|
||||
|
||||
/* The address of the static standard joystick driver for a platform */
|
||||
extern const char joy_static_stddrv[];
|
||||
|
||||
|
||||
|
||||
/*****************************************************************************/
|
||||
|
@ -107,6 +107,9 @@ extern const struct mouse_callbacks mouse_def_callbacks;
|
||||
/* The name of the standard mouse driver for a platform */
|
||||
extern const char mouse_stddrv[];
|
||||
|
||||
/* The address of the static standard mouse driver for a platform */
|
||||
extern const char mouse_static_stddrv[];
|
||||
|
||||
|
||||
|
||||
/*****************************************************************************/
|
||||
|
@ -61,6 +61,9 @@
|
||||
/* The name of the standard tgi driver for a platform */
|
||||
extern const char tgi_stddrv[];
|
||||
|
||||
/* The address of the static standard tgi driver for a platform */
|
||||
extern const void tgi_static_stddrv[];
|
||||
|
||||
/* A vector font definition */
|
||||
typedef struct tgi_vectorfont tgi_vectorfont;
|
||||
|
||||
|
@ -105,11 +105,13 @@ S_OBJS= _scrsize.o \
|
||||
initcwd.o \
|
||||
iobuf.o \
|
||||
isdevice.o \
|
||||
joy_stat_stddrv.o \
|
||||
joy_stddrv.o \
|
||||
kbhit.o \
|
||||
mainargs.o \
|
||||
mcbdefault.o \
|
||||
mli.o \
|
||||
mouse_stat_stddrv.o \
|
||||
mouse_stddrv.o \
|
||||
open.o \
|
||||
oserrlist.o \
|
||||
@ -128,6 +130,7 @@ S_OBJS= _scrsize.o \
|
||||
systime.o \
|
||||
sysuname.o \
|
||||
tgi_colors.o \
|
||||
tgi_stat_stddrv.o \
|
||||
tgi_stddrv.o \
|
||||
toascii.o \
|
||||
vtabz.o \
|
||||
|
14
libsrc/apple2/joy_stat_stddrv.s
Normal file
14
libsrc/apple2/joy_stat_stddrv.s
Normal file
@ -0,0 +1,14 @@
|
||||
;
|
||||
; Address of the static standard joystick driver
|
||||
;
|
||||
; Oliver Schmidt, 2012-11-01
|
||||
;
|
||||
; const void joy_static_stddrv[];
|
||||
;
|
||||
|
||||
.export _joy_static_stddrv
|
||||
.import _apple2_stdjoy
|
||||
|
||||
.rodata
|
||||
|
||||
_joy_static_stddrv := _apple2_stdjoy
|
14
libsrc/apple2/mouse_stat_stddrv.s
Normal file
14
libsrc/apple2/mouse_stat_stddrv.s
Normal file
@ -0,0 +1,14 @@
|
||||
;
|
||||
; Address of the static standard mouse driver
|
||||
;
|
||||
; Oliver Schmidt, 2012-11-01
|
||||
;
|
||||
; const void mouse_static_stddrv[];
|
||||
;
|
||||
|
||||
.export _mouse_static_stddrv
|
||||
.import _apple2_stdmou
|
||||
|
||||
.rodata
|
||||
|
||||
_mouse_static_stddrv := _apple2_stdmou
|
14
libsrc/apple2/tgi_stat_stddrv.s
Normal file
14
libsrc/apple2/tgi_stat_stddrv.s
Normal file
@ -0,0 +1,14 @@
|
||||
;
|
||||
; Address of the static standard tgi driver
|
||||
;
|
||||
; Oliver Schmidt, 2012-11-01
|
||||
;
|
||||
; const void tgi_static_stddrv[];
|
||||
;
|
||||
|
||||
.export _tgi_static_stddrv
|
||||
.import _apple2_280_192_8
|
||||
|
||||
.rodata
|
||||
|
||||
_tgi_static_stddrv := _apple2_280_192_8
|
@ -108,11 +108,13 @@ S_OBJS= _scrsize.o \
|
||||
initcwd.o \
|
||||
iobuf.o \
|
||||
isdevice.o \
|
||||
joy_stat_stddrv.o \
|
||||
joy_stddrv.o \
|
||||
kbhit.o \
|
||||
mainargs.o \
|
||||
mcbdefault.o \
|
||||
mli.o \
|
||||
mouse_stat_stddrv.o \
|
||||
mouse_stddrv.o \
|
||||
open.o \
|
||||
oserrlist.o \
|
||||
@ -132,6 +134,7 @@ S_OBJS= _scrsize.o \
|
||||
sysuname.o \
|
||||
textframe.o \
|
||||
tgi_colors.o \
|
||||
tgi_stat_stddrv.o \
|
||||
tgi_stddrv.o \
|
||||
toascii.o \
|
||||
videomode.o \
|
||||
|
@ -103,6 +103,7 @@ OBJS = _scrsize.o \
|
||||
graphics.o \
|
||||
initcwd.o \
|
||||
inviocb.o \
|
||||
joy_stat_stddrv.o \
|
||||
joy_stddrv.o \
|
||||
kbhit.o \
|
||||
lseek.o \
|
||||
@ -127,6 +128,7 @@ OBJS = _scrsize.o \
|
||||
systime.o \
|
||||
sysuname.o \
|
||||
tgi_colors.o \
|
||||
tgi_stat_stddrv.o \
|
||||
tgi_stddrv.o \
|
||||
toascii.o \
|
||||
tvtype.o \
|
||||
|
14
libsrc/atari/joy_stat_stddrv.s
Normal file
14
libsrc/atari/joy_stat_stddrv.s
Normal file
@ -0,0 +1,14 @@
|
||||
;
|
||||
; Address of the static standard joystick driver
|
||||
;
|
||||
; Oliver Schmidt, 2012-11-01
|
||||
;
|
||||
; const void joy_static_stddrv[];
|
||||
;
|
||||
|
||||
.export _joy_static_stddrv
|
||||
.import _atari_stdjoy
|
||||
|
||||
.rodata
|
||||
|
||||
_joy_static_stddrv := _atari_stdjoy
|
14
libsrc/atari/tgi_stat_stddrv.s
Normal file
14
libsrc/atari/tgi_stat_stddrv.s
Normal file
@ -0,0 +1,14 @@
|
||||
;
|
||||
; Address of the static standard tgi driver
|
||||
;
|
||||
; Oliver Schmidt, 2012-11-01
|
||||
;
|
||||
; const void tgi_static_stddrv[];
|
||||
;
|
||||
|
||||
.export _tgi_static_stddrv
|
||||
.import _atari_8
|
||||
|
||||
.rodata
|
||||
|
||||
_tgi_static_stddrv := _atari_8
|
@ -81,6 +81,7 @@ OBJS = _scrsize.o \
|
||||
gotox.o \
|
||||
gotoxy.o \
|
||||
gotoy.o \
|
||||
joy_stat_stddrv.o \
|
||||
joy_stddrv.o \
|
||||
kbhit.o \
|
||||
mainargs.o \
|
||||
@ -91,6 +92,7 @@ OBJS = _scrsize.o \
|
||||
systime.o \
|
||||
sysuname.o \
|
||||
tgi_colors.o \
|
||||
tgi_stat_stddrv.o \
|
||||
tgi_stddrv.o \
|
||||
wherex.o \
|
||||
wherey.o \
|
||||
|
14
libsrc/atmos/joy_stat_stddrv.s
Normal file
14
libsrc/atmos/joy_stat_stddrv.s
Normal file
@ -0,0 +1,14 @@
|
||||
;
|
||||
; Address of the static standard joystick driver
|
||||
;
|
||||
; Oliver Schmidt, 2012-11-01
|
||||
;
|
||||
; const void joy_static_stddrv[];
|
||||
;
|
||||
|
||||
.export _joy_static_stddrv
|
||||
.import _atmos_pase
|
||||
|
||||
.rodata
|
||||
|
||||
_joy_static_stddrv := _atmos_pase
|
14
libsrc/atmos/tgi_stat_stddrv.s
Normal file
14
libsrc/atmos/tgi_stat_stddrv.s
Normal file
@ -0,0 +1,14 @@
|
||||
;
|
||||
; Address of the static standard tgi driver
|
||||
;
|
||||
; Oliver Schmidt, 2012-11-01
|
||||
;
|
||||
; const void tgi_static_stddrv[];
|
||||
;
|
||||
|
||||
.export _tgi_static_stddrv
|
||||
.import _atmos_240_200_2
|
||||
|
||||
.rodata
|
||||
|
||||
_tgi_static_stddrv := _atmos_240_200_2
|
@ -77,11 +77,13 @@ OBJS = _scrsize.o \
|
||||
devnum.o \
|
||||
fast.o \
|
||||
get_tv.o \
|
||||
joy_stat_stddrv.o \
|
||||
joy_stddrv.o \
|
||||
kbhit.o \
|
||||
kernal.o \
|
||||
mainargs.o \
|
||||
mcbdefault.o \
|
||||
mouse_stat_stddrv.o \
|
||||
mouse_stddrv.o \
|
||||
randomize.o \
|
||||
revers.o \
|
||||
@ -90,6 +92,7 @@ OBJS = _scrsize.o \
|
||||
systime.o \
|
||||
sysuname.o \
|
||||
tgi_colors.o \
|
||||
tgi_stat_stddrv.o \
|
||||
tgi_stddrv.o \
|
||||
toggle_videomode.o \
|
||||
videomode.o \
|
||||
|
14
libsrc/c128/joy_stat_stddrv.s
Normal file
14
libsrc/c128/joy_stat_stddrv.s
Normal file
@ -0,0 +1,14 @@
|
||||
;
|
||||
; Address of the static standard joystick driver
|
||||
;
|
||||
; Oliver Schmidt, 2012-11-01
|
||||
;
|
||||
; const void joy_static_stddrv[];
|
||||
;
|
||||
|
||||
.export _joy_static_stddrv
|
||||
.import _c128_stdjoy
|
||||
|
||||
.rodata
|
||||
|
||||
_joy_static_stddrv := _c128_stdjoy
|
14
libsrc/c128/mouse_stat_stddrv.s
Normal file
14
libsrc/c128/mouse_stat_stddrv.s
Normal file
@ -0,0 +1,14 @@
|
||||
;
|
||||
; Address of the static standard mouse driver
|
||||
;
|
||||
; Oliver Schmidt, 2012-11-01
|
||||
;
|
||||
; const void mouse_static_stddrv[];
|
||||
;
|
||||
|
||||
.export _mouse_static_stddrv
|
||||
.import _c128_1351
|
||||
|
||||
.rodata
|
||||
|
||||
_mouse_static_stddrv := _c128_1351
|
14
libsrc/c128/tgi_stat_stddrv.s
Normal file
14
libsrc/c128/tgi_stat_stddrv.s
Normal file
@ -0,0 +1,14 @@
|
||||
;
|
||||
; Address of the static standard tgi driver
|
||||
;
|
||||
; Oliver Schmidt, 2012-11-01
|
||||
;
|
||||
; const void tgi_static_stddrv[];
|
||||
;
|
||||
|
||||
.export _tgi_static_stddrv
|
||||
.import _c128_640_200_2
|
||||
|
||||
.rodata
|
||||
|
||||
_tgi_static_stddrv := _c128_640_200_2
|
@ -68,6 +68,7 @@ OBJS = _scrsize.o \
|
||||
crt0.o \
|
||||
devnum.o \
|
||||
get_tv.o \
|
||||
joy_stat_stddrv.o \
|
||||
joy_stddrv.o \
|
||||
kbhit.o \
|
||||
kclose.o \
|
||||
|
14
libsrc/c16/joy_stat_stddrv.s
Normal file
14
libsrc/c16/joy_stat_stddrv.s
Normal file
@ -0,0 +1,14 @@
|
||||
;
|
||||
; Address of the static standard joystick driver
|
||||
;
|
||||
; Oliver Schmidt, 2012-11-01
|
||||
;
|
||||
; const void joy_static_stddrv[];
|
||||
;
|
||||
|
||||
.export _joy_static_stddrv
|
||||
.import _c16_stdjoy
|
||||
|
||||
.rodata
|
||||
|
||||
_joy_static_stddrv := _c16_stdjoy
|
@ -76,12 +76,14 @@ OBJS = _scrsize.o \
|
||||
devnum.o \
|
||||
get_ostype.o \
|
||||
get_tv.o \
|
||||
joy_stat_stddrv.o \
|
||||
joy_stddrv.o \
|
||||
kbhit.o \
|
||||
kernal.o \
|
||||
kplot.o \
|
||||
mainargs.o \
|
||||
mcbdefault.o \
|
||||
mouse_stat_stddrv.o \
|
||||
mouse_stddrv.o \
|
||||
randomize.o \
|
||||
revers.o \
|
||||
@ -89,6 +91,7 @@ OBJS = _scrsize.o \
|
||||
systime.o \
|
||||
sysuname.o \
|
||||
tgi_colors.o \
|
||||
tgi_stat_stddrv.o \
|
||||
tgi_stddrv.o \
|
||||
$(EMDS:.emd=-emd.o) \
|
||||
$(JOYS:.joy=-joy.o) \
|
||||
|
14
libsrc/c64/joy_stat_stddrv.s
Normal file
14
libsrc/c64/joy_stat_stddrv.s
Normal file
@ -0,0 +1,14 @@
|
||||
;
|
||||
; Address of the static standard joystick driver
|
||||
;
|
||||
; Oliver Schmidt, 2012-11-01
|
||||
;
|
||||
; const void joy_static_stddrv[];
|
||||
;
|
||||
|
||||
.export _joy_static_stddrv
|
||||
.import _c64_stdjoy
|
||||
|
||||
.rodata
|
||||
|
||||
_joy_static_stddrv := _c64_stdjoy
|
14
libsrc/c64/mouse_stat_stddrv.s
Normal file
14
libsrc/c64/mouse_stat_stddrv.s
Normal file
@ -0,0 +1,14 @@
|
||||
;
|
||||
; Address of the static standard mouse driver
|
||||
;
|
||||
; Oliver Schmidt, 2012-11-01
|
||||
;
|
||||
; const void mouse_static_stddrv[];
|
||||
;
|
||||
|
||||
.export _mouse_static_stddrv
|
||||
.import _c64_1351
|
||||
|
||||
.rodata
|
||||
|
||||
_mouse_static_stddrv := _c64_1351
|
14
libsrc/c64/tgi_stat_stddrv.s
Normal file
14
libsrc/c64/tgi_stat_stddrv.s
Normal file
@ -0,0 +1,14 @@
|
||||
;
|
||||
; Address of the static standard tgi driver
|
||||
;
|
||||
; Oliver Schmidt, 2012-11-01
|
||||
;
|
||||
; const void tgi_static_stddrv[];
|
||||
;
|
||||
|
||||
.export _tgi_static_stddrv
|
||||
.import _c64_320_200_2
|
||||
|
||||
.rodata
|
||||
|
||||
_tgi_static_stddrv := _c64_320_200_2
|
@ -68,6 +68,7 @@ OBJS = _scrsize.o \
|
||||
crt0.o \
|
||||
devnum.o \
|
||||
extzp.o \
|
||||
joy_stat_stddrv.o \
|
||||
joy_stddrv.o \
|
||||
kbhit.o \
|
||||
kclose.o \
|
||||
|
14
libsrc/cbm510/joy_stat_stddrv.s
Normal file
14
libsrc/cbm510/joy_stat_stddrv.s
Normal file
@ -0,0 +1,14 @@
|
||||
;
|
||||
; Address of the static standard joystick driver
|
||||
;
|
||||
; Oliver Schmidt, 2012-11-01
|
||||
;
|
||||
; const void joy_static_stddrv[];
|
||||
;
|
||||
|
||||
.export _joy_static_stddrv
|
||||
.import _cbm510_stdjoy
|
||||
|
||||
.rodata
|
||||
|
||||
_joy_static_stddrv := _cbm510_stdjoy
|
@ -79,6 +79,7 @@ OBJS = bllhdr.o \
|
||||
exec.o \
|
||||
exehdr.o \
|
||||
extzp.o \
|
||||
joy_stat_stddrv.o \
|
||||
joy_stddrv.o \
|
||||
kbhit.o \
|
||||
load.o \
|
||||
@ -90,6 +91,7 @@ OBJS = bllhdr.o \
|
||||
read.o \
|
||||
sysuname.o \
|
||||
tgi_colors.o \
|
||||
tgi_stat_stddrv.o \
|
||||
tgi_stddrv.o \
|
||||
toascii.o \
|
||||
uploader.o \
|
||||
|
14
libsrc/lynx/joy_stat_stddrv.s
Normal file
14
libsrc/lynx/joy_stat_stddrv.s
Normal file
@ -0,0 +1,14 @@
|
||||
;
|
||||
; Address of the static standard joystick driver
|
||||
;
|
||||
; Oliver Schmidt, 2012-11-01
|
||||
;
|
||||
; const void joy_static_stddrv[];
|
||||
;
|
||||
|
||||
.export _joy_static_stddrv
|
||||
.import _lynx_stdjoy
|
||||
|
||||
.rodata
|
||||
|
||||
_joy_static_stddrv := _lynx_stdjoy
|
14
libsrc/lynx/tgi_stat_stddrv.s
Normal file
14
libsrc/lynx/tgi_stat_stddrv.s
Normal file
@ -0,0 +1,14 @@
|
||||
;
|
||||
; Address of the static standard tgi driver
|
||||
;
|
||||
; Oliver Schmidt, 2012-11-01
|
||||
;
|
||||
; const void tgi_static_stddrv[];
|
||||
;
|
||||
|
||||
.export _tgi_static_stddrv
|
||||
.import _lynx_160_102_16
|
||||
|
||||
.rodata
|
||||
|
||||
_tgi_static_stddrv := _lynx_160_102_16
|
@ -79,6 +79,7 @@ OBJS = _scrsize.o \
|
||||
gotox.o \
|
||||
gotoxy.o \
|
||||
gotoy.o \
|
||||
joy_stat_stddrv.o \
|
||||
joy_stddrv.o \
|
||||
mainargs.o \
|
||||
ppu.o \
|
||||
@ -88,6 +89,7 @@ OBJS = _scrsize.o \
|
||||
setcursor.o \
|
||||
sysuname.o \
|
||||
tgi_colors.o \
|
||||
tgi_stat_stddrv.o \
|
||||
tgi_stddrv.o \
|
||||
waitvblank.o \
|
||||
wherex.o \
|
||||
|
14
libsrc/nes/joy_stat_stddrv.s
Normal file
14
libsrc/nes/joy_stat_stddrv.s
Normal file
@ -0,0 +1,14 @@
|
||||
;
|
||||
; Address of the static standard joystick driver
|
||||
;
|
||||
; Oliver Schmidt, 2012-11-01
|
||||
;
|
||||
; const void joy_static_stddrv[];
|
||||
;
|
||||
|
||||
.export _joy_static_stddrv
|
||||
.import _nes_stdjoy
|
||||
|
||||
.rodata
|
||||
|
||||
_joy_static_stddrv := _nes_stdjoy
|
14
libsrc/nes/tgi_stat_stddrv.s
Normal file
14
libsrc/nes/tgi_stat_stddrv.s
Normal file
@ -0,0 +1,14 @@
|
||||
;
|
||||
; Address of the static standard tgi driver
|
||||
;
|
||||
; Oliver Schmidt, 2012-11-01
|
||||
;
|
||||
; const void tgi_static_stddrv[];
|
||||
;
|
||||
|
||||
.export _tgi_static_stddrv
|
||||
.import _nes_64_56_2
|
||||
|
||||
.rodata
|
||||
|
||||
_tgi_static_stddrv := _nes_64_56_2
|
@ -62,6 +62,7 @@ OBJS = _scrsize.o \
|
||||
crt0.o \
|
||||
devnum.o \
|
||||
get_tv.o \
|
||||
joy_stat_stddrv.o \
|
||||
joy_stddrv.o \
|
||||
kbhit.o \
|
||||
kbsout.o \
|
||||
|
14
libsrc/pet/joy_stat_stddrv.s
Normal file
14
libsrc/pet/joy_stat_stddrv.s
Normal file
@ -0,0 +1,14 @@
|
||||
;
|
||||
; Address of the static standard joystick driver
|
||||
;
|
||||
; Oliver Schmidt, 2012-11-01
|
||||
;
|
||||
; const void joy_static_stddrv[];
|
||||
;
|
||||
|
||||
.export _joy_static_stddrv
|
||||
.import _pet_stdjoy
|
||||
|
||||
.rodata
|
||||
|
||||
_joy_static_stddrv := _pet_stdjoy
|
@ -68,6 +68,7 @@ OBJS = _scrsize.o \
|
||||
crt0.o \
|
||||
devnum.o \
|
||||
get_tv.o \
|
||||
joy_stat_stddrv.o \
|
||||
joy_stddrv.o \
|
||||
kacptr.o \
|
||||
kbasin.o \
|
||||
|
14
libsrc/plus4/joy_stat_stddrv.s
Normal file
14
libsrc/plus4/joy_stat_stddrv.s
Normal file
@ -0,0 +1,14 @@
|
||||
;
|
||||
; Address of the static standard joystick driver
|
||||
;
|
||||
; Oliver Schmidt, 2012-11-01
|
||||
;
|
||||
; const void joy_static_stddrv[];
|
||||
;
|
||||
|
||||
.export _joy_static_stddrv
|
||||
.import _plus4_stdjoy
|
||||
|
||||
.rodata
|
||||
|
||||
_joy_static_stddrv := _plus4_stdjoy
|
@ -61,6 +61,7 @@ OBJS = _scrsize.o \
|
||||
cputc.o \
|
||||
devnum.o \
|
||||
get_tv.o \
|
||||
joy_stat_stddrv.o \
|
||||
joy_stddrv.o \
|
||||
kbhit.o \
|
||||
kernal.o \
|
||||
|
14
libsrc/vic20/joy_stat_stddrv.s
Normal file
14
libsrc/vic20/joy_stat_stddrv.s
Normal file
@ -0,0 +1,14 @@
|
||||
;
|
||||
; Address of the static standard joystick driver
|
||||
;
|
||||
; Oliver Schmidt, 2012-11-01
|
||||
;
|
||||
; const void joy_static_stddrv[];
|
||||
;
|
||||
|
||||
.export _joy_static_stddrv
|
||||
.import _vic20_stdjoy
|
||||
|
||||
.rodata
|
||||
|
||||
_joy_static_stddrv := _vic20_stdjoy
|
Loading…
x
Reference in New Issue
Block a user