Fredrick Meunier
160b7e7544
Always set peripheral status to match snapshots
...
when they are being loaded
2018-04-03 21:23:16 +10:00
Fredrick Meunier
5de51003fd
Retire legacy RCS tags
2016-10-24 11:45:18 +11:00
Sergio Baldoví
74d8c03b23
Split +D memory sources. Coalesce +D and DISCiPLE RAM pages (patch #373 ).
...
Legacy-ID: 5671
2016-07-08 22:30:55 +00:00
Philip Kendall
1aa3488f7f
Add display initialisation to the startup manager.
...
Legacy-ID: 5665
2016-07-06 19:22:35 +00:00
Philip Kendall
df72dd319b
Make every startup module dependent on setuid() having been called.
...
Legacy-ID: 5659
2016-06-30 19:35:18 +00:00
Philip Kendall
c8f1ad25e1
Use ARRAY_SIZE macro (thanks, Sergio).
...
Legacy-ID: 5652
2016-06-19 19:05:12 +00:00
Philip Kendall
3f6e39eaea
Use startup manager for end functions as well.
...
Legacy-ID: 5648
2016-06-18 21:54:46 +00:00
Philip Kendall
2655a31339
Make all init functions return a value.
...
Legacy-ID: 5642
2016-06-17 20:50:23 +00:00
Philip Kendall
d2032c36aa
Add memory subsystem into startup manager.
...
Legacy-ID: 5639
2016-06-16 20:56:39 +00:00
Philip Kendall
326ec81453
Initial work on a startup manager to automatically handle dependency issues.
...
Legacy-ID: 5637
2016-06-16 18:56:42 +00:00
Sergio Baldoví
fc0acddb35
Extend breakpoints on paging events to more peripherals:
...
Beta 128, +D, Didaktik 80, DISCiPLE, Opus Discovery and SpeccyBoot.
Legacy-ID: 5627
2016-06-11 18:16:36 +00:00
Fredrick Meunier
2a065448ce
Fix snapshot saving/loading for 2KB memory page size. Also make IF1 only save or
...
load 8KB of ROM as that is what the hardware and our emulation support (patch
#366 ).
Legacy-ID: 5503
2016-05-21 07:04:34 +00:00
Fredrick Meunier
3dad5661d8
Remove check for NULL from memory allocation as we abort in those circumstances
...
instead.
Legacy-ID: 5456
2016-05-08 05:38:43 +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
Gergely Szasz
29cf97a337
Move the "Disk icon" update code to fdd.c (patch #348 ).
...
Legacy-ID: 5363
2016-03-24 23:45:46 +00:00
Stuart Brady
0ae09638d8
Track port attachment for each data bus line
...
Legacy-ID: 5279
2015-05-27 04:42:24 +00:00
Stuart Brady
0d8fb8c932
Make DISCiPLE, +D and IF1 port handlers be static
...
Legacy-ID: 5276
2015-05-27 03:13:36 +00:00
Stuart Brady
fa4c1dce91
Add C99-style named initialisers in comments
...
Legacy-ID: 5251
2015-05-11 17:34:37 +00:00
Sergio Baldoví
6fe14f9600
Use libspectrum_free where appropriate.
...
Legacy-ID: 5164
2015-03-17 00:10:14 +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
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
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
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
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
e6941fcf7d
Revert further changes causing regressions in Opus/+D/DISCiPLE emulation
...
Legacy-ID: 4878
2013-02-12 00:32:49 +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
Sergio Baldoví
f2cfaba381
Fix various memory leaks (rest of bug #254 ).
...
Legacy-ID: 4696
2012-05-07 02:05:13 +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
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
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
9c0cb31440
Add +D unit test.
...
Legacy-ID: 4587
2011-11-26 21:39:59 +00:00
Philip Kendall
496d6eb538
Merge in memory rework branch, mostly for coretest and Win32 fixes.
...
Legacy-ID: 4468
2011-06-06 22:02:44 +00:00
Philip Kendall
ac8424ba26
Merge memory changes into Spectranet branch.
...
Legacy-ID: 4452
2011-06-02 19:34:50 +00:00
Philip Kendall
a404e3f5f8
Integrate from trunk to Spectranet branch (just to keep it vaguely up to date).
...
Legacy-ID: 4418
2011-05-04 22:19:27 +00:00
Philip Kendall
2140b9817f
Move to a system where memory sources are registered by 3rd parties.
...
Legacy-ID: 4378
2011-04-26 23:02:06 +00:00
Philip Kendall
670eaf5bc5
Merge in changes from trunk.
...
Legacy-ID: 4374
2011-04-25 20:36:33 +00:00
Philip Kendall
96732c6d06
Next step: remove old memory source values.
...
Legacy-ID: 4315
2011-02-19 18:50:36 +00:00
Philip Kendall
96129d5cca
First bit of rework: merge memory_page.bank and memory_page.source.
...
Legacy-ID: 4314
2011-02-18 23:31:59 +00:00
Philip Kendall
f6e0d15d0a
Add new "peripheral activated" function and use it to allocate memory.
...
Legacy-ID: 4300
2011-02-09 23:57:09 +00:00
Philip Kendall
a8db7496e1
Wrap peripheral data up into a type and further renames to better match what
...
types represent.
Legacy-ID: 4299
2011-02-08 22:24:30 +00:00
Fredrick Meunier
2dbb762ec9
Use memory pool to allocate the Spectrum 16K uninstalled memory and +D memory.
...
Legacy-ID: 4298
2011-02-08 10:38:53 +00:00
Philip Kendall
c598fa99fa
periph_t does not represent a peripheral, but just one port from a peripheral,
...
so rename appropriately.
Legacy-ID: 4297
2011-02-07 23:09:31 +00:00
Philip Kendall
f07ae3ffd8
Move all peripherals files to new peripherals/ subdirectory.
...
Legacy-ID: 4288
2011-02-03 21:06:22 +00:00