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
b2b45bc9a4
Use libspectrum_{new,new0,renew}() macros where sizeof(elem) > 1
...
Legacy-ID: 5125
2015-03-02 20:44:27 +00:00
Fredrick Meunier
6ebaee9f41
Allow room in the widget UI debugger for longer memory strings, restore Timex
...
EXROM and Dock text as it isn't truncated in any UIs now (thanks, Sergio).
Legacy-ID: 5075
2014-03-22 05:33:32 +00:00
Fredrick Meunier
5fcc8264e2
Timex EXROM and Dock text was truncated in the debugger UI (thanks, Andrew Owen).
...
Legacy-ID: 5074
2014-03-03 12:37:23 +00:00
Witold Filipczyk
5c312b2984
Correct restore of pentagon 1024 memory ports from snapshots (bug #275 ).
...
Legacy-ID: 4857
2013-01-23 12:00:08 +00:00
Fredrick Meunier
d108dadb10
Tweak copyright dates.
...
Legacy-ID: 4737
2012-09-28 13:15:27 +00:00
Fredrick Meunier
17d5b9fa5f
Read and write all potential 1024k worth of memory pages from a snap, initialise
...
the Pentagon 1024k memory ports from a snapshot and ensure that we respect the
paged state of the Beta ROM when loading Pentagon 128k/512k/1024k snapshots
(ketmar and Fred).
Legacy-ID: 4736
2012-09-28 12:44:11 +00:00
Fredrick Meunier
162d5cba78
Restore loading of DCK files, fix issue loading DCK files with uninitialised RAM
...
(patch #284 ) (rkd77 and Fred)
Legacy-ID: 4724
2012-07-08 13:38:21 +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
Fredrick Meunier
103657baa5
Switch to using libspectrum_realloc over raw realloc.
...
Legacy-ID: 4713
2012-06-07 03:19:57 +00:00
Philip Kendall
12dfdf9b8b
More init functions that can never fail.
...
Legacy-ID: 4635
2012-01-19 23:39:04 +00:00
Philip Kendall
e98c630145
Use utils_safe_strdup where appropriate.
...
Legacy-ID: 4633
2012-01-19 23:26:10 +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
63deeb9bf6
Finish fixing Spectrum SE paging.
...
Legacy-ID: 4575
2011-11-21 19:55:16 +00:00
Philip Kendall
4fc35a3a8e
A fairly brute-force removal of the almost unnecessary
...
memory_map_{home,dock,exrom} layer. The only thing that this makes hard is .dck
files containing a "HOME" chunk - will worry about that later.
Legacy-ID: 4571
2011-11-20 22:25:31 +00:00
Philip Kendall
bf7752451d
Merge in trunk up to r4565.
...
Legacy-ID: 4566
2011-11-19 19:59:25 +00:00
Philip Kendall
63f87cfbef
Assign memory_source_dock and memory_source_exrom.
...
Legacy-ID: 4562
2011-11-18 22:31:39 +00:00
Philip Kendall
0086480ef1
Merge in 2011-05-04-memory branch up to r4550.
...
Legacy-ID: 4551
2011-11-06 22:24:00 +00:00
Philip Kendall
224fe9332d
Merge in trunk r4549.
...
Legacy-ID: 4550
2011-11-06 22:10:10 +00:00
Sergio Baldoví
9ae8892dd2
Free up memory (mostly GArray) when Fuse is exiting: memory, mempool, event,
...
debugger/event, rzx (part of patch #226 ).
Legacy-ID: 4540
2011-09-05 12:31:18 +00:00
Philip Kendall
c208e22b8a
Even less stubby W5100 emulation.
...
Legacy-ID: 4482
2011-06-13 22:02:28 +00:00
Philip Kendall
a26d7ed568
Add emulation of the AMD AM29F010 flash (modified from patch #260 ) (Guesser
...
and Phil).
Legacy-ID: 4469
2011-06-07 21:35:17 +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
Stuart Brady
f9b92bd0f0
Guard against overrun of Opus RAM buffer by increasing the amount allocated.
...
Legacy-ID: 4460
2011-06-05 23:59:43 +00:00
Philip Kendall
b703d7c731
Add stub W5100 emulation.
...
Legacy-ID: 4459
2011-06-05 20:27:50 +00:00
Philip Kendall
ac8424ba26
Merge memory changes into Spectranet branch.
...
Legacy-ID: 4452
2011-06-02 19:34:50 +00:00
Philip Kendall
20eea17a7b
Get Russian machines working with 4Kb pages.
...
Legacy-ID: 4450
2011-06-02 16:28:02 +00:00
Philip Kendall
983e9c1ebc
Get 128K machine working with 4Kb pages.
...
Legacy-ID: 4427
2011-05-09 21:20:17 +00:00
Philip Kendall
5272bbdb99
Get 128K machine working with 8Kb pages again.
...
Legacy-ID: 4426
2011-05-09 18:55:23 +00:00
Philip Kendall
754b4d07b1
Base 48K Spectrum working with a page size of 4Kb.
...
Legacy-ID: 4425
2011-05-08 21:40:52 +00:00
Philip Kendall
6159f71586
First bits of general memory page sizing.
...
NB: don't even consider changing the page size yet!
Legacy-ID: 4422
2011-05-04 23:02:33 +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
d91c57cfd3
Allow page-specific breakpoints to be specified as "source:page:offset".
...
Legacy-ID: 4390
2011-04-27 21:55:33 +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
1807d38f06
Fix memory bank naming.
...
Legacy-ID: 4376
2011-04-25 21:52:07 +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
Fredrick Meunier
ce47ffd671
Reset ROM source to SYSTEM on machine reset so tape traps work on machines with
...
fewer ROMs than a machine with a custom ROM that is used first (fixes bug
#213 ) (thanks, Phil Reynolds).
Legacy-ID: 4304
2011-02-13 11:48:49 +00:00
Philip Kendall
a28c9cc4ec
Use memory pool to allocate the DivIDE/ZXATASP/ZXCF memory.
...
Legacy-ID: 4293
2011-02-06 21:24:20 +00:00
Philip Kendall
f07ae3ffd8
Move all peripherals files to new peripherals/ subdirectory.
...
Legacy-ID: 4288
2011-02-03 21:06:22 +00:00
Fredrick Meunier
513ef0145d
writable_roms preference shouldn't affect the 16K machine "empty" page (thanks,
...
Andrew Owen).
Legacy-ID: 4186
2010-10-25 10:29:45 +00:00
Gergely Szasz
c874f859dc
Make each peripheral/machine that uses memory paged in via /ROMCS have its own
...
copy of the relevant struct (part of patch #189 ).
Legacy-ID: 4099
2009-10-22 10:59:02 +00:00
Fredrick Meunier
848f71f08b
Tidy up memory read a bit.
...
Legacy-ID: 4059
2009-07-28 12:34:15 +00:00
Fredrick Meunier
e7e8d7bb0c
Initial experimental Opus Discovery support.
...
Legacy-ID: 4047
2009-07-22 10:07:04 +00:00
Fredrick Meunier
9c0eb4a5e3
Add support for Pentagon 1024SL v2.2 16 colour mode.
...
Legacy-ID: 4038
2009-06-24 14:25:23 +00:00
Philip Kendall
9eefc9dcaa
Add facility to run debugger commands when a breakpoint is hit.
...
Legacy-ID: 3655
2008-06-07 13:46:07 +00:00
Fredrick Meunier
2f0c05ca47
Don't use tape traps or auto-load snapshots if we are using a custom ROM as the
...
entry points are very likely to have moved.
Legacy-ID: 3603
2008-04-15 13:33:24 +00:00
Fredrick Meunier
72ac301dc5
Add support for saving custom machine ROMs in snapshots.
...
Legacy-ID: 3538
2008-03-11 11:45:16 +00:00