Ozkan Sezer
39d51aff6a
include tweaks.
4 years ago
Ozkan Sezer
7241b3b3e3
invent and use XMP_MAXPATH, like libxmp.
4 years ago
Ozkan Sezer
7d2b83ce02
replace exit(EXIT_SUCCESS); with return 0; at the end of main().
4 years ago
Ozkan Sezer
c35288c66f
amiga-specific timer code
4 years ago
Ozkan Sezer
2ce2f45824
change delay_ms() to accept an unsigned parameter.
4 years ago
Ozkan Sezer
21fc2b40e6
include reordering for XMP_AMIGA. add missing guards to unistd.h.
4 years ago
Ozkan Sezer
cdd5ff8ed9
pass NULL as timezone to gettimeofday()
4 years ago
Ozkan Sezer
c2be98c23e
invent and use a XMP_AMIGA macro.
4 years ago
Ozkan Sezer
bc31a02764
fix build.
4 years ago
Ozkan Sezer
7b1283bbde
change the #ifdef order in read_key().
4 years ago
Ozkan Sezer
185b274ca6
invent and use a locale-insensitive strcasecmp() version
4 years ago
Ozkan Sezer
2a155268c2
move xmp_strdup() into a new util.c source module.
4 years ago
Ozkan Sezer
bc7fa57fcc
invent and use a private xmp_strdup()
4 years ago
Ozkan Sezer
062473c1c5
remove some redefines for _MSC_VER which are not necessary anymore
4 years ago
Ozkan Sezer
6b018d6999
check and conditionally include sys/types.h, sys/time.h, and unistd.h.
...
watcom/unistd.h and win32/unistd.h are no longer necessary, especially
after previous commit.
4 years ago
Ozkan Sezer
908977d4df
sound_wav, sound_aiff, sound_file: migrate from posix to stdio.
4 years ago
Ozkan Sezer
666bd2d3d0
sound_dart.c: remove unnecessary and pointless includes.
4 years ago
Cameron Cawley
31710da449
Minor optimization in OpenWatcom DOS builds
...
Co-authored-by: jmalak <jmalak@users.noreply.github.com>
4 years ago
Cameron Cawley
66a314674c
Improve IRQ handling in DOS builds
...
Co-authored-by: sezero <sezero@users.noreply.github.com>
4 years ago
Cameron Cawley
902a8bad43
Error out when building with DJGPP <= 2.01
...
Co-authored-by: sezero <sezero@users.noreply.github.com>
4 years ago
Cameron Cawley
d931134313
Use __attribute__((no_reorder)) for IRQ interrupts
4 years ago
Cameron Cawley
b0ea809964
Support compiling the SoundBlaster driver with OpenWatcom
4 years ago
Ozkan Sezer
ffa516a36f
add SoundBlaster output driver for DOS based on libMikMod
4 years ago
Cameron Cawley
d2431b1eef
Fix compilation with BeOS and Haiku
4 years ago
Cameron Cawley
f665ea21d4
Add the Distribution packages workflow from libxmp
4 years ago
AliceLR
91970bf254
Use /dev/audio or pkgsrc DEVOSSAUDIO for OSS on NetBSD.
4 years ago
AliceLR
d9525f0161
Fix NetBSD driver compile error and OSS link error.
4 years ago
Alice R
5f227252d5
Merge pull request #52 from AliceLR/fix-openbsd-audioio
...
Improve detection of old BSD sound driver to fix OpenBSD builds.
4 years ago
AliceLR
ab6e7592a7
Tweak audio_info_t check for old autoconf versions.
4 years ago
AliceLR
2416f97508
Improve detection of old BSD sound driver to fix OpenBSD builds.
4 years ago
Alice R
5977f3ead1
Merge pull request #51 from ccawley2011/sndio-linux
...
Allow building with sndio on Linux
4 years ago
Cameron Cawley
b523858c0c
Allow building with sndio on Linux
4 years ago
Misty De Meo
c6e4d48e53
manpage/README: remove non-existent option
4 years ago
Misty De Meo
c13461a493
manpage: correct amiga filter documentation
4 years ago
Ozkan Sezer
7dc7d5a84a
include autogen.sh and vc/* with 'make dist'
4 years ago
Ozkan Sezer
bec42b6098
fixed 'make dist'
4 years ago
Cameron Cawley
0a335c793e
Add watcom.mif to share code between the Win32, OS/2 and MS-DOS makefiles
4 years ago
Ozkan Sezer
9d4163ef80
added a watcom makefile for targeting dos
4 years ago
Ozkan Sezer
45114c81e7
watcom makefiles: tweak watcom headers include order (just in case)
4 years ago
Cameron Cawley
905acddfda
Improve the OpenWatcom makefiles
4 years ago
Ozkan Sezer
a02a7adf21
add new xmp_version.h which defines VERSION if not already defined.
...
is useful when working with standalone makefiles and project files.
4 years ago
Ozkan Sezer
fa8286eeb1
bump version to 4.2.0
4 years ago
Alice R
c5f27a5c6c
Merge pull request #45 from sezero/misc01
...
miscellaneous small stuff
4 years ago
Ozkan Sezer
6bbd64acbb
replace __inline__ with inline in list.h
...
common.h has fixes for it where needed.
4 years ago
Ozkan Sezer
e68fe9d983
include strings.h, if available, for strcasecmp
...
it might not be prototyped in strings.h.
4 years ago
AliceLR
ecd0820b9e
Fix out-of-bounds read of mod->xxs, constify xmp_module_info pointers.
5 years ago
Alice R
22f92ed569
Merge pull request #40 from sezero/write-strings
...
add -Wwrite-strings to CFLAGS if it's available, and fix warnings.
5 years ago
Ozkan Sezer
ca64c65716
add -Wwrite-strings to CFLAGS if it's available, and fix warnings.
5 years ago
Alice R
8207fad249
Merge pull request #39 from sezero/misc3
...
miscellaneous clean-ups and tweaks
5 years ago
Ozkan Sezer
adadca1d93
getopt_long.c: initialize optarg and optreset to avoid symbol clashes.
...
this has been happening to me eg. with amiga clib2 like:
/opt/cross_amigaos4/ppc-amigaos/SDK/clib2/lib/libc.a(unistd_getopt.o)(.text+0x0): In function `getopt':
: multiple definition of `getopt'
getopt_long.o(.text+0xc1c):/work/xmp-cli/src/getopt_long.c:481: first defined here
/opt/cross_amigaos4/lib/gcc/ppc-amigaos/4.2.4/../../../../ppc-amigaos/bin/ld: Warning: size of symbol `getopt' changed from 16 in getopt_long.o to 672 in /opt/cross_amigaos4/ppc-amigaos/SDK/clib2/lib/libc.a(unistd_getopt.o)
/opt/cross_amigaos4/ppc-amigaos/SDK/clib2/lib/libc.a(unistd_getopt.o)(.sdata+0x4): multiple definition of `optind'
getopt_long.o(.sdata+0x4):/work/xmp-cli/src/getopt_long.c:133: first defined here
/opt/cross_amigaos4/ppc-amigaos/SDK/clib2/lib/libc.a(unistd_getopt.o)(.sbss+0x0): multiple definition of `optopt'
getopt_long.o(.sdata+0x8):/work/xmp-cli/src/getopt_long.c:126: first defined here
/opt/cross_amigaos4/ppc-amigaos/SDK/clib2/lib/libc.a(unistd_getopt.o)(.sdata+0x0): multiple definition of `opterr'
getopt_long.o(.sdata+0x0):/work/xmp-cli/src/getopt_long.c:126: first defined here
5 years ago