Commit Graph

18 Commits

Author SHA1 Message Date
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