2017-05-05 01:49:42 +02:00
|
|
|
#
|
2022-02-20 19:11:58 -05:00
|
|
|
#
|
2017-05-05 01:49:42 +02:00
|
|
|
# 86Box A hypervisor and IBM PC system emulator that specializes in
|
|
|
|
|
# running old operating systems and software designed for IBM
|
|
|
|
|
# PC systems and compatibles from 1981 through fairly recent
|
|
|
|
|
# system designs based on the PCI bus.
|
|
|
|
|
#
|
|
|
|
|
# This file is part of the 86Box distribution.
|
|
|
|
|
#
|
2017-10-14 13:38:05 -04:00
|
|
|
# Makefile for Win32 (MinGW32) environment.
|
2017-05-05 01:49:42 +02:00
|
|
|
#
|
2017-06-03 16:34:40 +02:00
|
|
|
# Authors: Miran Grca, <mgrca8@gmail.com>
|
2017-05-05 01:49:42 +02:00
|
|
|
# Fred N. van Kempen, <decwiz@yahoo.com>
|
|
|
|
|
#
|
|
|
|
|
|
|
|
|
|
# Various compile-time options.
|
2017-10-19 21:08:34 -04:00
|
|
|
ifndef STUFF
|
2017-10-08 19:14:46 -04:00
|
|
|
STUFF :=
|
2017-10-19 21:08:34 -04:00
|
|
|
endif
|
2017-05-05 01:49:42 +02:00
|
|
|
|
|
|
|
|
# Add feature selections here.
|
2017-05-24 00:27:42 -04:00
|
|
|
ifndef EXTRAS
|
2017-10-08 19:14:46 -04:00
|
|
|
EXTRAS :=
|
2017-05-24 00:27:42 -04:00
|
|
|
endif
|
2017-05-05 01:49:42 +02:00
|
|
|
|
2018-03-05 20:47:48 +01:00
|
|
|
ifndef DEV_BUILD
|
|
|
|
|
DEV_BUILD := n
|
|
|
|
|
endif
|
|
|
|
|
|
|
|
|
|
ifeq ($(DEV_BUILD), y)
|
|
|
|
|
ifndef DEBUG
|
|
|
|
|
DEBUG := y
|
|
|
|
|
endif
|
2022-07-19 21:10:16 -04:00
|
|
|
ifndef GDBSTUB
|
|
|
|
|
GDBSTUB := n
|
|
|
|
|
endif
|
2018-03-05 20:47:48 +01:00
|
|
|
ifndef DEV_BRANCH
|
|
|
|
|
DEV_BRANCH := y
|
|
|
|
|
endif
|
2020-04-10 01:08:52 +02:00
|
|
|
ifndef AMD_K5
|
|
|
|
|
AMD_K5 := y
|
2018-03-05 20:47:48 +01:00
|
|
|
endif
|
2022-04-12 15:31:44 +05:00
|
|
|
ifndef AN430TX
|
|
|
|
|
AN430TX := y
|
|
|
|
|
endif
|
2020-07-06 13:01:52 -06:00
|
|
|
ifndef CYRIX_6X86
|
2020-07-12 19:40:48 +02:00
|
|
|
CYRIX_6X86 := y
|
2021-03-25 03:08:50 -05:00
|
|
|
endif
|
2022-04-12 15:26:16 +05:00
|
|
|
ifndef DESKPRO386
|
|
|
|
|
DESKPRO386 := y
|
|
|
|
|
endif
|
2020-10-15 23:54:18 +02:00
|
|
|
ifndef GUSMAX
|
|
|
|
|
GUSMAX := y
|
|
|
|
|
endif
|
2022-02-14 05:11:08 +05:00
|
|
|
ifndef ISAMEM_RAMPAGE
|
|
|
|
|
ISAMEM_RAMPAGE := y
|
|
|
|
|
endif
|
|
|
|
|
ifndef ISAMEM_IAB
|
|
|
|
|
ISAMEM_IAB := y
|
|
|
|
|
endif
|
|
|
|
|
ifndef ISAMEM_BRAT
|
|
|
|
|
ISAMEM_BRAT := y
|
|
|
|
|
endif
|
2018-03-05 20:47:48 +01:00
|
|
|
ifndef LASERXT
|
|
|
|
|
LASERXT := y
|
|
|
|
|
endif
|
2020-04-20 14:50:03 +02:00
|
|
|
ifndef MGA
|
|
|
|
|
MGA := y
|
|
|
|
|
endif
|
2022-04-19 18:36:30 -04:00
|
|
|
ifndef OLIVETTI
|
|
|
|
|
OLIVETTI := y
|
2020-10-15 23:54:18 +02:00
|
|
|
endif
|
2020-07-12 19:40:48 +02:00
|
|
|
ifndef OPEN_AT
|
|
|
|
|
OPEN_AT := y
|
|
|
|
|
endif
|
2018-03-05 20:47:48 +01:00
|
|
|
ifndef PAS16
|
2022-07-08 17:41:44 -04:00
|
|
|
PAS16 := y
|
2018-03-05 20:47:48 +01:00
|
|
|
endif
|
2020-10-15 23:54:18 +02:00
|
|
|
ifndef SIO_DETECT
|
|
|
|
|
SIO_DETECT := y
|
|
|
|
|
endif
|
2022-04-19 18:36:30 -04:00
|
|
|
ifndef VGAWONDER
|
|
|
|
|
VGAWONDER := y
|
2020-04-18 11:51:54 +02:00
|
|
|
endif
|
2018-03-05 20:47:48 +01:00
|
|
|
ifndef XL24
|
|
|
|
|
XL24 := y
|
|
|
|
|
endif
|
2021-07-04 17:40:39 +02:00
|
|
|
ifndef NEW_KBC
|
|
|
|
|
NEW_KBC := n
|
|
|
|
|
endif
|
2018-03-05 20:47:48 +01:00
|
|
|
else
|
|
|
|
|
ifndef DEBUG
|
2018-09-09 19:38:11 +02:00
|
|
|
DEBUG := n
|
2018-03-05 20:47:48 +01:00
|
|
|
endif
|
2022-07-19 21:10:16 -04:00
|
|
|
ifndef GDBSTUB
|
|
|
|
|
GDBSTUB := n
|
|
|
|
|
endif
|
2018-03-05 20:47:48 +01:00
|
|
|
ifndef DEV_BRANCH
|
|
|
|
|
DEV_BRANCH := n
|
|
|
|
|
endif
|
2020-04-10 01:08:52 +02:00
|
|
|
ifndef AMD_K5
|
|
|
|
|
AMD_K5 := n
|
2018-03-05 20:47:48 +01:00
|
|
|
endif
|
2022-04-12 15:31:44 +05:00
|
|
|
ifndef AN430TX
|
|
|
|
|
AN430TX := n
|
|
|
|
|
endif
|
2020-07-06 13:01:52 -06:00
|
|
|
ifndef CYRIX_6X86
|
2020-07-12 19:40:48 +02:00
|
|
|
CYRIX_6X86 := n
|
2020-10-15 23:54:18 +02:00
|
|
|
endif
|
2022-04-12 15:26:16 +05:00
|
|
|
ifndef DESKPRO386
|
|
|
|
|
DESKPRO386 := n
|
|
|
|
|
endif
|
2020-10-15 23:54:18 +02:00
|
|
|
ifndef GUSMAX
|
|
|
|
|
GUSMAX := n
|
|
|
|
|
endif
|
2022-02-14 05:11:08 +05:00
|
|
|
ifndef ISAMEM_RAMPAGE
|
|
|
|
|
ISAMEM_RAMPAGE := n
|
|
|
|
|
endif
|
|
|
|
|
ifndef ISAMEM_IAB
|
|
|
|
|
ISAMEM_IAB := n
|
|
|
|
|
endif
|
|
|
|
|
ifndef ISAMEM_BRAT
|
|
|
|
|
ISAMEM_BRAT := n
|
|
|
|
|
endif
|
2018-03-05 20:47:48 +01:00
|
|
|
ifndef LASERXT
|
|
|
|
|
LASERXT := n
|
|
|
|
|
endif
|
2020-04-20 14:50:03 +02:00
|
|
|
ifndef MGA
|
|
|
|
|
MGA := n
|
|
|
|
|
endif
|
2022-04-19 18:36:30 -04:00
|
|
|
ifndef OLIVETTI
|
|
|
|
|
OLIVETTI := n
|
2020-10-15 23:54:18 +02:00
|
|
|
endif
|
2020-07-12 19:40:48 +02:00
|
|
|
ifndef OPEN_AT
|
|
|
|
|
OPEN_AT := n
|
|
|
|
|
endif
|
2018-03-05 20:47:48 +01:00
|
|
|
ifndef PAS16
|
|
|
|
|
PAS16 := n
|
|
|
|
|
endif
|
2020-10-15 23:54:18 +02:00
|
|
|
ifndef SIO_DETECT
|
|
|
|
|
SIO_DETECT := n
|
|
|
|
|
endif
|
2022-04-19 18:36:30 -04:00
|
|
|
ifndef VGAWONDER
|
|
|
|
|
VGAWONDER := n
|
2020-04-18 11:51:54 +02:00
|
|
|
endif
|
2018-03-05 20:47:48 +01:00
|
|
|
ifndef XL24
|
|
|
|
|
XL24 := n
|
|
|
|
|
endif
|
2021-07-04 17:40:39 +02:00
|
|
|
ifndef NEW_KBC
|
|
|
|
|
NEW_KBC := n
|
|
|
|
|
endif
|
2018-03-05 20:47:48 +01:00
|
|
|
endif
|
|
|
|
|
|
2017-06-14 00:55:11 -04:00
|
|
|
# Defaults for several build options (possibly defined in a chained file.)
|
2017-09-25 20:46:14 -04:00
|
|
|
ifndef AUTODEP
|
2017-10-08 19:14:46 -04:00
|
|
|
AUTODEP := n
|
2017-09-25 20:46:14 -04:00
|
|
|
endif
|
2017-05-24 00:27:42 -04:00
|
|
|
ifndef OPTIM
|
2017-10-08 19:14:46 -04:00
|
|
|
OPTIM := n
|
2017-05-24 00:27:42 -04:00
|
|
|
endif
|
2017-06-03 14:24:19 +02:00
|
|
|
ifndef RELEASE
|
2017-10-08 19:14:46 -04:00
|
|
|
RELEASE := n
|
2017-06-03 14:24:19 +02:00
|
|
|
endif
|
2017-11-19 03:15:29 -05:00
|
|
|
ifndef X64
|
|
|
|
|
X64 := n
|
|
|
|
|
endif
|
2019-03-20 07:41:46 +08:00
|
|
|
ifndef ARM
|
|
|
|
|
ARM := n
|
|
|
|
|
endif
|
|
|
|
|
ifndef ARM64
|
|
|
|
|
ARM64 := n
|
|
|
|
|
endif
|
|
|
|
|
ifndef DINPUT
|
2020-06-13 10:17:57 +02:00
|
|
|
DINPUT := n
|
2019-03-20 07:41:46 +08:00
|
|
|
endif
|
2022-06-26 01:33:12 +02:00
|
|
|
ifndef FAUDIO
|
|
|
|
|
FAUDIO := n
|
|
|
|
|
endif
|
2017-10-27 04:54:45 -04:00
|
|
|
ifndef OPENAL
|
2022-06-26 01:33:12 +02:00
|
|
|
OPENAL := n
|
2017-10-27 04:54:45 -04:00
|
|
|
endif
|
2017-08-08 22:51:47 -04:00
|
|
|
ifndef FLUIDSYNTH
|
2022-06-26 01:33:12 +02:00
|
|
|
FLUIDSYNTH := y
|
2017-08-08 22:51:47 -04:00
|
|
|
endif
|
2017-08-27 00:58:44 +02:00
|
|
|
ifndef MUNT
|
2022-06-26 01:33:12 +02:00
|
|
|
MUNT := y
|
2017-08-27 00:58:44 +02:00
|
|
|
endif
|
2022-04-12 15:55:33 +05:00
|
|
|
ifndef VNC
|
|
|
|
|
VNC := n
|
|
|
|
|
endif
|
2020-06-13 12:32:09 +02:00
|
|
|
ifndef NEW_DYNAREC
|
|
|
|
|
NEW_DYNAREC := n
|
|
|
|
|
endif
|
2017-10-15 02:43:13 +02:00
|
|
|
ifndef DYNAREC
|
2020-07-15 09:03:57 +08:00
|
|
|
DYNAREC := y
|
2020-06-13 12:32:09 +02:00
|
|
|
endif
|
2021-12-17 06:59:53 +01:00
|
|
|
ifndef CPPTHREADS
|
2021-12-17 07:41:07 +01:00
|
|
|
CPPTHREADS := y
|
2021-12-17 06:59:53 +01:00
|
|
|
endif
|
2022-03-11 21:19:59 +01:00
|
|
|
ifndef RTMIDI
|
|
|
|
|
RTMIDI := y
|
|
|
|
|
endif
|
2020-06-13 12:32:09 +02:00
|
|
|
ifeq ($(DYNAREC), y)
|
2019-03-20 07:41:46 +08:00
|
|
|
ifeq ($(ARM), y)
|
2020-06-13 12:32:09 +02:00
|
|
|
ifeq ($(NEW_DYNAREC), n)
|
2020-07-15 09:03:57 +08:00
|
|
|
DYNAREC := n
|
2020-06-13 12:32:09 +02:00
|
|
|
endif
|
2019-03-20 07:41:46 +08:00
|
|
|
endif
|
|
|
|
|
ifeq ($(ARM64), y)
|
2020-06-13 12:32:09 +02:00
|
|
|
ifeq ($(NEW_DYNAREC), n)
|
2020-07-15 09:03:57 +08:00
|
|
|
DYNAREC := n
|
2020-06-13 12:32:09 +02:00
|
|
|
endif
|
2019-03-20 07:41:46 +08:00
|
|
|
endif
|
2017-10-15 02:43:13 +02:00
|
|
|
endif
|
2017-11-19 03:15:29 -05:00
|
|
|
|
|
|
|
|
|
2020-06-13 12:32:09 +02:00
|
|
|
# Path to the dynamic recompiler code.
|
|
|
|
|
ifeq ($(NEW_DYNAREC), y)
|
|
|
|
|
CODEGEN := codegen_new
|
|
|
|
|
else
|
|
|
|
|
CODEGEN := codegen
|
|
|
|
|
endif
|
|
|
|
|
|
|
|
|
|
|
2017-11-19 03:15:29 -05:00
|
|
|
# Name of the executable.
|
2021-11-29 15:42:50 +01:00
|
|
|
PROG := 86Box
|
2017-10-01 03:43:56 +02:00
|
|
|
|
2017-05-05 01:49:42 +02:00
|
|
|
|
|
|
|
|
#########################################################################
|
|
|
|
|
# Nothing should need changing from here on.. #
|
|
|
|
|
#########################################################################
|
2021-02-10 20:22:51 +00:00
|
|
|
VPATH := $(EXPATH) . $(CODEGEN) minitrace cpu \
|
2020-11-16 23:38:46 -06:00
|
|
|
cdrom chipset device disk disk/minivhd floppy \
|
2020-06-13 12:32:09 +02:00
|
|
|
game machine mem printer \
|
2020-06-13 10:17:57 +02:00
|
|
|
sio sound \
|
2017-10-02 02:15:35 -04:00
|
|
|
sound/munt sound/munt/c_interface sound/munt/sha1 \
|
2020-06-07 15:52:45 -03:00
|
|
|
sound/munt/srchelper sound/munt/srchelper/srctools/src \
|
2022-07-25 20:24:31 +02:00
|
|
|
sound/resid-fp sound/ymfm \
|
2018-05-21 19:04:05 +02:00
|
|
|
scsi video network network/slirp win
|
2017-06-14 00:55:11 -04:00
|
|
|
ifeq ($(X64), y)
|
2019-09-03 08:33:05 +01:00
|
|
|
TOOL_PREFIX := x86_64-w64-mingw32-
|
2017-06-14 00:55:11 -04:00
|
|
|
else
|
2019-09-03 08:33:05 +01:00
|
|
|
TOOL_PREFIX := i686-w64-mingw32-
|
2017-06-14 00:55:11 -04:00
|
|
|
endif
|
2017-10-10 03:07:29 -04:00
|
|
|
WINDRES := windres
|
Added the IBM 5161 ISA expansion for PC and XT;
Cleaned up the parallel port emulation, added IRQ support, and made enabling/disabling per port;
Added the Award 430NX and the Intel Classic/PCI (Alfredo, 420TX);
Finished the 586MC1;
Added 8087 emulation;
Moved Cyrix 6x86'es to the Dev branch;
Sanitized/cleaned up memregs.c/h and intel.c/h;
Split the chipsets from machines and sanitized Port 92 emulation;
Added support for the 15bpp mode to the Compaq ATI 28800;
Moved the MR 386DX and 486 machines to the Dev branch;
Ported the new dynamic recompiler from PCem, but it remains in Dev branch until after v2.00;
Ported the new timer code from PCem;
Cleaned up the CPU table of unused stuff and better optimized its structure;
Ported the Open-XT and Open-AT from VARCem, the Open-AT is in the Dev branch;
Ported the XT MFM controller rewrite and adding of more controllers (incl. two RLL ones), from VARCem;
Added the AHA-1540A and the BusTek BT-542B;
Moved the Sumo SCSI-AT to the Dev branch;
Minor IDE, FDC, and floppy drive code clean-ups;
Made NCR 5380/53C400-based cards' BIOS address configurable;
Got rid of the legacy romset variable;
Unified (video) buffer and buffer32 into one and make the unified buffer 32-bit;
Added the Amstead PPC512 per PCem patch by John Elliott;
Switched memory mapping granularity from 16k to 4k (less than 1k not possible due to internal pages);
Rewrote the CL-GD 54xx blitter, fixes Win-OS/2 on the 54x6 among other thing;
Added the Image Manager 1024 and Professional Graphics Controller per PCem patch by John Elliott and work done on VARCem;
Added Headland HT-216, GC-205 and Video 7 VGA 1024i emulation based on PCem commit;
Implemented the fuction keys for the Toshiba T1000/T1200/T3100 enhancement;
Amstrad MegaPC does now works correctly with non-internal graphics card;
The SLiRP code no longer casts a packed struct type to a non-packed struct type;
The Xi8088 and PB410a no longer hang on 86Box when PS/2 mouse is not present;
The S3 Virge on BeOS is no longer broken (was broken by build #1591);
OS/2 2.0 build 6.167 now sees key presses again;
Xi8088 now work on CGA again;
86F images converted from either the old or new variants of the HxC MFM format now work correctly;
Hardware interrupts with a vector of 0xFF are now handled correctly;
OPTi 495SX boards no longer incorrectly have 64 MB maximum RAM when 32 MB is correct;
Fixed VNC keyboard input bugs;
Fixed AT RTC periodic interrupt - Chicago 58s / 73f / 73g / 81 MIDI play no longer hangs with the build's own VTD driver;
Fixed mouse polling with internal mice - Amstrad and Olivetti mice now work correctly;
Triones ATAPI DMA driver now correctly reads a file at the end of a CD image with a sectors number not divisible by 4;
Compaq Portable now works with all graphics cards;
Fixed various MDSI Genius bugs;
Added segment limit checks and improved page fault checks for several CPU instructions - Memphis 15xx WINSETUP and Chicago 58s WINDISK.CPL no longer issue a GPF, and some S3 drivers that used to have glitches, now work correctly;
Further improved the 808x emulation, also fixes the noticably choppy sound when using 808x CPU's, also fixes #355;
OS/2 installer no logner locks up on splash screen on PS/2 Model 70 and 80, fixes #400.
Fixed several Amstead bugs, GEM no longer crashes on the Amstrad 1640, fixes #391.
Ported John Elliott's Amstrad fixes and improvement from PCem, and fixed the default language so it's correctly Engliish, fixes #278, fixes #389.
Fixed a minor IDE timing bug, fixes #388.
Fixed Toshiba T1000 RAM issues, fixes #379.
Fixed EGA/(S)VGA overscan border handling, fixes #378;
Got rid of the now long useless IDE channel 2 auto-removal, fixes #370;
Fixed the BIOS files used by the AMSTRAD PC1512, fixes #366;
Ported the Unicode CD image file name fix from VARCem, fixes #365;
Fixed high density floppy disks on the Xi8088, fixes #359;
Fixed some bugs in the Hercules emulation, fixes #346, fixes #358;
Fixed the SCSI hard disk mode sense pages, fixes #356;
Removed the AMI Unknown 386SX because of impossibility to identify the chipset, closes #349;
Fixed bugs in the serial mouse emulation, fixes #344;
Compiled 86Box binaries now include all the required .DLL's, fixes #341;
Made some combo boxes in the Settings dialog slightly wider, fixes #276.
2019-09-20 14:02:30 +02:00
|
|
|
STRIP := strip
|
2019-03-20 07:41:46 +08:00
|
|
|
ifeq ($(ARM64), y)
|
|
|
|
|
WINDRES := aarch64-w64-mingw32-windres
|
2020-07-15 09:03:57 +08:00
|
|
|
STRIP := aarch64-w64-mingw32-strip
|
2019-03-20 07:41:46 +08:00
|
|
|
endif
|
|
|
|
|
ifeq ($(ARM), y)
|
|
|
|
|
WINDRES := armv7-w64-mingw32-windres
|
2020-07-15 09:03:57 +08:00
|
|
|
STRIP := armv7-w64-mingw32-strip
|
2019-03-20 07:41:46 +08:00
|
|
|
endif
|
2021-08-29 13:59:05 +02:00
|
|
|
ifeq ($(CLANG), y)
|
|
|
|
|
CPP := clang++
|
|
|
|
|
CC := clang
|
|
|
|
|
ifeq ($(ARM64), y)
|
|
|
|
|
CPP := aarch64-w64-mingw32-clang++
|
|
|
|
|
CC := aarch64-w64-mingw32-clang
|
|
|
|
|
endif
|
|
|
|
|
ifeq ($(ARM), y)
|
|
|
|
|
CPP := armv7-w64-mingw32-clang++
|
|
|
|
|
CC := armv7-w64-mingw32-clang
|
|
|
|
|
endif
|
|
|
|
|
else
|
|
|
|
|
CPP := ${TOOL_PREFIX}g++
|
|
|
|
|
CC := ${TOOL_PREFIX}gcc
|
|
|
|
|
ifeq ($(ARM64), y)
|
|
|
|
|
CPP := aarch64-w64-mingw32-g++
|
|
|
|
|
CC := aarch64-w64-mingw32-gcc
|
|
|
|
|
endif
|
|
|
|
|
ifeq ($(ARM), y)
|
|
|
|
|
CPP := armv7-w64-mingw32-g++
|
|
|
|
|
CC := armv7-w64-mingw32-gcc
|
|
|
|
|
endif
|
|
|
|
|
endif
|
2017-09-25 20:46:14 -04:00
|
|
|
DEPS = -MMD -MF $*.d -c $<
|
2017-10-14 20:04:21 -04:00
|
|
|
DEPFILE := win/.depends
|
2017-05-05 01:49:42 +02:00
|
|
|
|
2017-09-25 04:31:20 -04:00
|
|
|
# Set up the correct toolchain flags.
|
2017-10-29 04:20:20 -05:00
|
|
|
OPTS := $(EXTRAS) $(STUFF)
|
2021-01-12 18:22:40 +01:00
|
|
|
OPTS += -Iinclude -Iinclude_make \
|
2020-06-13 12:32:09 +02:00
|
|
|
-iquote $(CODEGEN) -iquote cpu
|
2017-09-04 01:52:29 -04:00
|
|
|
ifdef EXFLAGS
|
2017-09-25 04:31:20 -04:00
|
|
|
OPTS += $(EXFLAGS)
|
2017-09-04 01:52:29 -04:00
|
|
|
endif
|
2017-09-13 01:58:18 -04:00
|
|
|
ifdef EXINC
|
2017-09-25 04:31:20 -04:00
|
|
|
OPTS += -I$(EXINC)
|
2017-09-13 01:58:18 -04:00
|
|
|
endif
|
2021-08-29 13:59:05 +02:00
|
|
|
ifeq ($(OPTIM), y)
|
|
|
|
|
DFLAGS := -march=native
|
2017-05-05 02:58:42 +02:00
|
|
|
else
|
2021-08-29 13:59:05 +02:00
|
|
|
ifeq ($(X64), y)
|
|
|
|
|
DFLAGS :=
|
2017-06-19 07:00:41 +02:00
|
|
|
else
|
2017-09-25 20:46:14 -04:00
|
|
|
DFLAGS := -march=i686
|
2017-06-19 07:00:41 +02:00
|
|
|
endif
|
2017-05-05 01:49:42 +02:00
|
|
|
endif
|
2017-06-14 00:55:11 -04:00
|
|
|
ifeq ($(DEBUG), y)
|
2022-10-27 02:39:34 +02:00
|
|
|
DFLAGS += -ggdb -DDEBUG
|
2017-09-25 20:46:14 -04:00
|
|
|
AOPTIM :=
|
2017-06-14 00:55:11 -04:00
|
|
|
ifndef COPTIM
|
2017-11-27 23:32:59 +01:00
|
|
|
COPTIM := -Og
|
2017-06-14 00:55:11 -04:00
|
|
|
endif
|
2017-05-06 17:48:33 +02:00
|
|
|
else
|
2018-05-21 19:04:05 +02:00
|
|
|
DFLAGS += -g0
|
2017-06-14 00:55:11 -04:00
|
|
|
ifeq ($(OPTIM), y)
|
2017-09-25 20:46:14 -04:00
|
|
|
AOPTIM := -mtune=native
|
2017-06-14 00:55:11 -04:00
|
|
|
ifndef COPTIM
|
2020-05-12 13:36:47 +02:00
|
|
|
COPTIM := -O3 -ffp-contract=fast -flto
|
2017-06-14 00:55:11 -04:00
|
|
|
endif
|
|
|
|
|
else
|
|
|
|
|
ifndef COPTIM
|
2017-09-25 20:46:14 -04:00
|
|
|
COPTIM := -O3
|
2017-06-14 00:55:11 -04:00
|
|
|
endif
|
|
|
|
|
endif
|
2017-05-06 17:48:33 +02:00
|
|
|
endif
|
2020-06-13 12:32:09 +02:00
|
|
|
AFLAGS := -msse2 -mfpmath=sse
|
2019-03-20 07:41:46 +08:00
|
|
|
ifeq ($(ARM), y)
|
2020-07-15 09:03:57 +08:00
|
|
|
DFLAGS := -march=armv7-a
|
|
|
|
|
AOPTIM :=
|
2019-03-20 07:41:46 +08:00
|
|
|
AFLAGS := -mfloat-abi=hard
|
|
|
|
|
endif
|
|
|
|
|
ifeq ($(ARM64), y)
|
2020-07-15 09:03:57 +08:00
|
|
|
DFLAGS := -march=armv8-a
|
|
|
|
|
AOPTIM :=
|
2019-03-20 07:41:46 +08:00
|
|
|
AFLAGS := -mfloat-abi=hard
|
|
|
|
|
endif
|
2021-01-12 18:22:40 +01:00
|
|
|
RFLAGS := --input-format=rc -O coff -Iinclude -Iinclude_make
|
2017-05-07 04:56:34 +02:00
|
|
|
ifeq ($(RELEASE), y)
|
2017-11-19 03:15:29 -05:00
|
|
|
OPTS += -DRELEASE_BUILD
|
2017-06-14 00:55:11 -04:00
|
|
|
RFLAGS += -DRELEASE_BUILD
|
2017-05-07 04:56:34 +02:00
|
|
|
endif
|
Added the IBM 5161 ISA expansion for PC and XT;
Cleaned up the parallel port emulation, added IRQ support, and made enabling/disabling per port;
Added the Award 430NX and the Intel Classic/PCI (Alfredo, 420TX);
Finished the 586MC1;
Added 8087 emulation;
Moved Cyrix 6x86'es to the Dev branch;
Sanitized/cleaned up memregs.c/h and intel.c/h;
Split the chipsets from machines and sanitized Port 92 emulation;
Added support for the 15bpp mode to the Compaq ATI 28800;
Moved the MR 386DX and 486 machines to the Dev branch;
Ported the new dynamic recompiler from PCem, but it remains in Dev branch until after v2.00;
Ported the new timer code from PCem;
Cleaned up the CPU table of unused stuff and better optimized its structure;
Ported the Open-XT and Open-AT from VARCem, the Open-AT is in the Dev branch;
Ported the XT MFM controller rewrite and adding of more controllers (incl. two RLL ones), from VARCem;
Added the AHA-1540A and the BusTek BT-542B;
Moved the Sumo SCSI-AT to the Dev branch;
Minor IDE, FDC, and floppy drive code clean-ups;
Made NCR 5380/53C400-based cards' BIOS address configurable;
Got rid of the legacy romset variable;
Unified (video) buffer and buffer32 into one and make the unified buffer 32-bit;
Added the Amstead PPC512 per PCem patch by John Elliott;
Switched memory mapping granularity from 16k to 4k (less than 1k not possible due to internal pages);
Rewrote the CL-GD 54xx blitter, fixes Win-OS/2 on the 54x6 among other thing;
Added the Image Manager 1024 and Professional Graphics Controller per PCem patch by John Elliott and work done on VARCem;
Added Headland HT-216, GC-205 and Video 7 VGA 1024i emulation based on PCem commit;
Implemented the fuction keys for the Toshiba T1000/T1200/T3100 enhancement;
Amstrad MegaPC does now works correctly with non-internal graphics card;
The SLiRP code no longer casts a packed struct type to a non-packed struct type;
The Xi8088 and PB410a no longer hang on 86Box when PS/2 mouse is not present;
The S3 Virge on BeOS is no longer broken (was broken by build #1591);
OS/2 2.0 build 6.167 now sees key presses again;
Xi8088 now work on CGA again;
86F images converted from either the old or new variants of the HxC MFM format now work correctly;
Hardware interrupts with a vector of 0xFF are now handled correctly;
OPTi 495SX boards no longer incorrectly have 64 MB maximum RAM when 32 MB is correct;
Fixed VNC keyboard input bugs;
Fixed AT RTC periodic interrupt - Chicago 58s / 73f / 73g / 81 MIDI play no longer hangs with the build's own VTD driver;
Fixed mouse polling with internal mice - Amstrad and Olivetti mice now work correctly;
Triones ATAPI DMA driver now correctly reads a file at the end of a CD image with a sectors number not divisible by 4;
Compaq Portable now works with all graphics cards;
Fixed various MDSI Genius bugs;
Added segment limit checks and improved page fault checks for several CPU instructions - Memphis 15xx WINSETUP and Chicago 58s WINDISK.CPL no longer issue a GPF, and some S3 drivers that used to have glitches, now work correctly;
Further improved the 808x emulation, also fixes the noticably choppy sound when using 808x CPU's, also fixes #355;
OS/2 installer no logner locks up on splash screen on PS/2 Model 70 and 80, fixes #400.
Fixed several Amstead bugs, GEM no longer crashes on the Amstrad 1640, fixes #391.
Ported John Elliott's Amstrad fixes and improvement from PCem, and fixed the default language so it's correctly Engliish, fixes #278, fixes #389.
Fixed a minor IDE timing bug, fixes #388.
Fixed Toshiba T1000 RAM issues, fixes #379.
Fixed EGA/(S)VGA overscan border handling, fixes #378;
Got rid of the now long useless IDE channel 2 auto-removal, fixes #370;
Fixed the BIOS files used by the AMSTRAD PC1512, fixes #366;
Ported the Unicode CD image file name fix from VARCem, fixes #365;
Fixed high density floppy disks on the Xi8088, fixes #359;
Fixed some bugs in the Hercules emulation, fixes #346, fixes #358;
Fixed the SCSI hard disk mode sense pages, fixes #356;
Removed the AMI Unknown 386SX because of impossibility to identify the chipset, closes #349;
Fixed bugs in the serial mouse emulation, fixes #344;
Compiled 86Box binaries now include all the required .DLL's, fixes #341;
Made some combo boxes in the Settings dialog slightly wider, fixes #276.
2019-09-20 14:02:30 +02:00
|
|
|
|
|
|
|
|
|
|
|
|
|
# Optional modules.
|
|
|
|
|
ifeq ($(DYNAREC), y)
|
2017-11-19 03:15:29 -05:00
|
|
|
OPTS += -DUSE_DYNAREC
|
2017-10-15 02:43:13 +02:00
|
|
|
RFLAGS += -DUSE_DYNAREC
|
2020-06-13 12:32:09 +02:00
|
|
|
|
|
|
|
|
ifeq ($(NEW_DYNAREC), y)
|
|
|
|
|
OPTS += -DUSE_NEW_DYNAREC
|
|
|
|
|
RFLAGS += -DUSE_NEW_DYNAREC
|
|
|
|
|
|
|
|
|
|
ifeq ($(X64), y)
|
|
|
|
|
PLATCG := codegen_backend_x86-64.o codegen_backend_x86-64_ops.o codegen_backend_x86-64_ops_sse.o \
|
|
|
|
|
codegen_backend_x86-64_uops.o
|
|
|
|
|
else ifeq ($(ARM64), y)
|
|
|
|
|
PLATCG := codegen_backend_arm64.o codegen_backend_arm64_ops.o codegen_backend_arm64_uops.o \
|
|
|
|
|
codegen_backend_arm64_imm.o
|
|
|
|
|
else ifeq ($(ARM), y)
|
|
|
|
|
PLATCG := codegen_backend_arm.o codegen_backend_arm_ops.o codegen_backend_arm_uops.o
|
|
|
|
|
else
|
|
|
|
|
PLATCG := codegen_backend_x86.o codegen_backend_x86_ops.o codegen_backend_x86_ops_fpu.o \
|
|
|
|
|
codegen_backend_x86_ops_sse.o codegen_backend_x86_uops.o
|
|
|
|
|
endif
|
|
|
|
|
|
|
|
|
|
DYNARECOBJ := codegen.o codegen_accumulate.o codegen_allocator.o codegen_block.o codegen_ir.o codegen_ops.o \
|
|
|
|
|
codegen_ops_3dnow.o codegen_ops_branch.o codegen_ops_arith.o codegen_ops_fpu_arith.o \
|
|
|
|
|
codegen_ops_fpu_constant.o codegen_ops_fpu_loadstore.o codegen_ops_fpu_misc.o codegen_ops_helpers.o \
|
|
|
|
|
codegen_ops_jump.o codegen_ops_logic.o codegen_ops_misc.o codegen_ops_mmx_arith.o codegen_ops_mmx_cmp.o \
|
|
|
|
|
codegen_ops_mmx_loadstore.o codegen_ops_mmx_logic.o codegen_ops_mmx_pack.o codegen_ops_mmx_shift.o \
|
|
|
|
|
codegen_ops_mov.o codegen_ops_shift.o codegen_ops_stack.o codegen_reg.o $(PLATCG)
|
|
|
|
|
else
|
|
|
|
|
ifeq ($(X64), y)
|
|
|
|
|
PLATCG := codegen_x86-64.o codegen_accumulate_x86-64.o
|
|
|
|
|
else
|
|
|
|
|
PLATCG := codegen_x86.o codegen_accumulate_x86.o
|
|
|
|
|
endif
|
|
|
|
|
|
|
|
|
|
DYNARECOBJ := codegen.o \
|
|
|
|
|
codegen_ops.o $(PLATCG)
|
|
|
|
|
endif
|
|
|
|
|
|
|
|
|
|
CGTOBJ := codegen_timing_486.o \
|
2020-04-10 01:08:52 +02:00
|
|
|
codegen_timing_686.o codegen_timing_common.o codegen_timing_k6.o codegen_timing_pentium.o \
|
2020-06-13 12:32:09 +02:00
|
|
|
codegen_timing_p6.o codegen_timing_winchip.o codegen_timing_winchip2.o
|
|
|
|
|
else
|
|
|
|
|
ifeq ($(NEW_DYNAREC), y)
|
|
|
|
|
OPTS += -DUSE_NEW_DYNAREC
|
|
|
|
|
RFLAGS += -DUSE_NEW_DYNAREC
|
|
|
|
|
endif
|
2017-10-15 02:43:13 +02:00
|
|
|
endif
|
|
|
|
|
|
2017-08-08 22:51:47 -04:00
|
|
|
ifeq ($(FLUIDSYNTH), y)
|
2017-11-19 03:15:29 -05:00
|
|
|
OPTS += -DUSE_FLUIDSYNTH
|
2017-09-25 20:46:14 -04:00
|
|
|
FSYNTHOBJ := midi_fluidsynth.o
|
2017-08-08 22:51:47 -04:00
|
|
|
endif
|
2017-09-25 04:31:20 -04:00
|
|
|
|
2017-08-27 00:58:44 +02:00
|
|
|
ifeq ($(MUNT), y)
|
2017-11-19 03:15:29 -05:00
|
|
|
OPTS += -DUSE_MUNT
|
2017-09-25 20:46:14 -04:00
|
|
|
MUNTOBJ := midi_mt32.o \
|
2022-07-24 07:50:54 +05:00
|
|
|
Analog.o BReverbModel.o Display.o File.o FileStream.o LA32Ramp.o \
|
2017-09-25 04:31:20 -04:00
|
|
|
LA32FloatWaveGenerator.o LA32WaveGenerator.o \
|
|
|
|
|
MidiStreamParser.o Part.o Partial.o PartialManager.o \
|
2020-06-07 15:52:45 -03:00
|
|
|
Poly.o ROMInfo.o SampleRateConverter.o \
|
|
|
|
|
FIRResampler.o IIR2xResampler.o LinearResampler.o ResamplerModel.o \
|
|
|
|
|
SincResampler.o InternalResampler.o \
|
|
|
|
|
Synth.o Tables.o TVA.o TVF.o TVP.o sha1.o c_interface.o
|
2017-08-27 00:58:44 +02:00
|
|
|
endif
|
2017-09-25 04:31:20 -04:00
|
|
|
|
2021-12-17 06:59:53 +01:00
|
|
|
ifeq ($(CPPTHREADS), y)
|
2021-12-17 19:59:25 +01:00
|
|
|
THREADOBJ := thread.o
|
2021-12-17 06:59:53 +01:00
|
|
|
else
|
|
|
|
|
THREADOBJ := win_thread.o
|
|
|
|
|
endif
|
|
|
|
|
|
2020-04-18 11:51:54 +02:00
|
|
|
ifeq ($(VNC), y)
|
|
|
|
|
OPTS += -DUSE_VNC
|
|
|
|
|
RFLAGS += -DUSE_VNC
|
2017-10-14 20:04:21 -04:00
|
|
|
ifneq ($(VNC_PATH), )
|
2017-11-19 03:15:29 -05:00
|
|
|
OPTS += -I$(VNC_PATH)\INCLUDE
|
2017-10-14 20:04:21 -04:00
|
|
|
VNCLIB := -L$(VNC_PATH)\LIB
|
|
|
|
|
endif
|
2021-04-06 07:17:38 +02:00
|
|
|
VNCLIB += -lvncserver
|
2017-10-23 05:20:18 -04:00
|
|
|
VNCOBJ := vnc.o vnc_keymap.o
|
2020-04-18 11:51:54 +02:00
|
|
|
endif
|
2017-10-14 00:49:08 -04:00
|
|
|
|
2021-02-10 20:22:51 +00:00
|
|
|
ifeq ($(MINITRACE), y)
|
|
|
|
|
OPTS += -DMTR_ENABLED
|
|
|
|
|
RFLAGS += -DMTR_ENABLED
|
|
|
|
|
MINITRACEOBJ := minitrace.o
|
|
|
|
|
endif
|
|
|
|
|
|
2022-07-12 21:09:21 +02:00
|
|
|
ifeq ($(FAUDIO), y)
|
|
|
|
|
OPTS += -DUSE_FAUDIO
|
|
|
|
|
endif
|
|
|
|
|
|
2017-09-04 01:52:29 -04:00
|
|
|
# Options for the DEV branch.
|
2017-07-30 23:21:11 -05:00
|
|
|
ifeq ($(DEV_BRANCH), y)
|
2017-11-19 03:15:29 -05:00
|
|
|
OPTS += -DDEV_BRANCH
|
2021-04-18 04:18:24 +02:00
|
|
|
RFLAGS += -DDEV_BRANCH
|
2017-09-25 20:46:14 -04:00
|
|
|
DEVBROBJ :=
|
2017-09-25 04:31:20 -04:00
|
|
|
|
2020-04-10 01:08:52 +02:00
|
|
|
ifeq ($(AMD_K5), y)
|
|
|
|
|
OPTS += -DUSE_AMD_K5
|
2018-02-18 13:43:49 +01:00
|
|
|
endif
|
|
|
|
|
|
2022-04-12 15:31:44 +05:00
|
|
|
ifeq ($(AN430TX), y)
|
|
|
|
|
OPTS += -DUSE_AN430TX
|
|
|
|
|
endif
|
|
|
|
|
|
2020-07-06 13:01:52 -06:00
|
|
|
ifeq ($(CYRIX_6X86), y)
|
|
|
|
|
OPTS += -DUSE_CYRIX_6X86
|
|
|
|
|
endif
|
|
|
|
|
|
2022-04-12 15:26:16 +05:00
|
|
|
ifeq ($(DESKPRO386), y)
|
|
|
|
|
OPTS += -DUSE_DESKPRO386
|
|
|
|
|
endif
|
|
|
|
|
|
2020-12-04 20:40:48 +05:00
|
|
|
ifeq ($(GUSMAX), y)
|
|
|
|
|
OPTS += -DUSE_GUSMAX
|
|
|
|
|
endif
|
|
|
|
|
|
2022-02-14 05:11:08 +05:00
|
|
|
ifeq ($(ISAMEM_RAMPAGE), y)
|
|
|
|
|
OPTS += -DUSE_ISAMEM_RAMPAGE
|
|
|
|
|
endif
|
|
|
|
|
|
|
|
|
|
ifeq ($(ISAMEM_IAB), y)
|
|
|
|
|
OPTS += -DUSE_ISAMEM_IAB
|
|
|
|
|
endif
|
|
|
|
|
|
|
|
|
|
ifeq ($(ISAMEM_BRAT), y)
|
|
|
|
|
OPTS += -DUSE_ISAMEM_BRAT
|
|
|
|
|
endif
|
|
|
|
|
|
2018-01-28 17:56:32 +01:00
|
|
|
ifeq ($(LASERXT), y)
|
|
|
|
|
OPTS += -DUSE_LASERXT
|
|
|
|
|
DEVBROBJ += m_xt_laserxt.o
|
|
|
|
|
endif
|
|
|
|
|
|
2020-04-20 14:50:03 +02:00
|
|
|
ifeq ($(MGA), y)
|
|
|
|
|
OPTS += -DUSE_MGA
|
|
|
|
|
DEVBROBJ += vid_mga.o
|
|
|
|
|
endif
|
|
|
|
|
|
2020-07-12 19:40:48 +02:00
|
|
|
ifeq ($(OPEN_AT), y)
|
|
|
|
|
OPTS += -DUSE_OPEN_AT
|
|
|
|
|
endif
|
|
|
|
|
|
2017-08-27 00:58:44 +02:00
|
|
|
ifeq ($(PAS16), y)
|
2017-11-19 03:15:29 -05:00
|
|
|
OPTS += -DUSE_PAS16
|
2017-09-25 04:31:20 -04:00
|
|
|
DEVBROBJ += snd_pas16.o
|
2017-08-27 00:58:44 +02:00
|
|
|
endif
|
2017-10-14 20:04:21 -04:00
|
|
|
|
2020-10-15 23:54:18 +02:00
|
|
|
ifeq ($(SIO_DETECT), y)
|
|
|
|
|
OPTS += -DUSE_SIO_DETECT
|
|
|
|
|
DEVBROBJ += sio_detect.o
|
|
|
|
|
endif
|
|
|
|
|
|
2018-04-25 23:51:13 +02:00
|
|
|
ifeq ($(VGAWONDER), y)
|
|
|
|
|
OPTS += -DUSE_VGAWONDER
|
|
|
|
|
endif
|
|
|
|
|
|
2018-02-18 13:43:49 +01:00
|
|
|
ifeq ($(XL24), y)
|
|
|
|
|
OPTS += -DUSE_XL24
|
|
|
|
|
endif
|
|
|
|
|
|
2021-02-11 19:07:24 +01:00
|
|
|
ifeq ($(OLIVETTI), y)
|
|
|
|
|
OPTS += -DUSE_OLIVETTI
|
2021-04-26 00:38:23 +05:00
|
|
|
DEVBROBJ += olivetti_eva.o
|
2021-02-11 19:07:24 +01:00
|
|
|
endif
|
|
|
|
|
|
2022-07-19 21:10:16 -04:00
|
|
|
ifeq ($(GDBSTUB), y)
|
|
|
|
|
OPTS += -DUSE_GDBSTUB
|
|
|
|
|
DEVBROBJ += gdbstub.o
|
|
|
|
|
endif
|
2021-02-11 19:07:24 +01:00
|
|
|
|
2017-07-30 23:21:11 -05:00
|
|
|
endif
|
2017-05-05 01:49:42 +02:00
|
|
|
|
2017-09-25 04:31:20 -04:00
|
|
|
|
2017-11-18 21:28:26 -05:00
|
|
|
# Final versions of the toolchain flags.
|
2021-11-29 15:42:50 +01:00
|
|
|
CFLAGS := $(OPTS) $(DFLAGS) $(COPTIM) $(AOPTIM) \
|
2021-04-06 07:17:38 +02:00
|
|
|
$(AFLAGS) -fomit-frame-pointer -mstackrealign -Wall \
|
2020-01-16 20:50:28 +01:00
|
|
|
-fno-strict-aliasing
|
2019-09-03 08:33:05 +01:00
|
|
|
|
|
|
|
|
# Add freetyp2 references through pkgconfig
|
2020-02-05 07:05:28 +08:00
|
|
|
CFLAGS := $(CFLAGS) `pkg-config --cflags freetype2`
|
2019-09-03 08:33:05 +01:00
|
|
|
|
2018-07-17 22:48:46 +02:00
|
|
|
CXXFLAGS := $(CFLAGS)
|
2017-11-18 21:28:26 -05:00
|
|
|
|
|
|
|
|
|
|
|
|
|
#########################################################################
|
|
|
|
|
# Create the (final) list of objects to build. #
|
|
|
|
|
#########################################################################
|
2021-12-17 06:59:53 +01:00
|
|
|
MAINOBJ := 86box.o config.o log.o random.o timer.o io.o acpi.o apm.o dma.o ddma.o \
|
2022-07-23 14:03:54 +02:00
|
|
|
nmi.o pic.o pit.o pit_fast.o port_6x.o port_92.o ppi.o pci.o mca.o fifo8.o \
|
2022-09-10 13:48:48 +02:00
|
|
|
usb.o device.o nvr.o nvr_at.o nvr_ps2.o machine_status.o ini.o \
|
2020-06-13 12:32:09 +02:00
|
|
|
$(VNCOBJ)
|
2018-02-11 20:51:42 +01:00
|
|
|
|
2020-11-30 20:08:37 -03:00
|
|
|
MEMOBJ := catalyst_flash.o i2c_eeprom.o intel_flash.o mem.o rom.o smram.o spd.o sst_flash.o
|
2017-09-25 20:46:14 -04:00
|
|
|
|
2021-08-27 13:31:47 +02:00
|
|
|
CPUOBJ := $(DYNARECOBJ) \
|
|
|
|
|
$(CGTOBJ) \
|
|
|
|
|
cpu.o cpu_table.o fpu.o x86.o \
|
2022-10-26 02:48:42 +02:00
|
|
|
8080.o 808x.o 386.o 386_common.o 386_dynarec.o 386_dynarec_ops.o \
|
2021-08-27 13:31:47 +02:00
|
|
|
x86seg.o x87.o x87_timings.o
|
2017-09-25 20:46:14 -04:00
|
|
|
|
2021-09-08 00:10:13 +02:00
|
|
|
CHIPSETOBJ := 82c100.o acc2168.o \
|
|
|
|
|
contaq_82c59x.o \
|
|
|
|
|
cs4031.o cs8230.o \
|
|
|
|
|
ali1429.o ali1489.o ali1531.o ali1541.o ali1543.o ali1621.o ali6117.o \
|
|
|
|
|
gc100.o headland.o \
|
2021-10-26 01:54:35 +02:00
|
|
|
ims8848.o intel_82335.o intel_420ex.o intel_4x0.o intel_i450kx.o intel_sio.o intel_piix.o \
|
|
|
|
|
ioapic.o \
|
2021-09-08 00:10:13 +02:00
|
|
|
neat.o \
|
|
|
|
|
opti283.o opti291.o opti391.o opti495.o opti822.o opti895.o opti5x7.o \
|
|
|
|
|
scamp.o scat.o \
|
|
|
|
|
stpc.o \
|
|
|
|
|
wd76c10.o vl82c480.o \
|
|
|
|
|
umc_8886.o umc_hb4.o \
|
|
|
|
|
via_vt82c49x.o via_vt82c505.o via_apollo.o via_pipc.o \
|
|
|
|
|
sis_85c310.o sis_85c4xx.o sis_85c496.o sis_85c50x.o sis_5511.o sis_5571.o
|
Added the IBM 5161 ISA expansion for PC and XT;
Cleaned up the parallel port emulation, added IRQ support, and made enabling/disabling per port;
Added the Award 430NX and the Intel Classic/PCI (Alfredo, 420TX);
Finished the 586MC1;
Added 8087 emulation;
Moved Cyrix 6x86'es to the Dev branch;
Sanitized/cleaned up memregs.c/h and intel.c/h;
Split the chipsets from machines and sanitized Port 92 emulation;
Added support for the 15bpp mode to the Compaq ATI 28800;
Moved the MR 386DX and 486 machines to the Dev branch;
Ported the new dynamic recompiler from PCem, but it remains in Dev branch until after v2.00;
Ported the new timer code from PCem;
Cleaned up the CPU table of unused stuff and better optimized its structure;
Ported the Open-XT and Open-AT from VARCem, the Open-AT is in the Dev branch;
Ported the XT MFM controller rewrite and adding of more controllers (incl. two RLL ones), from VARCem;
Added the AHA-1540A and the BusTek BT-542B;
Moved the Sumo SCSI-AT to the Dev branch;
Minor IDE, FDC, and floppy drive code clean-ups;
Made NCR 5380/53C400-based cards' BIOS address configurable;
Got rid of the legacy romset variable;
Unified (video) buffer and buffer32 into one and make the unified buffer 32-bit;
Added the Amstead PPC512 per PCem patch by John Elliott;
Switched memory mapping granularity from 16k to 4k (less than 1k not possible due to internal pages);
Rewrote the CL-GD 54xx blitter, fixes Win-OS/2 on the 54x6 among other thing;
Added the Image Manager 1024 and Professional Graphics Controller per PCem patch by John Elliott and work done on VARCem;
Added Headland HT-216, GC-205 and Video 7 VGA 1024i emulation based on PCem commit;
Implemented the fuction keys for the Toshiba T1000/T1200/T3100 enhancement;
Amstrad MegaPC does now works correctly with non-internal graphics card;
The SLiRP code no longer casts a packed struct type to a non-packed struct type;
The Xi8088 and PB410a no longer hang on 86Box when PS/2 mouse is not present;
The S3 Virge on BeOS is no longer broken (was broken by build #1591);
OS/2 2.0 build 6.167 now sees key presses again;
Xi8088 now work on CGA again;
86F images converted from either the old or new variants of the HxC MFM format now work correctly;
Hardware interrupts with a vector of 0xFF are now handled correctly;
OPTi 495SX boards no longer incorrectly have 64 MB maximum RAM when 32 MB is correct;
Fixed VNC keyboard input bugs;
Fixed AT RTC periodic interrupt - Chicago 58s / 73f / 73g / 81 MIDI play no longer hangs with the build's own VTD driver;
Fixed mouse polling with internal mice - Amstrad and Olivetti mice now work correctly;
Triones ATAPI DMA driver now correctly reads a file at the end of a CD image with a sectors number not divisible by 4;
Compaq Portable now works with all graphics cards;
Fixed various MDSI Genius bugs;
Added segment limit checks and improved page fault checks for several CPU instructions - Memphis 15xx WINSETUP and Chicago 58s WINDISK.CPL no longer issue a GPF, and some S3 drivers that used to have glitches, now work correctly;
Further improved the 808x emulation, also fixes the noticably choppy sound when using 808x CPU's, also fixes #355;
OS/2 installer no logner locks up on splash screen on PS/2 Model 70 and 80, fixes #400.
Fixed several Amstead bugs, GEM no longer crashes on the Amstrad 1640, fixes #391.
Ported John Elliott's Amstrad fixes and improvement from PCem, and fixed the default language so it's correctly Engliish, fixes #278, fixes #389.
Fixed a minor IDE timing bug, fixes #388.
Fixed Toshiba T1000 RAM issues, fixes #379.
Fixed EGA/(S)VGA overscan border handling, fixes #378;
Got rid of the now long useless IDE channel 2 auto-removal, fixes #370;
Fixed the BIOS files used by the AMSTRAD PC1512, fixes #366;
Ported the Unicode CD image file name fix from VARCem, fixes #365;
Fixed high density floppy disks on the Xi8088, fixes #359;
Fixed some bugs in the Hercules emulation, fixes #346, fixes #358;
Fixed the SCSI hard disk mode sense pages, fixes #356;
Removed the AMI Unknown 386SX because of impossibility to identify the chipset, closes #349;
Fixed bugs in the serial mouse emulation, fixes #344;
Compiled 86Box binaries now include all the required .DLL's, fixes #341;
Made some combo boxes in the Settings dialog slightly wider, fixes #276.
2019-09-20 14:02:30 +02:00
|
|
|
|
2017-11-08 16:27:10 -05:00
|
|
|
MCHOBJ := machine.o machine_table.o \
|
2018-01-28 17:56:32 +01:00
|
|
|
m_xt.o m_xt_compaq.o \
|
2021-02-06 23:58:39 +01:00
|
|
|
m_xt_philips.o \
|
2018-03-13 03:46:10 +01:00
|
|
|
m_xt_t1000.o m_xt_t1000_vid.o \
|
Added the IBM 5161 ISA expansion for PC and XT;
Cleaned up the parallel port emulation, added IRQ support, and made enabling/disabling per port;
Added the Award 430NX and the Intel Classic/PCI (Alfredo, 420TX);
Finished the 586MC1;
Added 8087 emulation;
Moved Cyrix 6x86'es to the Dev branch;
Sanitized/cleaned up memregs.c/h and intel.c/h;
Split the chipsets from machines and sanitized Port 92 emulation;
Added support for the 15bpp mode to the Compaq ATI 28800;
Moved the MR 386DX and 486 machines to the Dev branch;
Ported the new dynamic recompiler from PCem, but it remains in Dev branch until after v2.00;
Ported the new timer code from PCem;
Cleaned up the CPU table of unused stuff and better optimized its structure;
Ported the Open-XT and Open-AT from VARCem, the Open-AT is in the Dev branch;
Ported the XT MFM controller rewrite and adding of more controllers (incl. two RLL ones), from VARCem;
Added the AHA-1540A and the BusTek BT-542B;
Moved the Sumo SCSI-AT to the Dev branch;
Minor IDE, FDC, and floppy drive code clean-ups;
Made NCR 5380/53C400-based cards' BIOS address configurable;
Got rid of the legacy romset variable;
Unified (video) buffer and buffer32 into one and make the unified buffer 32-bit;
Added the Amstead PPC512 per PCem patch by John Elliott;
Switched memory mapping granularity from 16k to 4k (less than 1k not possible due to internal pages);
Rewrote the CL-GD 54xx blitter, fixes Win-OS/2 on the 54x6 among other thing;
Added the Image Manager 1024 and Professional Graphics Controller per PCem patch by John Elliott and work done on VARCem;
Added Headland HT-216, GC-205 and Video 7 VGA 1024i emulation based on PCem commit;
Implemented the fuction keys for the Toshiba T1000/T1200/T3100 enhancement;
Amstrad MegaPC does now works correctly with non-internal graphics card;
The SLiRP code no longer casts a packed struct type to a non-packed struct type;
The Xi8088 and PB410a no longer hang on 86Box when PS/2 mouse is not present;
The S3 Virge on BeOS is no longer broken (was broken by build #1591);
OS/2 2.0 build 6.167 now sees key presses again;
Xi8088 now work on CGA again;
86F images converted from either the old or new variants of the HxC MFM format now work correctly;
Hardware interrupts with a vector of 0xFF are now handled correctly;
OPTi 495SX boards no longer incorrectly have 64 MB maximum RAM when 32 MB is correct;
Fixed VNC keyboard input bugs;
Fixed AT RTC periodic interrupt - Chicago 58s / 73f / 73g / 81 MIDI play no longer hangs with the build's own VTD driver;
Fixed mouse polling with internal mice - Amstrad and Olivetti mice now work correctly;
Triones ATAPI DMA driver now correctly reads a file at the end of a CD image with a sectors number not divisible by 4;
Compaq Portable now works with all graphics cards;
Fixed various MDSI Genius bugs;
Added segment limit checks and improved page fault checks for several CPU instructions - Memphis 15xx WINSETUP and Chicago 58s WINDISK.CPL no longer issue a GPF, and some S3 drivers that used to have glitches, now work correctly;
Further improved the 808x emulation, also fixes the noticably choppy sound when using 808x CPU's, also fixes #355;
OS/2 installer no logner locks up on splash screen on PS/2 Model 70 and 80, fixes #400.
Fixed several Amstead bugs, GEM no longer crashes on the Amstrad 1640, fixes #391.
Ported John Elliott's Amstrad fixes and improvement from PCem, and fixed the default language so it's correctly Engliish, fixes #278, fixes #389.
Fixed a minor IDE timing bug, fixes #388.
Fixed Toshiba T1000 RAM issues, fixes #379.
Fixed EGA/(S)VGA overscan border handling, fixes #378;
Got rid of the now long useless IDE channel 2 auto-removal, fixes #370;
Fixed the BIOS files used by the AMSTRAD PC1512, fixes #366;
Ported the Unicode CD image file name fix from VARCem, fixes #365;
Fixed high density floppy disks on the Xi8088, fixes #359;
Fixed some bugs in the Hercules emulation, fixes #346, fixes #358;
Fixed the SCSI hard disk mode sense pages, fixes #356;
Removed the AMI Unknown 386SX because of impossibility to identify the chipset, closes #349;
Fixed bugs in the serial mouse emulation, fixes #344;
Compiled 86Box binaries now include all the required .DLL's, fixes #341;
Made some combo boxes in the Settings dialog slightly wider, fixes #276.
2019-09-20 14:02:30 +02:00
|
|
|
m_xt_xi8088.o m_xt_zenith.o \
|
2018-02-11 20:51:42 +01:00
|
|
|
m_pcjr.o \
|
Added the IBM 5161 ISA expansion for PC and XT;
Cleaned up the parallel port emulation, added IRQ support, and made enabling/disabling per port;
Added the Award 430NX and the Intel Classic/PCI (Alfredo, 420TX);
Finished the 586MC1;
Added 8087 emulation;
Moved Cyrix 6x86'es to the Dev branch;
Sanitized/cleaned up memregs.c/h and intel.c/h;
Split the chipsets from machines and sanitized Port 92 emulation;
Added support for the 15bpp mode to the Compaq ATI 28800;
Moved the MR 386DX and 486 machines to the Dev branch;
Ported the new dynamic recompiler from PCem, but it remains in Dev branch until after v2.00;
Ported the new timer code from PCem;
Cleaned up the CPU table of unused stuff and better optimized its structure;
Ported the Open-XT and Open-AT from VARCem, the Open-AT is in the Dev branch;
Ported the XT MFM controller rewrite and adding of more controllers (incl. two RLL ones), from VARCem;
Added the AHA-1540A and the BusTek BT-542B;
Moved the Sumo SCSI-AT to the Dev branch;
Minor IDE, FDC, and floppy drive code clean-ups;
Made NCR 5380/53C400-based cards' BIOS address configurable;
Got rid of the legacy romset variable;
Unified (video) buffer and buffer32 into one and make the unified buffer 32-bit;
Added the Amstead PPC512 per PCem patch by John Elliott;
Switched memory mapping granularity from 16k to 4k (less than 1k not possible due to internal pages);
Rewrote the CL-GD 54xx blitter, fixes Win-OS/2 on the 54x6 among other thing;
Added the Image Manager 1024 and Professional Graphics Controller per PCem patch by John Elliott and work done on VARCem;
Added Headland HT-216, GC-205 and Video 7 VGA 1024i emulation based on PCem commit;
Implemented the fuction keys for the Toshiba T1000/T1200/T3100 enhancement;
Amstrad MegaPC does now works correctly with non-internal graphics card;
The SLiRP code no longer casts a packed struct type to a non-packed struct type;
The Xi8088 and PB410a no longer hang on 86Box when PS/2 mouse is not present;
The S3 Virge on BeOS is no longer broken (was broken by build #1591);
OS/2 2.0 build 6.167 now sees key presses again;
Xi8088 now work on CGA again;
86F images converted from either the old or new variants of the HxC MFM format now work correctly;
Hardware interrupts with a vector of 0xFF are now handled correctly;
OPTi 495SX boards no longer incorrectly have 64 MB maximum RAM when 32 MB is correct;
Fixed VNC keyboard input bugs;
Fixed AT RTC periodic interrupt - Chicago 58s / 73f / 73g / 81 MIDI play no longer hangs with the build's own VTD driver;
Fixed mouse polling with internal mice - Amstrad and Olivetti mice now work correctly;
Triones ATAPI DMA driver now correctly reads a file at the end of a CD image with a sectors number not divisible by 4;
Compaq Portable now works with all graphics cards;
Fixed various MDSI Genius bugs;
Added segment limit checks and improved page fault checks for several CPU instructions - Memphis 15xx WINSETUP and Chicago 58s WINDISK.CPL no longer issue a GPF, and some S3 drivers that used to have glitches, now work correctly;
Further improved the 808x emulation, also fixes the noticably choppy sound when using 808x CPU's, also fixes #355;
OS/2 installer no logner locks up on splash screen on PS/2 Model 70 and 80, fixes #400.
Fixed several Amstead bugs, GEM no longer crashes on the Amstrad 1640, fixes #391.
Ported John Elliott's Amstrad fixes and improvement from PCem, and fixed the default language so it's correctly Engliish, fixes #278, fixes #389.
Fixed a minor IDE timing bug, fixes #388.
Fixed Toshiba T1000 RAM issues, fixes #379.
Fixed EGA/(S)VGA overscan border handling, fixes #378;
Got rid of the now long useless IDE channel 2 auto-removal, fixes #370;
Fixed the BIOS files used by the AMSTRAD PC1512, fixes #366;
Ported the Unicode CD image file name fix from VARCem, fixes #365;
Fixed high density floppy disks on the Xi8088, fixes #359;
Fixed some bugs in the Hercules emulation, fixes #346, fixes #358;
Fixed the SCSI hard disk mode sense pages, fixes #356;
Removed the AMI Unknown 386SX because of impossibility to identify the chipset, closes #349;
Fixed bugs in the serial mouse emulation, fixes #344;
Compiled 86Box binaries now include all the required .DLL's, fixes #341;
Made some combo boxes in the Settings dialog slightly wider, fixes #276.
2019-09-20 14:02:30 +02:00
|
|
|
m_amstrad.o m_europc.o \
|
Add the Epson Equity LT Machine
This is a portable computer based around NEC V30 processor and what
seems to be a proprietary Epson chip set.
The chip set provides a XT-class keyboard controller/PPI, controller for
two DD floppy drives, CGA-compatible video, one serial and one parallel
port. There's no datasheet for the chip set.
The machine has a 640x200 monochromatic LCD display, optionally backlit
and an external CRT connector. There can be up to two floppy drives,
one of them optionally connected to an external connector (shared with
the parallel port). There are physical switches to enable the external
CRT and floppy connectors.
There's a battery-backed RTC/NVRAM that holds configuration, including
backlight timeout, UART configuration and floppy types.
The machine has two expansion slots, half the pich of a regular 8-bit
ISA, but electrically compatible. Hard drive and modem adapters were
available, I don't have them.
The checksums of the ROM images are as follows:
SHA1(2d58397f81f006e7729648dd3720e3004e20ac36) =
roms/machines/elt/HLO-B2.rom
SHA1(8c06cd3905f71f15fec2a3759cea5b2c5dc602c3) =
roms/machines/elt/HLO-A2.rom
2022-09-13 12:56:08 +02:00
|
|
|
m_elt.o \
|
2021-09-06 23:12:01 +02:00
|
|
|
m_xt_olivetti.o m_tandy.o m_v86p.o \
|
Added the IBM 5161 ISA expansion for PC and XT;
Cleaned up the parallel port emulation, added IRQ support, and made enabling/disabling per port;
Added the Award 430NX and the Intel Classic/PCI (Alfredo, 420TX);
Finished the 586MC1;
Added 8087 emulation;
Moved Cyrix 6x86'es to the Dev branch;
Sanitized/cleaned up memregs.c/h and intel.c/h;
Split the chipsets from machines and sanitized Port 92 emulation;
Added support for the 15bpp mode to the Compaq ATI 28800;
Moved the MR 386DX and 486 machines to the Dev branch;
Ported the new dynamic recompiler from PCem, but it remains in Dev branch until after v2.00;
Ported the new timer code from PCem;
Cleaned up the CPU table of unused stuff and better optimized its structure;
Ported the Open-XT and Open-AT from VARCem, the Open-AT is in the Dev branch;
Ported the XT MFM controller rewrite and adding of more controllers (incl. two RLL ones), from VARCem;
Added the AHA-1540A and the BusTek BT-542B;
Moved the Sumo SCSI-AT to the Dev branch;
Minor IDE, FDC, and floppy drive code clean-ups;
Made NCR 5380/53C400-based cards' BIOS address configurable;
Got rid of the legacy romset variable;
Unified (video) buffer and buffer32 into one and make the unified buffer 32-bit;
Added the Amstead PPC512 per PCem patch by John Elliott;
Switched memory mapping granularity from 16k to 4k (less than 1k not possible due to internal pages);
Rewrote the CL-GD 54xx blitter, fixes Win-OS/2 on the 54x6 among other thing;
Added the Image Manager 1024 and Professional Graphics Controller per PCem patch by John Elliott and work done on VARCem;
Added Headland HT-216, GC-205 and Video 7 VGA 1024i emulation based on PCem commit;
Implemented the fuction keys for the Toshiba T1000/T1200/T3100 enhancement;
Amstrad MegaPC does now works correctly with non-internal graphics card;
The SLiRP code no longer casts a packed struct type to a non-packed struct type;
The Xi8088 and PB410a no longer hang on 86Box when PS/2 mouse is not present;
The S3 Virge on BeOS is no longer broken (was broken by build #1591);
OS/2 2.0 build 6.167 now sees key presses again;
Xi8088 now work on CGA again;
86F images converted from either the old or new variants of the HxC MFM format now work correctly;
Hardware interrupts with a vector of 0xFF are now handled correctly;
OPTi 495SX boards no longer incorrectly have 64 MB maximum RAM when 32 MB is correct;
Fixed VNC keyboard input bugs;
Fixed AT RTC periodic interrupt - Chicago 58s / 73f / 73g / 81 MIDI play no longer hangs with the build's own VTD driver;
Fixed mouse polling with internal mice - Amstrad and Olivetti mice now work correctly;
Triones ATAPI DMA driver now correctly reads a file at the end of a CD image with a sectors number not divisible by 4;
Compaq Portable now works with all graphics cards;
Fixed various MDSI Genius bugs;
Added segment limit checks and improved page fault checks for several CPU instructions - Memphis 15xx WINSETUP and Chicago 58s WINDISK.CPL no longer issue a GPF, and some S3 drivers that used to have glitches, now work correctly;
Further improved the 808x emulation, also fixes the noticably choppy sound when using 808x CPU's, also fixes #355;
OS/2 installer no logner locks up on splash screen on PS/2 Model 70 and 80, fixes #400.
Fixed several Amstead bugs, GEM no longer crashes on the Amstrad 1640, fixes #391.
Ported John Elliott's Amstrad fixes and improvement from PCem, and fixed the default language so it's correctly Engliish, fixes #278, fixes #389.
Fixed a minor IDE timing bug, fixes #388.
Fixed Toshiba T1000 RAM issues, fixes #379.
Fixed EGA/(S)VGA overscan border handling, fixes #378;
Got rid of the now long useless IDE channel 2 auto-removal, fixes #370;
Fixed the BIOS files used by the AMSTRAD PC1512, fixes #366;
Ported the Unicode CD image file name fix from VARCem, fixes #365;
Fixed high density floppy disks on the Xi8088, fixes #359;
Fixed some bugs in the Hercules emulation, fixes #346, fixes #358;
Fixed the SCSI hard disk mode sense pages, fixes #356;
Removed the AMI Unknown 386SX because of impossibility to identify the chipset, closes #349;
Fixed bugs in the serial mouse emulation, fixes #344;
Compiled 86Box binaries now include all the required .DLL's, fixes #341;
Made some combo boxes in the Settings dialog slightly wider, fixes #276.
2019-09-20 14:02:30 +02:00
|
|
|
m_at.o m_at_commodore.o \
|
2018-03-13 03:46:10 +01:00
|
|
|
m_at_t3100e.o m_at_t3100e_vid.o \
|
2018-04-25 23:51:13 +02:00
|
|
|
m_ps1.o m_ps1_hdc.o \
|
2018-02-11 20:51:42 +01:00
|
|
|
m_ps2_isa.o m_ps2_mca.o \
|
Added the IBM 5161 ISA expansion for PC and XT;
Cleaned up the parallel port emulation, added IRQ support, and made enabling/disabling per port;
Added the Award 430NX and the Intel Classic/PCI (Alfredo, 420TX);
Finished the 586MC1;
Added 8087 emulation;
Moved Cyrix 6x86'es to the Dev branch;
Sanitized/cleaned up memregs.c/h and intel.c/h;
Split the chipsets from machines and sanitized Port 92 emulation;
Added support for the 15bpp mode to the Compaq ATI 28800;
Moved the MR 386DX and 486 machines to the Dev branch;
Ported the new dynamic recompiler from PCem, but it remains in Dev branch until after v2.00;
Ported the new timer code from PCem;
Cleaned up the CPU table of unused stuff and better optimized its structure;
Ported the Open-XT and Open-AT from VARCem, the Open-AT is in the Dev branch;
Ported the XT MFM controller rewrite and adding of more controllers (incl. two RLL ones), from VARCem;
Added the AHA-1540A and the BusTek BT-542B;
Moved the Sumo SCSI-AT to the Dev branch;
Minor IDE, FDC, and floppy drive code clean-ups;
Made NCR 5380/53C400-based cards' BIOS address configurable;
Got rid of the legacy romset variable;
Unified (video) buffer and buffer32 into one and make the unified buffer 32-bit;
Added the Amstead PPC512 per PCem patch by John Elliott;
Switched memory mapping granularity from 16k to 4k (less than 1k not possible due to internal pages);
Rewrote the CL-GD 54xx blitter, fixes Win-OS/2 on the 54x6 among other thing;
Added the Image Manager 1024 and Professional Graphics Controller per PCem patch by John Elliott and work done on VARCem;
Added Headland HT-216, GC-205 and Video 7 VGA 1024i emulation based on PCem commit;
Implemented the fuction keys for the Toshiba T1000/T1200/T3100 enhancement;
Amstrad MegaPC does now works correctly with non-internal graphics card;
The SLiRP code no longer casts a packed struct type to a non-packed struct type;
The Xi8088 and PB410a no longer hang on 86Box when PS/2 mouse is not present;
The S3 Virge on BeOS is no longer broken (was broken by build #1591);
OS/2 2.0 build 6.167 now sees key presses again;
Xi8088 now work on CGA again;
86F images converted from either the old or new variants of the HxC MFM format now work correctly;
Hardware interrupts with a vector of 0xFF are now handled correctly;
OPTi 495SX boards no longer incorrectly have 64 MB maximum RAM when 32 MB is correct;
Fixed VNC keyboard input bugs;
Fixed AT RTC periodic interrupt - Chicago 58s / 73f / 73g / 81 MIDI play no longer hangs with the build's own VTD driver;
Fixed mouse polling with internal mice - Amstrad and Olivetti mice now work correctly;
Triones ATAPI DMA driver now correctly reads a file at the end of a CD image with a sectors number not divisible by 4;
Compaq Portable now works with all graphics cards;
Fixed various MDSI Genius bugs;
Added segment limit checks and improved page fault checks for several CPU instructions - Memphis 15xx WINSETUP and Chicago 58s WINDISK.CPL no longer issue a GPF, and some S3 drivers that used to have glitches, now work correctly;
Further improved the 808x emulation, also fixes the noticably choppy sound when using 808x CPU's, also fixes #355;
OS/2 installer no logner locks up on splash screen on PS/2 Model 70 and 80, fixes #400.
Fixed several Amstead bugs, GEM no longer crashes on the Amstrad 1640, fixes #391.
Ported John Elliott's Amstrad fixes and improvement from PCem, and fixed the default language so it's correctly Engliish, fixes #278, fixes #389.
Fixed a minor IDE timing bug, fixes #388.
Fixed Toshiba T1000 RAM issues, fixes #379.
Fixed EGA/(S)VGA overscan border handling, fixes #378;
Got rid of the now long useless IDE channel 2 auto-removal, fixes #370;
Fixed the BIOS files used by the AMSTRAD PC1512, fixes #366;
Ported the Unicode CD image file name fix from VARCem, fixes #365;
Fixed high density floppy disks on the Xi8088, fixes #359;
Fixed some bugs in the Hercules emulation, fixes #346, fixes #358;
Fixed the SCSI hard disk mode sense pages, fixes #356;
Removed the AMI Unknown 386SX because of impossibility to identify the chipset, closes #349;
Fixed bugs in the serial mouse emulation, fixes #344;
Compiled 86Box binaries now include all the required .DLL's, fixes #341;
Made some combo boxes in the Settings dialog slightly wider, fixes #276.
2019-09-20 14:02:30 +02:00
|
|
|
m_at_compaq.o \
|
|
|
|
|
m_at_286_386sx.o m_at_386dx_486.o \
|
2021-07-04 17:40:39 +02:00
|
|
|
m_at_socket4.o m_at_socket5.o m_at_socket7_3v.o m_at_socket7.o m_at_sockets7.o \
|
2020-08-27 17:15:02 +03:00
|
|
|
m_at_socket8.o m_at_slot1.o m_at_slot2.o m_at_socket370.o \
|
|
|
|
|
m_at_misc.o
|
Added the IBM 5161 ISA expansion for PC and XT;
Cleaned up the parallel port emulation, added IRQ support, and made enabling/disabling per port;
Added the Award 430NX and the Intel Classic/PCI (Alfredo, 420TX);
Finished the 586MC1;
Added 8087 emulation;
Moved Cyrix 6x86'es to the Dev branch;
Sanitized/cleaned up memregs.c/h and intel.c/h;
Split the chipsets from machines and sanitized Port 92 emulation;
Added support for the 15bpp mode to the Compaq ATI 28800;
Moved the MR 386DX and 486 machines to the Dev branch;
Ported the new dynamic recompiler from PCem, but it remains in Dev branch until after v2.00;
Ported the new timer code from PCem;
Cleaned up the CPU table of unused stuff and better optimized its structure;
Ported the Open-XT and Open-AT from VARCem, the Open-AT is in the Dev branch;
Ported the XT MFM controller rewrite and adding of more controllers (incl. two RLL ones), from VARCem;
Added the AHA-1540A and the BusTek BT-542B;
Moved the Sumo SCSI-AT to the Dev branch;
Minor IDE, FDC, and floppy drive code clean-ups;
Made NCR 5380/53C400-based cards' BIOS address configurable;
Got rid of the legacy romset variable;
Unified (video) buffer and buffer32 into one and make the unified buffer 32-bit;
Added the Amstead PPC512 per PCem patch by John Elliott;
Switched memory mapping granularity from 16k to 4k (less than 1k not possible due to internal pages);
Rewrote the CL-GD 54xx blitter, fixes Win-OS/2 on the 54x6 among other thing;
Added the Image Manager 1024 and Professional Graphics Controller per PCem patch by John Elliott and work done on VARCem;
Added Headland HT-216, GC-205 and Video 7 VGA 1024i emulation based on PCem commit;
Implemented the fuction keys for the Toshiba T1000/T1200/T3100 enhancement;
Amstrad MegaPC does now works correctly with non-internal graphics card;
The SLiRP code no longer casts a packed struct type to a non-packed struct type;
The Xi8088 and PB410a no longer hang on 86Box when PS/2 mouse is not present;
The S3 Virge on BeOS is no longer broken (was broken by build #1591);
OS/2 2.0 build 6.167 now sees key presses again;
Xi8088 now work on CGA again;
86F images converted from either the old or new variants of the HxC MFM format now work correctly;
Hardware interrupts with a vector of 0xFF are now handled correctly;
OPTi 495SX boards no longer incorrectly have 64 MB maximum RAM when 32 MB is correct;
Fixed VNC keyboard input bugs;
Fixed AT RTC periodic interrupt - Chicago 58s / 73f / 73g / 81 MIDI play no longer hangs with the build's own VTD driver;
Fixed mouse polling with internal mice - Amstrad and Olivetti mice now work correctly;
Triones ATAPI DMA driver now correctly reads a file at the end of a CD image with a sectors number not divisible by 4;
Compaq Portable now works with all graphics cards;
Fixed various MDSI Genius bugs;
Added segment limit checks and improved page fault checks for several CPU instructions - Memphis 15xx WINSETUP and Chicago 58s WINDISK.CPL no longer issue a GPF, and some S3 drivers that used to have glitches, now work correctly;
Further improved the 808x emulation, also fixes the noticably choppy sound when using 808x CPU's, also fixes #355;
OS/2 installer no logner locks up on splash screen on PS/2 Model 70 and 80, fixes #400.
Fixed several Amstead bugs, GEM no longer crashes on the Amstrad 1640, fixes #391.
Ported John Elliott's Amstrad fixes and improvement from PCem, and fixed the default language so it's correctly Engliish, fixes #278, fixes #389.
Fixed a minor IDE timing bug, fixes #388.
Fixed Toshiba T1000 RAM issues, fixes #379.
Fixed EGA/(S)VGA overscan border handling, fixes #378;
Got rid of the now long useless IDE channel 2 auto-removal, fixes #370;
Fixed the BIOS files used by the AMSTRAD PC1512, fixes #366;
Ported the Unicode CD image file name fix from VARCem, fixes #365;
Fixed high density floppy disks on the Xi8088, fixes #359;
Fixed some bugs in the Hercules emulation, fixes #346, fixes #358;
Fixed the SCSI hard disk mode sense pages, fixes #356;
Removed the AMI Unknown 386SX because of impossibility to identify the chipset, closes #349;
Fixed bugs in the serial mouse emulation, fixes #344;
Compiled 86Box binaries now include all the required .DLL's, fixes #341;
Made some combo boxes in the Settings dialog slightly wider, fixes #276.
2019-09-20 14:02:30 +02:00
|
|
|
|
2021-08-02 06:59:46 +02:00
|
|
|
ifeq ($(NEW_KBC), y)
|
2021-08-02 06:55:35 +02:00
|
|
|
DEVOBJ := bugger.o cartridge.o cassette.o hasp.o hwm.o hwm_lm75.o hwm_lm78.o hwm_gl518sm.o hwm_vt82c686.o \
|
2021-07-09 04:38:29 +02:00
|
|
|
ibm_5161.o isamem.o isartc.o lpt.o pci_bridge.o postcard.o serial.o \
|
2021-07-12 05:56:06 +02:00
|
|
|
clock_ics9xxx.o isapnp.o \
|
2021-07-09 04:43:12 +02:00
|
|
|
i2c.o i2c_gpio.o smbus_ali7101.o smbus_piix4.o \
|
2021-07-04 17:40:39 +02:00
|
|
|
keyboard.o \
|
|
|
|
|
keyboard_xt.o kbc_at.o kbd_at.o \
|
|
|
|
|
mouse.o \
|
|
|
|
|
mouse_bus.o \
|
|
|
|
|
mouse_serial.o mouse_ps2.o \
|
|
|
|
|
phoenix_486_jumper.o
|
|
|
|
|
else
|
2021-07-29 20:34:55 +02:00
|
|
|
DEVOBJ := bugger.o cartridge.o cassette.o hasp.o hwm.o hwm_lm75.o hwm_lm78.o hwm_gl518sm.o hwm_vt82c686.o \
|
2021-07-08 21:49:08 -03:00
|
|
|
ibm_5161.o isamem.o isartc.o lpt.o pci_bridge.o postcard.o serial.o \
|
2021-07-12 05:56:06 +02:00
|
|
|
clock_ics9xxx.o isapnp.o \
|
2021-07-04 18:22:00 +02:00
|
|
|
i2c.o i2c_gpio.o smbus_ali7101.o smbus_piix4.o \
|
2020-06-13 12:32:09 +02:00
|
|
|
keyboard.o \
|
|
|
|
|
keyboard_xt.o keyboard_at.o \
|
|
|
|
|
mouse.o \
|
2021-02-06 23:58:39 +01:00
|
|
|
mouse_bus.o \
|
2020-09-29 12:07:03 +03:00
|
|
|
mouse_serial.o mouse_ps2.o \
|
2021-02-06 23:58:39 +01:00
|
|
|
phoenix_486_jumper.o
|
2021-07-04 17:40:39 +02:00
|
|
|
endif
|
2020-06-13 12:32:09 +02:00
|
|
|
|
2022-07-23 03:16:25 +02:00
|
|
|
SIOOBJ := sio_acc3221.o sio_ali5123.o \
|
2021-08-21 18:19:10 +02:00
|
|
|
sio_f82c710.o sio_82091aa.o sio_fdc37c6xx.o \
|
|
|
|
|
sio_fdc37c67x.o sio_fdc37c669.o sio_fdc37c93x.o sio_fdc37m60x.o \
|
2021-04-21 21:54:23 +03:00
|
|
|
sio_it8661f.o \
|
2021-01-17 14:39:45 +01:00
|
|
|
sio_pc87306.o sio_pc87307.o sio_pc87309.o sio_pc87310.o sio_pc87311.o sio_pc87332.o \
|
2021-01-20 13:37:39 +02:00
|
|
|
sio_prime3b.o sio_prime3c.o \
|
2020-02-29 19:12:23 +01:00
|
|
|
sio_w83787f.o \
|
|
|
|
|
sio_w83877f.o sio_w83977f.o \
|
2020-10-13 19:27:48 -03:00
|
|
|
sio_um8669f.o \
|
|
|
|
|
sio_vt82c686.o
|
2017-09-25 20:46:14 -04:00
|
|
|
|
2021-01-31 13:49:14 +02:00
|
|
|
FDDOBJ := fdd.o fdc.o fdc_magitronic.o fdc_pii15xb.o \
|
2020-06-16 16:44:25 +02:00
|
|
|
fdi2raw.o \
|
2018-01-17 18:43:36 +01:00
|
|
|
fdd_common.o fdd_86f.o \
|
|
|
|
|
fdd_fdi.o fdd_imd.o fdd_img.o fdd_json.o \
|
2019-02-06 03:34:39 +01:00
|
|
|
fdd_mfm.o fdd_td0.o
|
2017-09-25 20:46:14 -04:00
|
|
|
|
2020-06-13 12:32:09 +02:00
|
|
|
GAMEOBJ := gameport.o \
|
|
|
|
|
joystick_standard.o joystick_ch_flightstick_pro.o \
|
|
|
|
|
joystick_sw_pad.o joystick_tm_fcs.o
|
|
|
|
|
|
2017-09-30 16:56:38 -04:00
|
|
|
HDDOBJ := hdd.o \
|
|
|
|
|
hdd_image.o hdd_table.o \
|
|
|
|
|
hdc.o \
|
Added the IBM 5161 ISA expansion for PC and XT;
Cleaned up the parallel port emulation, added IRQ support, and made enabling/disabling per port;
Added the Award 430NX and the Intel Classic/PCI (Alfredo, 420TX);
Finished the 586MC1;
Added 8087 emulation;
Moved Cyrix 6x86'es to the Dev branch;
Sanitized/cleaned up memregs.c/h and intel.c/h;
Split the chipsets from machines and sanitized Port 92 emulation;
Added support for the 15bpp mode to the Compaq ATI 28800;
Moved the MR 386DX and 486 machines to the Dev branch;
Ported the new dynamic recompiler from PCem, but it remains in Dev branch until after v2.00;
Ported the new timer code from PCem;
Cleaned up the CPU table of unused stuff and better optimized its structure;
Ported the Open-XT and Open-AT from VARCem, the Open-AT is in the Dev branch;
Ported the XT MFM controller rewrite and adding of more controllers (incl. two RLL ones), from VARCem;
Added the AHA-1540A and the BusTek BT-542B;
Moved the Sumo SCSI-AT to the Dev branch;
Minor IDE, FDC, and floppy drive code clean-ups;
Made NCR 5380/53C400-based cards' BIOS address configurable;
Got rid of the legacy romset variable;
Unified (video) buffer and buffer32 into one and make the unified buffer 32-bit;
Added the Amstead PPC512 per PCem patch by John Elliott;
Switched memory mapping granularity from 16k to 4k (less than 1k not possible due to internal pages);
Rewrote the CL-GD 54xx blitter, fixes Win-OS/2 on the 54x6 among other thing;
Added the Image Manager 1024 and Professional Graphics Controller per PCem patch by John Elliott and work done on VARCem;
Added Headland HT-216, GC-205 and Video 7 VGA 1024i emulation based on PCem commit;
Implemented the fuction keys for the Toshiba T1000/T1200/T3100 enhancement;
Amstrad MegaPC does now works correctly with non-internal graphics card;
The SLiRP code no longer casts a packed struct type to a non-packed struct type;
The Xi8088 and PB410a no longer hang on 86Box when PS/2 mouse is not present;
The S3 Virge on BeOS is no longer broken (was broken by build #1591);
OS/2 2.0 build 6.167 now sees key presses again;
Xi8088 now work on CGA again;
86F images converted from either the old or new variants of the HxC MFM format now work correctly;
Hardware interrupts with a vector of 0xFF are now handled correctly;
OPTi 495SX boards no longer incorrectly have 64 MB maximum RAM when 32 MB is correct;
Fixed VNC keyboard input bugs;
Fixed AT RTC periodic interrupt - Chicago 58s / 73f / 73g / 81 MIDI play no longer hangs with the build's own VTD driver;
Fixed mouse polling with internal mice - Amstrad and Olivetti mice now work correctly;
Triones ATAPI DMA driver now correctly reads a file at the end of a CD image with a sectors number not divisible by 4;
Compaq Portable now works with all graphics cards;
Fixed various MDSI Genius bugs;
Added segment limit checks and improved page fault checks for several CPU instructions - Memphis 15xx WINSETUP and Chicago 58s WINDISK.CPL no longer issue a GPF, and some S3 drivers that used to have glitches, now work correctly;
Further improved the 808x emulation, also fixes the noticably choppy sound when using 808x CPU's, also fixes #355;
OS/2 installer no logner locks up on splash screen on PS/2 Model 70 and 80, fixes #400.
Fixed several Amstead bugs, GEM no longer crashes on the Amstrad 1640, fixes #391.
Ported John Elliott's Amstrad fixes and improvement from PCem, and fixed the default language so it's correctly Engliish, fixes #278, fixes #389.
Fixed a minor IDE timing bug, fixes #388.
Fixed Toshiba T1000 RAM issues, fixes #379.
Fixed EGA/(S)VGA overscan border handling, fixes #378;
Got rid of the now long useless IDE channel 2 auto-removal, fixes #370;
Fixed the BIOS files used by the AMSTRAD PC1512, fixes #366;
Ported the Unicode CD image file name fix from VARCem, fixes #365;
Fixed high density floppy disks on the Xi8088, fixes #359;
Fixed some bugs in the Hercules emulation, fixes #346, fixes #358;
Fixed the SCSI hard disk mode sense pages, fixes #356;
Removed the AMI Unknown 386SX because of impossibility to identify the chipset, closes #349;
Fixed bugs in the serial mouse emulation, fixes #344;
Compiled 86Box binaries now include all the required .DLL's, fixes #341;
Made some combo boxes in the Settings dialog slightly wider, fixes #276.
2019-09-20 14:02:30 +02:00
|
|
|
hdc_st506_xt.o hdc_st506_at.o \
|
2018-04-25 23:51:13 +02:00
|
|
|
hdc_xta.o \
|
2018-02-11 20:51:42 +01:00
|
|
|
hdc_esdi_at.o hdc_esdi_mca.o \
|
Added the IBM 5161 ISA expansion for PC and XT;
Cleaned up the parallel port emulation, added IRQ support, and made enabling/disabling per port;
Added the Award 430NX and the Intel Classic/PCI (Alfredo, 420TX);
Finished the 586MC1;
Added 8087 emulation;
Moved Cyrix 6x86'es to the Dev branch;
Sanitized/cleaned up memregs.c/h and intel.c/h;
Split the chipsets from machines and sanitized Port 92 emulation;
Added support for the 15bpp mode to the Compaq ATI 28800;
Moved the MR 386DX and 486 machines to the Dev branch;
Ported the new dynamic recompiler from PCem, but it remains in Dev branch until after v2.00;
Ported the new timer code from PCem;
Cleaned up the CPU table of unused stuff and better optimized its structure;
Ported the Open-XT and Open-AT from VARCem, the Open-AT is in the Dev branch;
Ported the XT MFM controller rewrite and adding of more controllers (incl. two RLL ones), from VARCem;
Added the AHA-1540A and the BusTek BT-542B;
Moved the Sumo SCSI-AT to the Dev branch;
Minor IDE, FDC, and floppy drive code clean-ups;
Made NCR 5380/53C400-based cards' BIOS address configurable;
Got rid of the legacy romset variable;
Unified (video) buffer and buffer32 into one and make the unified buffer 32-bit;
Added the Amstead PPC512 per PCem patch by John Elliott;
Switched memory mapping granularity from 16k to 4k (less than 1k not possible due to internal pages);
Rewrote the CL-GD 54xx blitter, fixes Win-OS/2 on the 54x6 among other thing;
Added the Image Manager 1024 and Professional Graphics Controller per PCem patch by John Elliott and work done on VARCem;
Added Headland HT-216, GC-205 and Video 7 VGA 1024i emulation based on PCem commit;
Implemented the fuction keys for the Toshiba T1000/T1200/T3100 enhancement;
Amstrad MegaPC does now works correctly with non-internal graphics card;
The SLiRP code no longer casts a packed struct type to a non-packed struct type;
The Xi8088 and PB410a no longer hang on 86Box when PS/2 mouse is not present;
The S3 Virge on BeOS is no longer broken (was broken by build #1591);
OS/2 2.0 build 6.167 now sees key presses again;
Xi8088 now work on CGA again;
86F images converted from either the old or new variants of the HxC MFM format now work correctly;
Hardware interrupts with a vector of 0xFF are now handled correctly;
OPTi 495SX boards no longer incorrectly have 64 MB maximum RAM when 32 MB is correct;
Fixed VNC keyboard input bugs;
Fixed AT RTC periodic interrupt - Chicago 58s / 73f / 73g / 81 MIDI play no longer hangs with the build's own VTD driver;
Fixed mouse polling with internal mice - Amstrad and Olivetti mice now work correctly;
Triones ATAPI DMA driver now correctly reads a file at the end of a CD image with a sectors number not divisible by 4;
Compaq Portable now works with all graphics cards;
Fixed various MDSI Genius bugs;
Added segment limit checks and improved page fault checks for several CPU instructions - Memphis 15xx WINSETUP and Chicago 58s WINDISK.CPL no longer issue a GPF, and some S3 drivers that used to have glitches, now work correctly;
Further improved the 808x emulation, also fixes the noticably choppy sound when using 808x CPU's, also fixes #355;
OS/2 installer no logner locks up on splash screen on PS/2 Model 70 and 80, fixes #400.
Fixed several Amstead bugs, GEM no longer crashes on the Amstrad 1640, fixes #391.
Ported John Elliott's Amstrad fixes and improvement from PCem, and fixed the default language so it's correctly Engliish, fixes #278, fixes #389.
Fixed a minor IDE timing bug, fixes #388.
Fixed Toshiba T1000 RAM issues, fixes #379.
Fixed EGA/(S)VGA overscan border handling, fixes #378;
Got rid of the now long useless IDE channel 2 auto-removal, fixes #370;
Fixed the BIOS files used by the AMSTRAD PC1512, fixes #366;
Ported the Unicode CD image file name fix from VARCem, fixes #365;
Fixed high density floppy disks on the Xi8088, fixes #359;
Fixed some bugs in the Hercules emulation, fixes #346, fixes #358;
Fixed the SCSI hard disk mode sense pages, fixes #356;
Removed the AMI Unknown 386SX because of impossibility to identify the chipset, closes #349;
Fixed bugs in the serial mouse emulation, fixes #344;
Compiled 86Box binaries now include all the required .DLL's, fixes #341;
Made some combo boxes in the Settings dialog slightly wider, fixes #276.
2019-09-20 14:02:30 +02:00
|
|
|
hdc_xtide.o hdc_ide.o \
|
2020-07-08 04:24:25 +02:00
|
|
|
hdc_ide_opti611.o \
|
2021-10-26 01:54:35 +02:00
|
|
|
hdc_ide_cmd640.o hdc_ide_cmd646.o \
|
|
|
|
|
hdc_ide_sff8038i.o
|
2021-03-25 03:08:50 -05:00
|
|
|
|
2020-11-16 23:38:46 -06:00
|
|
|
MINIVHDOBJ := cwalk.o libxml2_encoding.o minivhd_convert.o \
|
|
|
|
|
minivhd_create.o minivhd_io.o minivhd_manage.o \
|
2021-03-25 03:08:50 -05:00
|
|
|
minivhd_struct_rw.o minivhd_util.o
|
Added the IBM 5161 ISA expansion for PC and XT;
Cleaned up the parallel port emulation, added IRQ support, and made enabling/disabling per port;
Added the Award 430NX and the Intel Classic/PCI (Alfredo, 420TX);
Finished the 586MC1;
Added 8087 emulation;
Moved Cyrix 6x86'es to the Dev branch;
Sanitized/cleaned up memregs.c/h and intel.c/h;
Split the chipsets from machines and sanitized Port 92 emulation;
Added support for the 15bpp mode to the Compaq ATI 28800;
Moved the MR 386DX and 486 machines to the Dev branch;
Ported the new dynamic recompiler from PCem, but it remains in Dev branch until after v2.00;
Ported the new timer code from PCem;
Cleaned up the CPU table of unused stuff and better optimized its structure;
Ported the Open-XT and Open-AT from VARCem, the Open-AT is in the Dev branch;
Ported the XT MFM controller rewrite and adding of more controllers (incl. two RLL ones), from VARCem;
Added the AHA-1540A and the BusTek BT-542B;
Moved the Sumo SCSI-AT to the Dev branch;
Minor IDE, FDC, and floppy drive code clean-ups;
Made NCR 5380/53C400-based cards' BIOS address configurable;
Got rid of the legacy romset variable;
Unified (video) buffer and buffer32 into one and make the unified buffer 32-bit;
Added the Amstead PPC512 per PCem patch by John Elliott;
Switched memory mapping granularity from 16k to 4k (less than 1k not possible due to internal pages);
Rewrote the CL-GD 54xx blitter, fixes Win-OS/2 on the 54x6 among other thing;
Added the Image Manager 1024 and Professional Graphics Controller per PCem patch by John Elliott and work done on VARCem;
Added Headland HT-216, GC-205 and Video 7 VGA 1024i emulation based on PCem commit;
Implemented the fuction keys for the Toshiba T1000/T1200/T3100 enhancement;
Amstrad MegaPC does now works correctly with non-internal graphics card;
The SLiRP code no longer casts a packed struct type to a non-packed struct type;
The Xi8088 and PB410a no longer hang on 86Box when PS/2 mouse is not present;
The S3 Virge on BeOS is no longer broken (was broken by build #1591);
OS/2 2.0 build 6.167 now sees key presses again;
Xi8088 now work on CGA again;
86F images converted from either the old or new variants of the HxC MFM format now work correctly;
Hardware interrupts with a vector of 0xFF are now handled correctly;
OPTi 495SX boards no longer incorrectly have 64 MB maximum RAM when 32 MB is correct;
Fixed VNC keyboard input bugs;
Fixed AT RTC periodic interrupt - Chicago 58s / 73f / 73g / 81 MIDI play no longer hangs with the build's own VTD driver;
Fixed mouse polling with internal mice - Amstrad and Olivetti mice now work correctly;
Triones ATAPI DMA driver now correctly reads a file at the end of a CD image with a sectors number not divisible by 4;
Compaq Portable now works with all graphics cards;
Fixed various MDSI Genius bugs;
Added segment limit checks and improved page fault checks for several CPU instructions - Memphis 15xx WINSETUP and Chicago 58s WINDISK.CPL no longer issue a GPF, and some S3 drivers that used to have glitches, now work correctly;
Further improved the 808x emulation, also fixes the noticably choppy sound when using 808x CPU's, also fixes #355;
OS/2 installer no logner locks up on splash screen on PS/2 Model 70 and 80, fixes #400.
Fixed several Amstead bugs, GEM no longer crashes on the Amstrad 1640, fixes #391.
Ported John Elliott's Amstrad fixes and improvement from PCem, and fixed the default language so it's correctly Engliish, fixes #278, fixes #389.
Fixed a minor IDE timing bug, fixes #388.
Fixed Toshiba T1000 RAM issues, fixes #379.
Fixed EGA/(S)VGA overscan border handling, fixes #378;
Got rid of the now long useless IDE channel 2 auto-removal, fixes #370;
Fixed the BIOS files used by the AMSTRAD PC1512, fixes #366;
Ported the Unicode CD image file name fix from VARCem, fixes #365;
Fixed high density floppy disks on the Xi8088, fixes #359;
Fixed some bugs in the Hercules emulation, fixes #346, fixes #358;
Fixed the SCSI hard disk mode sense pages, fixes #356;
Removed the AMI Unknown 386SX because of impossibility to identify the chipset, closes #349;
Fixed bugs in the serial mouse emulation, fixes #344;
Compiled 86Box binaries now include all the required .DLL's, fixes #341;
Made some combo boxes in the Settings dialog slightly wider, fixes #276.
2019-09-20 14:02:30 +02:00
|
|
|
|
2017-09-25 20:46:14 -04:00
|
|
|
CDROMOBJ := cdrom.o \
|
2022-11-05 20:15:00 -04:00
|
|
|
cdrom_image_backend.o cdrom_image_viso.o cdrom_image.o cdrom_mitsumi.o
|
2017-09-25 20:46:14 -04:00
|
|
|
|
2018-02-11 20:51:42 +01:00
|
|
|
ZIPOBJ := zip.o
|
|
|
|
|
|
2020-04-01 19:04:53 +02:00
|
|
|
MOOBJ := mo.o
|
|
|
|
|
|
2018-09-15 19:58:24 +02:00
|
|
|
SCSIOBJ := scsi.o scsi_device.o \
|
2018-10-10 22:33:24 +02:00
|
|
|
scsi_cdrom.o scsi_disk.o \
|
2017-10-14 07:03:19 +02:00
|
|
|
scsi_x54x.o \
|
2017-12-10 15:16:24 +01:00
|
|
|
scsi_aha154x.o scsi_buslogic.o \
|
2020-03-24 01:00:28 +01:00
|
|
|
scsi_ncr5380.o scsi_ncr53c8xx.o \
|
2020-09-02 17:50:24 +02:00
|
|
|
scsi_pcscsi.o scsi_spock.o
|
2017-09-25 20:46:14 -04:00
|
|
|
|
2017-10-01 16:56:15 -04:00
|
|
|
NETOBJ := network.o \
|
|
|
|
|
net_pcap.o \
|
2021-04-29 22:25:47 +02:00
|
|
|
net_slirp.o tinyglib.o \
|
2020-08-07 12:39:34 -03:00
|
|
|
arp_table.o bootp.o cksum.o dnssearch.o if.o ip_icmp.o ip_input.o \
|
|
|
|
|
ip_output.o mbuf.o misc.o sbuf.o slirp.o socket.o tcp_input.o \
|
|
|
|
|
tcp_output.o tcp_subr.o tcp_timer.o udp.o util.o version.o \
|
2018-07-15 01:41:53 +02:00
|
|
|
net_dp8390.o \
|
2018-07-19 16:01:31 +02:00
|
|
|
net_3c503.o net_ne2000.o \
|
2020-10-17 01:31:53 -03:00
|
|
|
net_pcnet.o net_wd8003.o \
|
2022-08-21 16:55:47 +02:00
|
|
|
net_plip.o net_event.o
|
2017-10-01 16:56:15 -04:00
|
|
|
|
2018-11-04 23:35:28 +01:00
|
|
|
PRINTOBJ := png.o prt_cpmap.o \
|
2019-12-02 07:14:44 +01:00
|
|
|
prt_escp.o prt_text.o prt_ps.o
|
2021-03-25 03:08:50 -05:00
|
|
|
|
2017-09-25 20:46:14 -04:00
|
|
|
SNDOBJ := sound.o \
|
2022-07-25 20:24:31 +02:00
|
|
|
snd_opl.o snd_opl_nuked.o snd_opl_ymfm.o \
|
|
|
|
|
ymfm_adpcm.o ymfm_misc.o ymfm_opl.o ymfm_opm.o \
|
|
|
|
|
ymfm_opn.o ymfm_opq.o ymfm_opz.o ymfm_pcm.o ymfm_ssg.o \
|
2017-09-25 20:46:14 -04:00
|
|
|
snd_resid.o \
|
|
|
|
|
convolve.o convolve-sse.o envelope.o extfilt.o \
|
|
|
|
|
filter.o pot.o sid.o voice.o wave6581__ST.o \
|
|
|
|
|
wave6581_P_T.o wave6581_PS_.o wave6581_PST.o \
|
|
|
|
|
wave8580__ST.o wave8580_P_T.o wave8580_PS_.o \
|
|
|
|
|
wave8580_PST.o wave.o \
|
2022-03-11 21:19:59 +01:00
|
|
|
midi.o \
|
2017-09-25 20:46:14 -04:00
|
|
|
snd_speaker.o \
|
2017-11-08 17:49:19 -05:00
|
|
|
snd_pssj.o \
|
2022-01-08 20:15:56 -05:00
|
|
|
snd_ps1.o \
|
2017-09-25 20:46:14 -04:00
|
|
|
snd_lpt_dac.o snd_lpt_dss.o \
|
2017-10-14 07:03:19 +02:00
|
|
|
snd_adlib.o snd_adlibgold.o snd_ad1848.o snd_audiopci.o \
|
2021-07-11 16:58:52 -03:00
|
|
|
snd_ac97_codec.o snd_ac97_via.o \
|
2022-02-25 19:22:45 -03:00
|
|
|
snd_azt2316a.o snd_cs423x.o snd_cmi8x38.o \
|
2018-02-11 20:51:42 +01:00
|
|
|
snd_cms.o \
|
|
|
|
|
snd_gus.o \
|
|
|
|
|
snd_sb.o snd_sb_dsp.o \
|
|
|
|
|
snd_emu8k.o snd_mpu401.o \
|
|
|
|
|
snd_sn76489.o snd_ssi2001.o \
|
|
|
|
|
snd_wss.o \
|
2017-09-25 20:46:14 -04:00
|
|
|
snd_ym7128.o
|
|
|
|
|
|
2021-11-10 21:14:54 -03:00
|
|
|
VIDOBJ := agpgart.o video.o \
|
2017-10-11 05:40:44 -04:00
|
|
|
vid_table.o \
|
2017-12-29 03:01:19 +01:00
|
|
|
vid_cga.o vid_cga_comp.o \
|
|
|
|
|
vid_compaq_cga.o \
|
|
|
|
|
vid_mda.o \
|
2017-09-25 20:46:14 -04:00
|
|
|
vid_hercules.o vid_herculesplus.o vid_incolor.o \
|
|
|
|
|
vid_colorplus.o \
|
|
|
|
|
vid_genius.o \
|
Added the IBM 5161 ISA expansion for PC and XT;
Cleaned up the parallel port emulation, added IRQ support, and made enabling/disabling per port;
Added the Award 430NX and the Intel Classic/PCI (Alfredo, 420TX);
Finished the 586MC1;
Added 8087 emulation;
Moved Cyrix 6x86'es to the Dev branch;
Sanitized/cleaned up memregs.c/h and intel.c/h;
Split the chipsets from machines and sanitized Port 92 emulation;
Added support for the 15bpp mode to the Compaq ATI 28800;
Moved the MR 386DX and 486 machines to the Dev branch;
Ported the new dynamic recompiler from PCem, but it remains in Dev branch until after v2.00;
Ported the new timer code from PCem;
Cleaned up the CPU table of unused stuff and better optimized its structure;
Ported the Open-XT and Open-AT from VARCem, the Open-AT is in the Dev branch;
Ported the XT MFM controller rewrite and adding of more controllers (incl. two RLL ones), from VARCem;
Added the AHA-1540A and the BusTek BT-542B;
Moved the Sumo SCSI-AT to the Dev branch;
Minor IDE, FDC, and floppy drive code clean-ups;
Made NCR 5380/53C400-based cards' BIOS address configurable;
Got rid of the legacy romset variable;
Unified (video) buffer and buffer32 into one and make the unified buffer 32-bit;
Added the Amstead PPC512 per PCem patch by John Elliott;
Switched memory mapping granularity from 16k to 4k (less than 1k not possible due to internal pages);
Rewrote the CL-GD 54xx blitter, fixes Win-OS/2 on the 54x6 among other thing;
Added the Image Manager 1024 and Professional Graphics Controller per PCem patch by John Elliott and work done on VARCem;
Added Headland HT-216, GC-205 and Video 7 VGA 1024i emulation based on PCem commit;
Implemented the fuction keys for the Toshiba T1000/T1200/T3100 enhancement;
Amstrad MegaPC does now works correctly with non-internal graphics card;
The SLiRP code no longer casts a packed struct type to a non-packed struct type;
The Xi8088 and PB410a no longer hang on 86Box when PS/2 mouse is not present;
The S3 Virge on BeOS is no longer broken (was broken by build #1591);
OS/2 2.0 build 6.167 now sees key presses again;
Xi8088 now work on CGA again;
86F images converted from either the old or new variants of the HxC MFM format now work correctly;
Hardware interrupts with a vector of 0xFF are now handled correctly;
OPTi 495SX boards no longer incorrectly have 64 MB maximum RAM when 32 MB is correct;
Fixed VNC keyboard input bugs;
Fixed AT RTC periodic interrupt - Chicago 58s / 73f / 73g / 81 MIDI play no longer hangs with the build's own VTD driver;
Fixed mouse polling with internal mice - Amstrad and Olivetti mice now work correctly;
Triones ATAPI DMA driver now correctly reads a file at the end of a CD image with a sectors number not divisible by 4;
Compaq Portable now works with all graphics cards;
Fixed various MDSI Genius bugs;
Added segment limit checks and improved page fault checks for several CPU instructions - Memphis 15xx WINSETUP and Chicago 58s WINDISK.CPL no longer issue a GPF, and some S3 drivers that used to have glitches, now work correctly;
Further improved the 808x emulation, also fixes the noticably choppy sound when using 808x CPU's, also fixes #355;
OS/2 installer no logner locks up on splash screen on PS/2 Model 70 and 80, fixes #400.
Fixed several Amstead bugs, GEM no longer crashes on the Amstrad 1640, fixes #391.
Ported John Elliott's Amstrad fixes and improvement from PCem, and fixed the default language so it's correctly Engliish, fixes #278, fixes #389.
Fixed a minor IDE timing bug, fixes #388.
Fixed Toshiba T1000 RAM issues, fixes #379.
Fixed EGA/(S)VGA overscan border handling, fixes #378;
Got rid of the now long useless IDE channel 2 auto-removal, fixes #370;
Fixed the BIOS files used by the AMSTRAD PC1512, fixes #366;
Ported the Unicode CD image file name fix from VARCem, fixes #365;
Fixed high density floppy disks on the Xi8088, fixes #359;
Fixed some bugs in the Hercules emulation, fixes #346, fixes #358;
Fixed the SCSI hard disk mode sense pages, fixes #356;
Removed the AMI Unknown 386SX because of impossibility to identify the chipset, closes #349;
Fixed bugs in the serial mouse emulation, fixes #344;
Compiled 86Box binaries now include all the required .DLL's, fixes #341;
Made some combo boxes in the Settings dialog slightly wider, fixes #276.
2019-09-20 14:02:30 +02:00
|
|
|
vid_pgc.o vid_im1024.o \
|
2018-10-22 04:22:00 +02:00
|
|
|
vid_sigma.o \
|
2018-02-11 20:51:42 +01:00
|
|
|
vid_wy700.o \
|
|
|
|
|
vid_ega.o vid_ega_render.o \
|
|
|
|
|
vid_svga.o vid_svga_render.o \
|
2022-05-14 19:08:30 +02:00
|
|
|
vid_8514a.o \
|
2020-11-18 00:21:07 +01:00
|
|
|
vid_ddc.o \
|
2018-02-11 20:51:42 +01:00
|
|
|
vid_vga.o \
|
|
|
|
|
vid_ati_eeprom.o \
|
|
|
|
|
vid_ati18800.o vid_ati28800.o \
|
|
|
|
|
vid_ati_mach64.o vid_ati68860_ramdac.o \
|
2018-10-05 01:54:54 +02:00
|
|
|
vid_bt48x_ramdac.o \
|
2020-07-26 01:53:46 +02:00
|
|
|
vid_av9194.o vid_icd2061.o vid_ics2494.o vid_ics2595.o \
|
2018-02-18 10:32:51 +01:00
|
|
|
vid_cl54xx.o \
|
2022-11-05 23:22:32 -04:00
|
|
|
vid_et3000.o \
|
2020-06-25 13:18:29 +02:00
|
|
|
vid_et4000.o vid_sc1148x_ramdac.o \
|
|
|
|
|
vid_sc1502x_ramdac.o \
|
2018-02-11 20:51:42 +01:00
|
|
|
vid_et4000w32.o vid_stg_ramdac.o \
|
Added the IBM 5161 ISA expansion for PC and XT;
Cleaned up the parallel port emulation, added IRQ support, and made enabling/disabling per port;
Added the Award 430NX and the Intel Classic/PCI (Alfredo, 420TX);
Finished the 586MC1;
Added 8087 emulation;
Moved Cyrix 6x86'es to the Dev branch;
Sanitized/cleaned up memregs.c/h and intel.c/h;
Split the chipsets from machines and sanitized Port 92 emulation;
Added support for the 15bpp mode to the Compaq ATI 28800;
Moved the MR 386DX and 486 machines to the Dev branch;
Ported the new dynamic recompiler from PCem, but it remains in Dev branch until after v2.00;
Ported the new timer code from PCem;
Cleaned up the CPU table of unused stuff and better optimized its structure;
Ported the Open-XT and Open-AT from VARCem, the Open-AT is in the Dev branch;
Ported the XT MFM controller rewrite and adding of more controllers (incl. two RLL ones), from VARCem;
Added the AHA-1540A and the BusTek BT-542B;
Moved the Sumo SCSI-AT to the Dev branch;
Minor IDE, FDC, and floppy drive code clean-ups;
Made NCR 5380/53C400-based cards' BIOS address configurable;
Got rid of the legacy romset variable;
Unified (video) buffer and buffer32 into one and make the unified buffer 32-bit;
Added the Amstead PPC512 per PCem patch by John Elliott;
Switched memory mapping granularity from 16k to 4k (less than 1k not possible due to internal pages);
Rewrote the CL-GD 54xx blitter, fixes Win-OS/2 on the 54x6 among other thing;
Added the Image Manager 1024 and Professional Graphics Controller per PCem patch by John Elliott and work done on VARCem;
Added Headland HT-216, GC-205 and Video 7 VGA 1024i emulation based on PCem commit;
Implemented the fuction keys for the Toshiba T1000/T1200/T3100 enhancement;
Amstrad MegaPC does now works correctly with non-internal graphics card;
The SLiRP code no longer casts a packed struct type to a non-packed struct type;
The Xi8088 and PB410a no longer hang on 86Box when PS/2 mouse is not present;
The S3 Virge on BeOS is no longer broken (was broken by build #1591);
OS/2 2.0 build 6.167 now sees key presses again;
Xi8088 now work on CGA again;
86F images converted from either the old or new variants of the HxC MFM format now work correctly;
Hardware interrupts with a vector of 0xFF are now handled correctly;
OPTi 495SX boards no longer incorrectly have 64 MB maximum RAM when 32 MB is correct;
Fixed VNC keyboard input bugs;
Fixed AT RTC periodic interrupt - Chicago 58s / 73f / 73g / 81 MIDI play no longer hangs with the build's own VTD driver;
Fixed mouse polling with internal mice - Amstrad and Olivetti mice now work correctly;
Triones ATAPI DMA driver now correctly reads a file at the end of a CD image with a sectors number not divisible by 4;
Compaq Portable now works with all graphics cards;
Fixed various MDSI Genius bugs;
Added segment limit checks and improved page fault checks for several CPU instructions - Memphis 15xx WINSETUP and Chicago 58s WINDISK.CPL no longer issue a GPF, and some S3 drivers that used to have glitches, now work correctly;
Further improved the 808x emulation, also fixes the noticably choppy sound when using 808x CPU's, also fixes #355;
OS/2 installer no logner locks up on splash screen on PS/2 Model 70 and 80, fixes #400.
Fixed several Amstead bugs, GEM no longer crashes on the Amstrad 1640, fixes #391.
Ported John Elliott's Amstrad fixes and improvement from PCem, and fixed the default language so it's correctly Engliish, fixes #278, fixes #389.
Fixed a minor IDE timing bug, fixes #388.
Fixed Toshiba T1000 RAM issues, fixes #379.
Fixed EGA/(S)VGA overscan border handling, fixes #378;
Got rid of the now long useless IDE channel 2 auto-removal, fixes #370;
Fixed the BIOS files used by the AMSTRAD PC1512, fixes #366;
Ported the Unicode CD image file name fix from VARCem, fixes #365;
Fixed high density floppy disks on the Xi8088, fixes #359;
Fixed some bugs in the Hercules emulation, fixes #346, fixes #358;
Fixed the SCSI hard disk mode sense pages, fixes #356;
Removed the AMI Unknown 386SX because of impossibility to identify the chipset, closes #349;
Fixed bugs in the serial mouse emulation, fixes #344;
Compiled 86Box binaries now include all the required .DLL's, fixes #341;
Made some combo boxes in the Settings dialog slightly wider, fixes #276.
2019-09-20 14:02:30 +02:00
|
|
|
vid_ht216.o \
|
2018-02-24 15:56:48 +01:00
|
|
|
vid_oak_oti.o \
|
2017-09-25 20:46:14 -04:00
|
|
|
vid_paradise.o \
|
2021-05-12 18:51:02 +02:00
|
|
|
vid_rtg310x.o \
|
2017-11-05 20:43:01 -05:00
|
|
|
vid_ti_cf62011.o \
|
2021-03-31 23:42:39 +02:00
|
|
|
vid_f82c425.o \
|
2018-02-11 20:51:42 +01:00
|
|
|
vid_tvga.o \
|
|
|
|
|
vid_tgui9440.o vid_tkd8001_ramdac.o \
|
2019-02-06 03:34:39 +01:00
|
|
|
vid_att20c49x_ramdac.o \
|
2021-11-18 23:58:04 +01:00
|
|
|
vid_att2xc498_ramdac.o \
|
2018-02-11 20:51:42 +01:00
|
|
|
vid_s3.o vid_s3_virge.o \
|
2020-12-22 14:58:28 +01:00
|
|
|
vid_ibm_rgb528_ramdac.o vid_sdac_ramdac.o \
|
2021-06-18 09:01:57 +05:00
|
|
|
vid_ogc.o \
|
2021-09-02 16:04:58 +02:00
|
|
|
vid_nga.o \
|
2022-06-17 21:26:26 +02:00
|
|
|
vid_tvp3026_ramdac.o \
|
|
|
|
|
vid_xga.o
|
2021-06-18 09:01:57 +05:00
|
|
|
|
|
|
|
|
VOODOOOBJ := vid_voodoo.o vid_voodoo_banshee.o \
|
2020-11-18 00:21:07 +01:00
|
|
|
vid_voodoo_banshee_blitter.o \
|
|
|
|
|
vid_voodoo_blitter.o \
|
|
|
|
|
vid_voodoo_display.o vid_voodoo_fb.o \
|
|
|
|
|
vid_voodoo_fifo.o vid_voodoo_reg.o \
|
|
|
|
|
vid_voodoo_render.o vid_voodoo_setup.o \
|
2021-06-18 09:01:57 +05:00
|
|
|
vid_voodoo_texture.o
|
2017-09-25 20:46:14 -04:00
|
|
|
|
2017-10-11 05:40:44 -04:00
|
|
|
PLATOBJ := win.o \
|
2021-12-17 03:49:54 +01:00
|
|
|
win_dynld.o \
|
2018-04-25 23:51:13 +02:00
|
|
|
win_cdrom.o win_keyboard.o \
|
2020-02-05 08:07:09 +08:00
|
|
|
win_mouse.o
|
|
|
|
|
|
2022-02-06 13:41:34 +02:00
|
|
|
UIOBJ := win_ui.o win_icon.o win_stbar.o discord.o \
|
2021-11-29 15:42:50 +01:00
|
|
|
win_sdl.o win_opengl.o win_opengl_glslp.o glad.o \
|
|
|
|
|
win_dialog.o win_about.o \
|
|
|
|
|
win_settings.o win_devconf.o win_snd_gain.o win_specify_dim.o win_preferences.o \
|
|
|
|
|
win_new_floppy.o win_jsconf.o \
|
2022-01-09 19:58:06 +01:00
|
|
|
win_media_menu.o win_toolbar.o
|
2021-11-29 15:42:50 +01:00
|
|
|
|
2020-02-05 08:07:09 +08:00
|
|
|
ifeq ($(DINPUT), y)
|
|
|
|
|
PLATOBJ += win_joystick.o
|
|
|
|
|
else
|
|
|
|
|
PLATOBJ += win_joystick_rawinput.o
|
|
|
|
|
endif
|
2022-02-20 00:48:39 +01:00
|
|
|
|
|
|
|
|
ifeq ($(OPENAL), y)
|
|
|
|
|
SNDOBJ += openal.o
|
|
|
|
|
else
|
|
|
|
|
SNDOBJ += xaudio2.o
|
|
|
|
|
endif
|
2017-09-25 20:46:14 -04:00
|
|
|
|
2020-06-13 12:32:09 +02:00
|
|
|
OBJ := $(MAINOBJ) $(CPUOBJ) $(CHIPSETOBJ) $(MCHOBJ) $(DEVOBJ) $(MEMOBJ) \
|
2020-11-16 23:38:46 -06:00
|
|
|
$(FDDOBJ) $(GAMEOBJ) $(CDROMOBJ) $(ZIPOBJ) $(MOOBJ) $(HDDOBJ) $(MINIVHDOBJ) \
|
2021-06-18 09:01:57 +05:00
|
|
|
$(NETOBJ) $(PRINTOBJ) $(SCSIOBJ) $(SIOOBJ) $(SNDOBJ) $(VIDOBJ) $(VOODOOOBJ) \
|
2021-12-17 06:59:53 +01:00
|
|
|
$(PLATOBJ) $(UIOBJ) $(FSYNTHOBJ) $(MUNTOBJ) $(DEVBROBJ) $(MINITRACEOBJ) $(THREADOBJ)
|
2017-09-04 01:52:29 -04:00
|
|
|
ifdef EXOBJ
|
2017-09-25 20:46:14 -04:00
|
|
|
OBJ += $(EXOBJ)
|
2017-09-04 01:52:29 -04:00
|
|
|
endif
|
2017-05-05 01:49:42 +02:00
|
|
|
|
2022-06-25 15:37:41 +02:00
|
|
|
ifeq ($(OPENAL), y)
|
2022-08-21 17:29:24 +02:00
|
|
|
LIBS := -mwindows -lopenal -lcomctl32 -lSDL2 -limagehlp -ldinput8 -ldxguid -ldxerr8 -luser32 -lgdi32 -lwinmm -limm32 -lole32 -loleaut32 -lshell32 -lversion -luuid -lws2_32
|
2022-06-25 15:37:41 +02:00
|
|
|
else
|
2022-07-12 21:09:21 +02:00
|
|
|
ifeq ($(FAUDIO), y)
|
2022-08-21 17:29:24 +02:00
|
|
|
LIBS := -mwindows -lfaudio -lcomctl32 -lSDL2 -limagehlp -ldinput8 -ldxguid -ldxerr8 -luser32 -lgdi32 -lwinmm -limm32 -lole32 -loleaut32 -lshell32 -lversion -luuid -lws2_32
|
2022-07-12 21:09:21 +02:00
|
|
|
else
|
2022-08-21 17:29:24 +02:00
|
|
|
LIBS := -mwindows -lcomctl32 -lSDL2 -limagehlp -ldinput8 -ldxguid -ldxerr8 -luser32 -lgdi32 -lwinmm -limm32 -lole32 -loleaut32 -lshell32 -lversion -luuid -lws2_32
|
2022-06-25 15:37:41 +02:00
|
|
|
endif
|
2022-07-12 21:09:21 +02:00
|
|
|
endif
|
2022-03-11 21:19:59 +01:00
|
|
|
|
|
|
|
|
ifeq ($(RTMIDI), y)
|
|
|
|
|
SNDOBJ += midi_rtmidi.o
|
|
|
|
|
OPTS += -DUSE_RTMIDI
|
|
|
|
|
LIBS += -lrtmidi
|
|
|
|
|
endif
|
2019-09-03 08:58:35 +01:00
|
|
|
|
2020-04-18 11:51:54 +02:00
|
|
|
ifeq ($(VNC), y)
|
2018-03-16 15:46:41 +01:00
|
|
|
LIBS += $(VNCLIB) -lws2_32
|
2020-04-18 11:51:54 +02:00
|
|
|
endif
|
2022-02-20 01:41:31 +01:00
|
|
|
LIBS += -lpng -lz -lwsock32 -liphlpapi -lpsapi -lhid -lsetupapi -luxtheme -static -lstdc++
|
2017-12-13 22:39:41 +01:00
|
|
|
ifneq ($(X64), y)
|
2021-08-27 13:49:27 +02:00
|
|
|
ifneq ($(ARM64), y)
|
2017-09-25 20:46:14 -04:00
|
|
|
LIBS += -Wl,--large-address-aware
|
2017-12-13 22:39:41 +01:00
|
|
|
endif
|
2021-08-27 13:49:27 +02:00
|
|
|
endif
|
|
|
|
|
ifeq ($(ARM64), y)
|
|
|
|
|
LIBS += -lgcc
|
|
|
|
|
endif
|
2020-02-05 08:07:09 +08:00
|
|
|
ifeq ($(DINPUT), y)
|
|
|
|
|
LIBS += -ldinput8
|
2019-03-20 07:41:46 +08:00
|
|
|
endif
|
2017-09-25 20:46:14 -04:00
|
|
|
|
2019-09-03 08:58:35 +01:00
|
|
|
LIBS += -static
|
|
|
|
|
|
2017-09-25 20:46:14 -04:00
|
|
|
# Build module rules.
|
|
|
|
|
ifeq ($(AUTODEP), y)
|
|
|
|
|
%.o: %.c
|
|
|
|
|
@echo $<
|
2021-09-02 20:15:46 +02:00
|
|
|
@$(CC) $(CFLAGS) $(DEPS) -c $<
|
2017-05-05 01:49:42 +02:00
|
|
|
|
2017-09-25 20:46:14 -04:00
|
|
|
%.o: %.cc
|
|
|
|
|
@echo $<
|
2017-11-19 03:15:29 -05:00
|
|
|
@$(CPP) $(CXXFLAGS) $(DEPS) -c $<
|
2017-05-05 01:49:42 +02:00
|
|
|
|
2017-09-25 20:46:14 -04:00
|
|
|
%.o: %.cpp
|
|
|
|
|
@echo $<
|
2017-11-19 03:15:29 -05:00
|
|
|
@$(CPP) $(CXXFLAGS) $(DEPS) -c $<
|
2017-09-25 20:46:14 -04:00
|
|
|
else
|
2017-05-05 01:49:42 +02:00
|
|
|
%.o: %.c
|
|
|
|
|
@echo $<
|
2017-09-25 20:46:14 -04:00
|
|
|
@$(CC) $(CFLAGS) -c $<
|
2017-05-05 01:49:42 +02:00
|
|
|
|
|
|
|
|
%.o: %.cc
|
|
|
|
|
@echo $<
|
2017-11-19 03:15:29 -05:00
|
|
|
@$(CPP) $(CXXFLAGS) -c $<
|
2017-05-05 01:49:42 +02:00
|
|
|
|
|
|
|
|
%.o: %.cpp
|
|
|
|
|
@echo $<
|
2017-11-19 03:15:29 -05:00
|
|
|
@$(CPP) $(CXXFLAGS) -c $<
|
2017-09-25 20:46:14 -04:00
|
|
|
|
|
|
|
|
%.d: %.c $(wildcard $*.d)
|
|
|
|
|
@echo $<
|
2020-11-09 04:16:09 +05:00
|
|
|
@$(CC) $(CFLAGS) $(DEPS) -E $< >/dev/null
|
2017-09-25 20:46:14 -04:00
|
|
|
|
|
|
|
|
%.d: %.cc $(wildcard $*.d)
|
|
|
|
|
@echo $<
|
2020-11-09 04:16:09 +05:00
|
|
|
@$(CPP) $(CXXFLAGS) $(DEPS) -E $< >/dev/null
|
2017-09-25 20:46:14 -04:00
|
|
|
|
|
|
|
|
%.d: %.cpp $(wildcard $*.d)
|
|
|
|
|
@echo $<
|
2020-11-09 04:16:09 +05:00
|
|
|
@$(CPP) $(CXXFLAGS) $(DEPS) -E $< >/dev/null
|
2017-09-25 20:46:14 -04:00
|
|
|
endif
|
|
|
|
|
|
2021-06-18 09:01:57 +05:00
|
|
|
# Suppress false positive warnings in vid_voodoo_codegen_x86[-64].h
|
|
|
|
|
# that cause ~3000 lines to be output into the logs each time.
|
2021-08-29 13:59:05 +02:00
|
|
|
ifneq ($(CLANG), y)
|
|
|
|
|
$(VOODOOOBJ): CFLAGS += -Wstringop-overflow=0
|
|
|
|
|
endif
|
2017-05-05 01:49:42 +02:00
|
|
|
|
2020-04-17 02:20:02 +02:00
|
|
|
all: $(PROG).exe
|
2017-05-08 18:27:42 -04:00
|
|
|
|
|
|
|
|
|
2017-09-25 20:46:14 -04:00
|
|
|
86Box.res: 86Box.rc
|
|
|
|
|
@echo Processing $<
|
|
|
|
|
@$(WINDRES) $(RFLAGS) $(EXTRAS) -i $< -o 86Box.res
|
|
|
|
|
|
2018-05-21 19:04:05 +02:00
|
|
|
$(PROG).exe: $(OBJ) 86Box.res
|
2017-05-05 01:49:42 +02:00
|
|
|
@echo Linking $(PROG).exe ..
|
2020-03-25 02:29:20 +01:00
|
|
|
@$(CC) $(LDFLAGS) -o $(PROG).exe $(OBJ) 86Box.res $(LIBS) -pipe
|
2021-04-10 07:18:47 +02:00
|
|
|
ifneq ($(DEBUG), y)
|
|
|
|
|
@$(STRIP) $(PROG).exe
|
|
|
|
|
endif
|
2017-05-05 01:49:42 +02:00
|
|
|
|
2017-09-25 20:46:14 -04:00
|
|
|
pcap_if.res: pcap_if.rc
|
|
|
|
|
@echo Processing $<
|
|
|
|
|
@$(WINDRES) $(RFLAGS) -i $< -o pcap_if.res
|
|
|
|
|
|
2017-06-05 00:36:03 -04:00
|
|
|
pcap_if.exe: pcap_if.o win_dynld.o pcap_if.res
|
2017-05-08 18:27:42 -04:00
|
|
|
@echo Linking pcap_if.exe ..
|
2020-02-05 07:17:31 +08:00
|
|
|
@$(CC) $(LDFLAGS) -o pcap_if.exe pcap_if.o win_dynld.o pcap_if.res
|
2020-06-13 12:32:09 +02:00
|
|
|
ifneq ($(DEBUG), y)
|
2019-03-20 07:41:46 +08:00
|
|
|
@$(STRIP) pcap_if.exe
|
2017-05-05 01:49:42 +02:00
|
|
|
endif
|
|
|
|
|
|
2017-11-18 21:28:26 -05:00
|
|
|
hello.exe: hello.o
|
2021-11-29 15:42:50 +01:00
|
|
|
$(CXX) $(LDFLAGS) -o hello.exe hello.o $(LIBS)
|
2017-11-18 21:28:26 -05:00
|
|
|
ifneq ($(DEBUG), y)
|
2019-03-20 07:41:46 +08:00
|
|
|
@$(STRIP) hello.exe
|
2017-11-18 21:28:26 -05:00
|
|
|
endif
|
|
|
|
|
|
2017-05-08 18:27:42 -04:00
|
|
|
|
2017-05-05 01:49:42 +02:00
|
|
|
clean:
|
2017-09-25 20:46:14 -04:00
|
|
|
@echo Cleaning objects..
|
2020-11-09 04:16:09 +05:00
|
|
|
@-rm -f *.o 2>/dev/null
|
|
|
|
|
@-rm -f *.res 2>/dev/null
|
2017-09-04 01:52:29 -04:00
|
|
|
|
2017-09-25 20:46:14 -04:00
|
|
|
clobber: clean
|
2017-10-12 14:25:17 -04:00
|
|
|
@echo Cleaning executables..
|
2020-11-09 04:16:09 +05:00
|
|
|
@-rm -f *.d 2>/dev/null
|
|
|
|
|
@-rm -f *.exe 2>/dev/null
|
|
|
|
|
# @-rm -f $(DEPFILE) 2>/dev/null
|
2017-09-04 01:52:29 -04:00
|
|
|
|
2017-09-25 20:46:14 -04:00
|
|
|
ifneq ($(AUTODEP), y)
|
|
|
|
|
depclean:
|
2020-11-09 04:16:09 +05:00
|
|
|
@-rm -f $(DEPFILE) 2>/dev/null
|
2017-09-25 20:46:14 -04:00
|
|
|
@echo Creating dependencies..
|
2017-10-19 04:27:04 -04:00
|
|
|
@echo # Run "make depends" to re-create this file. >$(DEPFILE)
|
2017-08-08 16:14:50 +02:00
|
|
|
|
2017-09-25 20:46:14 -04:00
|
|
|
depends: DEPOBJ=$(OBJ:%.o=%.d)
|
|
|
|
|
depends: depclean $(OBJ:%.o=%.d)
|
2017-10-14 20:04:21 -04:00
|
|
|
@-cat $(DEPOBJ) >>$(DEPFILE)
|
2017-09-25 20:46:14 -04:00
|
|
|
@-rm -f $(DEPOBJ)
|
2017-08-08 16:14:50 +02:00
|
|
|
|
2017-10-14 20:04:21 -04:00
|
|
|
$(DEPFILE):
|
2017-09-25 20:46:14 -04:00
|
|
|
endif
|
2017-08-08 16:14:50 +02:00
|
|
|
|
|
|
|
|
|
2017-09-25 20:46:14 -04:00
|
|
|
# Module dependencies.
|
|
|
|
|
ifeq ($(AUTODEP), y)
|
|
|
|
|
#-include $(OBJ:%.o=%.d) (better, but sloooowwwww)
|
|
|
|
|
-include *.d
|
|
|
|
|
else
|
2017-10-14 20:04:21 -04:00
|
|
|
include $(wildcard $(DEPFILE))
|
2017-09-25 20:46:14 -04:00
|
|
|
endif
|
2017-08-08 16:14:50 +02:00
|
|
|
|
2017-06-15 03:10:31 -04:00
|
|
|
|
2017-05-05 01:49:42 +02:00
|
|
|
# End of Makefile.mingw.
|