Commit Graph

32 Commits

Author SHA1 Message Date
waltje
30b903c744 Many small fixes here and there.
Devices now have a 'path' member, which usually points to a ROM file, or loader script.
No more 'available' functions unless one is needed for special cases.
Machines now can be 'configured' for mainboard settings etc.
Machines are now devices as well (root devices).
Regular devices now get a pointer to a 'parent' device.
The machines table has been reduced to just a lookup table, machine info is now inside the machine file.
Machine-specific CPU lists are now inside the machine file.
Chipset implementations are now devices, and were moved to devices/chipsets/
Much work on individual machines done.
All COMPAQ machines moved to dev-branch.
Zenith SupersPORT moved to dev-branch.
The i686-based machines (Tyan) released from dev-branch and cleaned up.
Several new MFM and RLL disk controllers for XT, in dev-branch for now.
2019-04-21 16:09:56 -05:00
waltje
0129c3c7f8 Applied the relevant upstream patches, and cleaned up. 2019-02-11 20:00:29 -05:00
waltje
98eaa3bd34 Many small changes and fixes for building a 64-bit application.
Both GCC and VC builds seem to work OK for Windows, as does the Linux version.
2018-10-25 01:20:32 -04:00
waltje
4fb728541b Signedness fix in mem.c.
Some more translations were updated for the recent changes.
2018-10-19 19:51:52 -04:00
waltje
6bd70019c1 Applied more upstream patches (finally, removing cdrom_null !) 2018-10-19 04:20:42 -04:00
waltje
8471941cb7 Removing the T1200-related patch. 2018-10-16 20:15:30 -04:00
waltje
22379f55ad Applied all relevant upstream patches.
Cleaned up the CD-ROM stuff a bit more, merging the drive and the image parts.
Updated disk, cdrom and zip structures to use the same bus_id union.
2018-10-16 19:53:01 -04:00
waltje
2f69c95152 Full Upgrade to the 1.7 tree. 2018-10-06 18:31:10 -04:00
waltje
98a9f34131 Various small fixes. 2018-09-21 23:35:15 -04:00
waltje
dad6c07865 Various upstream changes applied. 2018-09-04 01:42:09 -04:00
waltje
28cc2ac6c2 Upstream fixes for AT keyboard (disables Mode1, needed for TSX-32.)
Upstream fixes for ET4000* cards (also for TSX-32, and others) with scrolling issues.
Upstream fixes for mem.c (fixes remapping issues for ET4000 et al.)
2018-08-25 17:29:25 -04:00
waltje
6dc4fa9094 Fix for small issue in XT ST506 driver.
Updated mem.c to remove last remnants of split_mapping.
Updated machine_table.c for actual NEAT chipset DRAM limit.
2018-08-23 19:27:51 -04:00
waltje
3be39f9792 More cleanup changes for the remapping. All machine-init functions now call mem_top_remap themselves, this is no longer inherited. machine_at_*_remap_init() functions removed.
As an initial test, added remap to the NEAT - that works.
2018-08-20 20:07:05 -04:00
waltje
ed871b3c27 More cleanups in mem.ch, removing old and/or unneeded stuff. 2018-08-20 18:16:37 -04:00
waltje
8705137000 Changes to mem.c to allow the mappings to be updated externally. 2018-08-20 01:43:57 -04:00
waltje
393480c2f6 Final move of files into the new structure. 2018-05-06 22:51:54 -04:00
waltje
12bbba12e6 More warning cleanups (shadowed variables.) 2018-05-05 15:47:17 -04:00
waltje
6b21c4c921 Big cleanup of the use of regular and const string pointers. Where possible, const is used to enfore R/O-ness of string arguments.
Important change to the NVR code to "fix" the PS/1 and PS/2 systems, plus a cleanup.
All device tables now end with a NULL, not an empty string.
Configuration code now deals better with this.
Machine and Video lookup now return -1 if not found/available, and pc_init() will throw the user into Setup if that is the case.
If for some reason the configured memory size exceeds machine limit, it is now adjusted.
2018-04-11 17:42:22 -04:00
waltje
23fcf833b4 Change to not allow configured memory size to go over machine's limit (fixes #25.)
Lots of cleanup changes all over to fix the constness of strings [again].
Some cleanups in config.c to remove old stuff.
2018-04-10 23:48:26 -04:00
waltje
30b6ac523e Made the Toshiba's T1000 ROM DOS configurable.
Removed all xxx_get_dev() calls, and published the actual device_t's instead.
(first step to making all machines a device)
2018-04-04 02:09:09 -04:00
waltje
8ef54202f9 Another load of cleanups.
Also, all filename handling is now Unicode.
Fixes for many items on the bugs list.
New logo and main icon for the project.
2018-04-01 22:02:37 -04:00
waltje
58668a8612 Several warnings fixed, but still many to go. 2018-03-27 23:53:51 -04:00
waltje
85d291205f Prepared the code for loading custom video ROMs via the new loader.
Various small fixes and cleanups.
Applied the relevant upstream commits.
2018-03-22 00:03:03 -05:00
waltje
1cf45a9724 Applied relevant upstream commits.
Converted AT NVR to be a device, so it gets auto-closed.
Added new machine_close() function which calls optional machine-custom close, updated machine table.
Small fixes here and there.
Re-wored the CDROM code to have a 'speeds' table instead of ugly hard-coding.
2018-03-20 17:13:52 -05:00
waltje
d40526144c Reworked the memory code a bit to avoid crashes while switching machine/processor types. 2018-03-18 18:39:51 -05:00
waltje
0adb26c1f9 Applied the first batch of upstream commits. 2018-03-18 04:55:47 -05:00
waltje
1c60e22813 Monster patch to clean up a lot of cruft in the code, and reduce the RAM footptiny of a running XT machine from about 680MB down to about 80MB. Yes, 600MB of unused 0x00's. 2018-03-17 23:14:42 -05:00
waltje
a86d717ae1 Changes to significantly reduce the emulator's RAM footprint.
Changes to the memory manager reduced by 120MB for machines with CPU < 80386.
Changes to the 86F diskette data processor (required by all floppy controllers) reduced by 330M.
Test machine OpenXT now runs at 240MB, instead of 680MB.
2018-03-14 23:32:00 -05:00
waltje
916f210d46 Applied upstream patches (adds IBM PS/2 M70.)
Fixed two small bugs.
Moved the MRTHOR back to mainline.
Fixed a bug in the Tosh 1000.
2018-03-13 00:34:44 -05:00
waltje
f42108cb03 Fixed silly typo. 2018-03-08 16:00:22 -05:00
waltje
a4802a9231 Updated files with upstream commits where needed.
Fixed "Settings"crash bug.
Cleaned up some video config issues.
2018-03-06 15:53:32 -05:00
waltje
7f4ddcd70b Import of all sources. 2018-02-20 21:52:53 -05:00