Sergio Baldoví
6fe14f9600
Use libspectrum_free where appropriate.
...
Legacy-ID: 5164
2015-03-17 00:10:14 +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
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í
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
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
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
Sergio Baldoví
3fb9d30c33
Fix memory disk image corrupted after save (bug #279 ).
...
Legacy-ID: 4902
2013-03-03 22:09:51 +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
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
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
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
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í
f2cfaba381
Fix various memory leaks (rest of bug #254 ).
...
Legacy-ID: 4696
2012-05-07 02:05:13 +00:00
Philip Kendall
df7ec35799
Make event_add_with_data() just blow up if it can't allocate memory.
...
Legacy-ID: 4641
2012-01-21 13:42:51 +00:00
Philip Kendall
dd1e3a07a8
Yet more init functions that can never fail.
...
Legacy-ID: 4636
2012-01-20 14:07:15 +00:00
Philip Kendall
e98c630145
Use utils_safe_strdup where appropriate.
...
Legacy-ID: 4633
2012-01-19 23:26:10 +00:00
Philip Kendall
2fe6955b1b
Make event_register() just blow up if it can't allocate memory.
...
Legacy-ID: 4630
2012-01-19 22:32:50 +00:00
Philip Kendall
c8de5da422
Fix up mismerged files.
...
Legacy-ID: 4625
2012-01-09 21:21:25 +00:00
Philip Kendall
956e377af8
Merge in Spectranet branch.
...
Legacy-ID: 4624
2012-01-09 20:59:35 +00:00
Philip Kendall
0818f8c568
Make Opus paging arguably even less wrong. It's still not right, though.
...
Legacy-ID: 4598
2011-12-17 22:01:13 +00:00
Philip Kendall
ee2586cb36
Make Opus paging less wrong.
...
Legacy-ID: 4597
2011-12-17 21:48:22 +00:00
Philip Kendall
44feae9ec4
Merge in trunk up to r4594. Compiles and at least runs, but fails unit tests.
...
Legacy-ID: 4595
2011-12-16 22:48:45 +00:00
Philip Kendall
1d5138f894
Fix typo.
...
Legacy-ID: 4589
2011-11-27 22:16:37 +00:00
Philip Kendall
1d0ece4a4e
Introduce an explicit split between the DISCiPLE ROM and RAM.
...
Legacy-ID: 4588
2011-11-27 20:34:24 +00:00
Philip Kendall
9c0cb31440
Add +D unit test.
...
Legacy-ID: 4587
2011-11-26 21:39:59 +00:00
Philip Kendall
c54fca6bb8
Add Opus unit test.
...
Legacy-ID: 4586
2011-11-26 21:35:55 +00:00
Philip Kendall
a89f5acd71
Ensure DISCiPLE page numbers are set correctly, and add DISCiPLE unit test.
...
Legacy-ID: 4585
2011-11-25 21:51:01 +00:00
Philip Kendall
0a9d928375
Add Beta disk unit test.
...
Legacy-ID: 4584
2011-11-25 21:27:49 +00:00