Philip Kendall
9ac549be8d
Binary loading and Win32 save/load binary variants should use
...
{read,write}byte_internal as well.
2018-07-05 20:26:07 +01:00
Philip Kendall
5771e59292
Remove warning in utils.c.
...
Don't use a path unless the whole path fit into our buffer.
2018-02-22 22:40:21 +00:00
Sergio Baldoví
4ab3ba3088
Add ZXMMC interface (patch #393 )
2017-08-31 00:02:14 +02:00
Philip Kendall
97f083508f
Begin using HDF-as-MMC support in libspectrum.
2017-08-01 21:39:44 +01:00
Philip Kendall
4e6984ef2f
Baby steps: copy DivIDE code to DivMMC.
...
Will need to be refactored later to remove duplicated code.
2017-07-21 23:08:52 +01:00
Fredrick Meunier
ba77c2ab67
Move memory.[ch] to memory_pages.[ch]
...
To avoid clashes with any similarly named system files (thanks,
BogDan Vatra and Sergio Baldoví).
2016-12-10 20:27:03 +11:00
Fredrick Meunier
5de51003fd
Retire legacy RCS tags
2016-10-24 11:45:18 +11:00
Fredrick Meunier
753bdb24be
Remove redundant whitespace.
...
Legacy-ID: 5719
2016-08-07 13:43:02 +00:00
Fredrick Meunier
25be0cf616
Remove utils_make_temp_file() and mkstemp() as they are no longer used (thanks
...
Phil).
Legacy-ID: 5621
2016-06-09 10:29:12 +00:00
Fredrick Meunier
99b964e30b
Have a go at updating copyright dates since v 1.1.1.
...
Legacy-ID: 5432
2016-05-01 04:16:09 +00:00
Sergio Baldoví
e1ee98ba3b
Prefer Scorpion to Pentagon when loading SCL/TRD disks.
...
For better timing compatibility (part of feature request #90 ) (thanks,
windale).
Legacy-ID: 5415
2016-04-28 21:51:34 +00:00
Sergio Baldoví
32ab85df48
Secure strncpy() calls.
...
Legacy-ID: 5383
2016-04-17 09:18:13 +00:00
BogDan Vatra
4c5b640de4
Use compat_file_exists() instead of stat() in read_config_file() and
...
utils_find_file_path() (patch #351 ).
Legacy-ID: 5378
2016-04-08 12:48:28 +00:00
Fredrick Meunier
feeb9fa837
Don't crash if we try to auto-select a Pentagon when loading a TRD and the
...
correct ROMs have not been installed.
Legacy-ID: 5288
2015-06-03 13:03:58 +00:00
Gergely Szasz
ddb31ca226
Add Didaktik 80/40 emulation (part of patch #331 )
...
Legacy-ID: 5248
2015-05-11 02:10:39 +00:00
Sergio Baldoví
b4d3a616c6
Use libspectrum's memory management in utils_safe_strdup.
...
Legacy-ID: 5161
2015-03-16 23:42:32 +00:00
Stuart Brady
7e7a459c11
Use libspectrum_{new,new0,renew}() macros where sizeof(elem) == 1
...
Legacy-ID: 5126
2015-03-02 21:12:30 +00:00
Stuart Brady
e7d13bfb51
Wire up the --discipledisk option and document it
...
Legacy-ID: 4842
2013-01-02 23:03:32 +00:00
Sergio Baldoví
4b69aae6ed
Allow the disabling of Spectranet code if required libraries are not present (patch #300 ).
...
Legacy-ID: 4779
2012-11-29 18:55:54 +00:00
Sergio Baldoví
0013867adf
Add a compat function for get_next_dir() to accommodate platform-specific
...
strategies for locating resources (bug #264 ).
Legacy-ID: 4738
2012-10-03 13:15:31 +00:00
Fredrick Meunier
dfcf925e0d
Switch to using libspectrum_free over free to match our allocations.
...
Legacy-ID: 4717
2012-06-07 03:54:45 +00:00
Fredrick Meunier
00dbfa316b
Switch to using libspectrum_malloc over raw malloc.
...
Legacy-ID: 4715
2012-06-07 03:32:59 +00:00
Sergio Baldoví
2398614006
Remove deprecated GTK+ menu functions (patch #281 ).
...
Legacy-ID: 4685
2012-03-27 11:38:35 +00:00
Philip Kendall
5bda3dc157
Make Win32 build at least compile (almost entirely guesser).
...
Legacy-ID: 4648
2012-01-22 19:57:35 +00:00
Philip Kendall
38c04c8da8
utils_close_file() can never fail, so don't write excessive code to handle it
...
failing.
Legacy-ID: 4632
2012-01-19 22:55:39 +00:00
Philip Kendall
c65d48010a
Make selecting IDE from the command-line work.
...
Legacy-ID: 4605
2011-12-20 11:27:09 +00:00
Philip Kendall
224fe9332d
Merge in trunk r4549.
...
Legacy-ID: 4550
2011-11-06 22:10:10 +00:00
Stuart Brady
97c2314fd2
Add const qualifiers.
...
Legacy-ID: 4338
2011-04-02 13:14:00 +00:00
Philip Kendall
f07ae3ffd8
Move all peripherals files to new peripherals/ subdirectory.
...
Legacy-ID: 4288
2011-02-03 21:06:22 +00:00
Philip Kendall
023faa3d16
Rework peripheral handling to reduce explicit coupling (extended version of
...
patch #237 ).
Legacy-ID: 4258
2011-01-13 21:55:25 +00:00
Gergely Szasz
59aad209cb
Extract the read_screen() function to utils.c and add
...
utils_read_auxiliary_file() to simplify auxiliary file reading code (patch
#236 ).
Legacy-ID: 4253
2011-01-13 10:56:20 +00:00
Sergio Baldoví
e68442bcd8
Extend RZX playback handling of files without initial embedded snapshots to
...
cover File->Open, the command line and some miscellaneous RZX playback
initialisation bugs (more from patch #225 ).
Legacy-ID: 4159
2010-09-13 11:51:13 +00:00
Marek Januszewski
d1f9f57434
Wii: Use GEKKO macro instead of UI_WII for non-UI code that needs to be compiled when compiling for Wii. This will allow to compile Fuse for Wii either native or SDL UI
...
Legacy-ID: 4068
2009-08-30 19:30:19 +00:00
Fredrick Meunier
e7e8d7bb0c
Initial experimental Opus Discovery support.
...
Legacy-ID: 4047
2009-07-22 10:07:04 +00:00
Philip Kendall
b31eefdaaa
Merge up to current HEAD.
...
Legacy-ID: 3925
2009-01-01 16:13:19 +00:00
Philip Kendall
81a9c00e5f
A little bodge to let a wiiload-ed version of Fuse find its data files.
...
Legacy-ID: 3924
2009-01-01 15:13:35 +00:00
Philip Kendall
29267d09c6
First set of Wii fixes: reintroduce PATH_MAX, warning removal and Automake-related fixes (2008-08-28-wii).
...
Legacy-ID: 3762
2008-08-30 13:16:43 +00:00
Philip Kendall
4539598fe5
Wii port: compiles, but doesn't link. Much tidy-up needed! (2008-08-28-wii)
...
Legacy-ID: 3759
2008-08-28 21:35:08 +00:00
Philip Kendall
40e2bb7637
Add missing return.
...
Legacy-ID: 3733
2008-07-28 10:00:48 +00:00
Fredrick Meunier
f8223a265a
Add <string.h> for strncpy prototype.
...
Legacy-ID: 3696
2008-06-29 20:49:13 +00:00
Philip Kendall
d66306be46
Call the right function when reading a file.
...
Legacy-ID: 3689
2008-06-23 18:47:14 +00:00
Philip Kendall
c56a6a2cbb
Don't produce an error message if opening a file failed as this can be a
...
normal result.
Legacy-ID: 3688
2008-06-23 18:17:56 +00:00
Philip Kendall
06eb7ee4e4
Factor out low-level file handling into compat/<os>/file.c; needed for Wii port.
...
Legacy-ID: 3687
2008-06-23 11:55:23 +00:00
Fredrick Meunier
7743ec05fe
Move the widget UI files to the ui subdirectory, remove remnants of the GGI UI.
...
Legacy-ID: 3609
2008-05-01 13:17:56 +00:00
Gergely Szasz
1ed873d3c0
Replace lib765 and libdsk with new upd765 FDC emulation for +3 (remainder of
...
patch #165 ) (thanks, Mark Woodmass).
Legacy-ID: 3584
2008-03-25 10:27:30 +00:00
Fredrick Meunier
e21da2782d
Recognise periph_beta_active as valid on a .trd open (fixes bug #136 ).
...
Legacy-ID: 3456
2007-12-30 05:59:36 +00:00
Stuart Brady
55975121c4
Remove duplicated #includes.
...
Legacy-ID: 3320
2007-11-21 22:46:22 +00:00
Stuart Brady
874871e260
Rewrite Microdrive cartridge insertion/ejection code:
...
* Allow cartridges to be ejected without saving (fixes bug #124 ).
* Always prompt for a filename when ejecting cartridges (fixes bug #126 ).
* Prompt to eject a cartridge when inserting another in its place.
* Remove "Sync" option and add "Eject and write" option.
* Check for modified cartridges when exiting.
Legacy-ID: 3292
2007-11-11 20:10:32 +00:00
Stuart Brady
ef8a2340eb
Tidy up error messages.
...
Legacy-ID: 3232
2007-10-24 15:05:23 +00:00
Stuart Brady
3d09595a50
Use new WD FDC code for Beta disk interface emulation.
...
Legacy-ID: 3207
2007-10-19 20:04:47 +00:00