1
0
mirror of https://git.code.sf.net/p/fuse-emulator/fuse synced 2026-01-30 04:22:18 +03:00
Commit Graph

191 Commits

Author SHA1 Message Date
Sergio Baldoví
6fe14f9600 Use libspectrum_free where appropriate.
Legacy-ID: 5164
2015-03-17 00:10:14 +00:00
Sergio Baldoví
533ecfe9d6 Initialise sockaddr_in.
Legacy-ID: 5141
2015-03-15 23:10:24 +00:00
Sergio Baldoví
1fb631658a Use libspectrum_new0 where appropriate.
Legacy-ID: 5140
2015-03-15 22:57:10 +00:00
Sergio Baldoví
8a964e81fe Remove unneeded "out of memory" error handling.
Legacy-ID: 5139
2015-03-15 22:49:47 +00:00
Sergio Baldoví
dbae1afca5 Switch to using libspectrum_new over raw malloc.
Legacy-ID: 5136
2015-03-14 13:23:36 +00:00
Stuart Brady
996f1054bd W5100: fix segfault in error handling when setting SO_REUSEADDR
Legacy-ID: 5135
2015-03-03 22:10:01 +00:00
Stuart Brady
d4a756f594 Add missing GCC_PRINTF annotations
Legacy-ID: 5134
2015-03-03 22:01:50 +00:00
Stuart Brady
08a57d6f00 FDD: use separate functions for reading and writing
Legacy-ID: 5133
2015-03-03 16:24:12 +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
Gergely Szasz
57b674d401 Migrate "index event" handling to the FDD layer and have FDC layer use it for
their STATUS registers (fixes bug #311).

Legacy-ID: 5116
2015-03-01 11:21:57 +00:00
Sergio Baldoví
1be5a53644 Avoid the use of memory after it is freed.
Legacy-ID: 5110
2015-01-06 11:50:29 +00:00
Fredrick Meunier
463b36a14a disk_write(): avoid passing null argument to strcasecmp() if filename is less
than 4 characters.

Legacy-ID: 5103
2014-12-29 12:40:38 +00:00
Sergio Baldoví
1a07a48f3b Fix loading of EDSK files with Sector Offset block (fixes bug #307).
Legacy-ID: 5068
2014-01-22 23:10:26 +00:00
Fredrick Meunier
1f561c411e Remove clang tautological-constant-out-of-range-compare warnings by moving
sentinels into enums and not assigning non-enum values to enum variables.

Legacy-ID: 5060
2013-12-15 04:35:50 +00:00
Sergio Baldoví
34e226e553 Remove unused macros on disk peripherals.
Legacy-ID: 5034
2013-09-08 17:25:57 +00:00
Alex Badea
be0656cde1 Generic FDD UI handling cleanup (patch #315).
Legacy-ID: 5032
2013-09-08 07:13:44 +00:00
Sergio Baldoví
23540128c3 Fix length of data returned by READ_DIAG command (fixes bug #300) (thanks, Fred).
Legacy-ID: 5031
2013-08-19 22:32:49 +00:00
Sergio Baldoví
1f3a0d4aad Fix overlapped SEEK commands (fixes bug #236) (thanks, Fred).
Legacy-ID: 5029
2013-08-19 22:12:49 +00:00
Sergio Baldoví
96a7f5ca71 Check ready status after loading a disk into floppy disk drive (fixes bug #223) (thanks, John Elliott).
Legacy-ID: 5028
2013-08-19 22:01:55 +00:00
Sergio Baldoví
283300786b Fix disk image corruption after saving UDI files (fixes bug #299).
Legacy-ID: 5027
2013-07-22 21:49:39 +00:00
Sergio Baldoví
b577f7157d Put braces around empty body in ‘do’ statements.
Legacy-ID: 4927
2013-05-05 08:05:11 +00:00
Sergio Baldoví
a16e6ef2d1 Complete some missing field initializers.
Legacy-ID: 4926
2013-05-05 07:58:18 +00:00
Sergio Baldoví
f6f7ca3d45 Remove and relocate some header inclusions.
Legacy-ID: 4924
2013-05-05 07:40:02 +00:00
Sergio Baldoví
2e06be7577 Allow disabling Spectranet code (more from bug #259).
Legacy-ID: 4919
2013-04-20 07:47:56 +00:00
Fredrick Meunier
13019d93eb Fix loading of EDSK files with redundant sector images (bug #293).
Legacy-ID: 4918
2013-04-20 06:39:18 +00:00
Sergio Baldoví
4d86477efb Destroy mutex before closing (patch #308).
Legacy-ID: 4912
2013-03-24 19:34:06 +00:00
Fredrick Meunier
6870e23626 Do a hard reset when a peripheral that requires it is enabled or disabled in
settings (bugs #281, #283, #289).

Legacy-ID: 4906
2013-03-10 11:21:37 +00:00
Philip Kendall
3e0fcb09bc Implement Spectranet's "suppress NMI" flipflop (bug #259).
Legacy-ID: 4905
2013-03-08 20:21:40 +00:00
Sergio Baldoví
3fb9d30c33 Fix memory disk image corrupted after save (bug #279).
Legacy-ID: 4902
2013-03-03 22:09:51 +00:00
Sergio Baldoví
67c843447e Improve SpeccyBoot behaviour on non-Linux systems and when ROM is not available
(patch #302).

Legacy-ID: 4898
2013-02-25 22:20:54 +00:00
Stuart Brady
a4d7c27f87 Rename the paging port functions to follow MGT terminology.
disciple_mem_{read,write} becomes disciple_patch_{read,write}, which follows
the terminology in the DISCiPLE user manual.

plusd_mem_{read,write} are renamed in a similar fashion on the assumption
that this terminology applies equally to the +D.

Legacy-ID: 4896
2013-02-23 17:44:30 +00:00
Stuart Brady
aca83efda9 Remove comments regarding unattached port I/O for paging operations
Legacy-ID: 4895
2013-02-23 17:10:31 +00:00
Stuart Brady
f62e55b150 Remove GDOS from DISCiPLE ROM image and use 8 KiB ROMs
Legacy-ID: 4894
2013-02-23 16:36:17 +00:00
Sergio Baldoví
72a71aa0f3 Fix header descriptions.
Legacy-ID: 4893
2013-02-23 15:49:39 +00:00
Stuart Brady
e6941fcf7d Revert further changes causing regressions in Opus/+D/DISCiPLE emulation
Legacy-ID: 4878
2013-02-12 00:32:49 +00:00
Stuart Brady
a57367ad35 DISCiPLE: Fix typo in comment documenting port decoding
Legacy-ID: 4877
2013-02-11 22:16:59 +00:00
Philip Kendall
4f223a9aa6 Remove data races (patch #306) (thanks, Alberto Garcia and helgrind).
Legacy-ID: 4876
2013-02-03 19:45:37 +00:00
Fredrick Meunier
4122601079 Revert fix to bug #273, ensure that interfaces are disabled in the reset
function unless the peripheral is enabled (bug #276 #278) (thanks, Stuart
Brady).

Legacy-ID: 4872
2013-02-02 20:54:33 +00:00
Philip Kendall
915c3c7c1c Ensure we don't read bogus data on UDP writes (bug #271).
Legacy-ID: 4865
2013-01-28 20:54:40 +00:00
Fredrick Meunier
3ef19eb215 Make sure that an associated peripheral is enabled before running it's
associated memory_map function (bug #276).

Legacy-ID: 4864
2013-01-28 00:06:57 +00:00
Fredrick Meunier
5a38932813 Add separate switch to enable ZX Printer emulation (bug #274).
Legacy-ID: 4861
2013-01-26 11:48:27 +00:00
Witold Filipczyk
d6ec226a15 Make sure write_pending member of nic_w5100_socket_t is initialised (bug #275).
Legacy-ID: 4858
2013-01-25 22:07:07 +00:00
Stuart Brady
e7f1a7c151 Swap the order of the lower and upper banks of the DISCiPLE ROM
Legacy-ID: 4853
2013-01-06 15:30:01 +00:00
Stuart Brady
a99225fa94 Fix inverted logic of the DISCiPLE's printer busy line
Legacy-ID: 4848
2013-01-03 22:36:44 +00:00
Stuart Brady
017435b798 Rename 'Interface I' and 'Interface II' to 'Interface 1' and 'Interface 2'
Legacy-ID: 4835
2012-12-31 15:35:45 +00:00
Sergio Baldoví
8b5e5fb4d9 Preliminary support for 64-bits binaries for Windows (patch #301).
Legacy-ID: 4785
2012-12-07 23:56:40 +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í
69feda297d Update FSF address in GPL notices, change Phil e-mail address to @shadowmagic and remove postal address, fix hardcoded Id tags, and add missing properties.
Legacy-ID: 4775
2012-11-26 23:03:36 +00:00
Fredrick Meunier
92cf3774c6 Migrate INCLUDES to AM_CPPFLAGS.
Legacy-ID: 4743
2012-10-10 13:20:50 +00:00
Sergio Baldoví
d936a603cb Show microdrive icon in the status bar before the first access (patch #294).
Legacy-ID: 4728
2012-07-16 13:21:53 +00:00