1
0
mirror of https://git.code.sf.net/p/fuse-emulator/fuse synced 2026-01-27 01:41:34 +03:00
Commit Graph

90 Commits

Author SHA1 Message Date
Fredrick Meunier
5de51003fd Retire legacy RCS tags 2016-10-24 11:45:18 +11: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
4ee9aaa31c Add event subsystem into startup manager.
Legacy-ID: 5654
2016-06-19 21:44:05 +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
Stuart Brady
c5473ecdc2 Add static to functions where appropriate
Legacy-ID: 5270
2015-05-26 02:59:36 +00:00
Adrien Destugues
325055c32c Avoid mixing declarations and code for C89 compilers
Legacy-ID: 5252
2015-05-12 23:13:44 +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
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
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
7668b8cc43 event_init() can never fail.
Legacy-ID: 4634
2012-01-19 23:28:49 +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
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
dcd5561483 event_reset() returns void (thanks, zx81).
Legacy-ID: 4269
2011-01-20 21:10:14 +00:00
Philip Kendall
b638565e2a Tidy new event removal function a bit, and make functions which can't error
return void.

Legacy-ID: 3912
2008-12-15 05:10:21 +00:00
Gergely Szasz
d0ce4810bd Fix issue with FDD motor events preventing both +3 disk drives from being used
(bug #165).


Legacy-ID: 3911
2008-12-14 22:08:55 +00:00
Philip Kendall
cd6e7ace96 Add missing #include <string.h>.
Legacy-ID: 3682
2008-06-19 05:43:54 +00:00
Philip Kendall
ddcb8654a2 Refactor the event architecture so that modules register their own events with
the event system (patch #177).


Legacy-ID: 3681
2008-06-16 09:40:29 +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
Gergely Szasz
5da1da6cfa Add fdd motor on/off, head load/unload, spindle motor spin up/down, ready
state/signal and fdd drive select emulation (remainder of patch #167).


Legacy-ID: 3533
2008-02-29 10:01:14 +00:00
Stuart Brady
278fffe61f Handle EVENT_TYPE_WD_FDC_TIMEOUT in event_name().
Legacy-ID: 3223
2007-10-22 23:09:59 +00:00
Gergely Szasz
3bf5c70e34 Add timeout event (part of patch #139).
Legacy-ID: 3217
2007-10-21 21:22:07 +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
Stuart Brady
227677d964 Remove unused +D event.
Legacy-ID: 3205
2007-10-19 16:37:27 +00:00
Philip Kendall
80751bf929 Warnings removal.
Legacy-ID: 3201
2007-10-16 21:19:34 +00:00
Stuart Brady
804db19c85 Rename wd1770.[ch] to wd_fdc.[ch], and s/wd1770/wd_fdc/.
Legacy-ID: 3187
2007-10-05 15:50:43 +00:00
Stuart Brady
7ff0ac324a Make libdisk.a no longer depend on libdsk.
Legacy-ID: 3184
2007-09-28 19:40:20 +00:00
Gergely Szasz
7c0bb3831e New WD17xx emulation, with support for non-uniform sector layouts .
Legacy-ID: 3183
2007-09-28 18:06:54 +00:00
Stuart Brady
4985797674 Add 'user_data' event field (Gergely Szasz and Stuart Brady).
Legacy-ID: 3182
2007-09-28 17:39:39 +00:00
Philip Kendall
a10abd8149 Return value of malloc() shouldn't be cast. The cast to void* was
particularly strange!

Legacy-ID: 3137
2007-09-01 18:42:53 +00:00
Philip Kendall
0872b1501d Move timer code selection logic into configure.in.
Legacy-ID: 3084
2007-07-30 21:54:54 +00:00
Stuart Brady
0a71d3de18 Fix misspellings.
Legacy-ID: 3032
2007-06-28 22:48:54 +00:00
Stuart Brady
ac2cea7519 Merge 2007-06-09-plusd to r2963.
Legacy-ID: 2964
2007-06-10 21:30:45 +00:00
Stuart Brady
d57d4d21ab +D emulation (part of patch #99).
Legacy-ID: 2957
2007-06-09 22:18:52 +00:00
Fredrick Meunier
720947a36a Add support for recording into a RLE raw sample block (feature request
#24).


Legacy-ID: 2918
2007-06-01 12:51:20 +00:00
Stuart Brady
5bed548bc6 Update FSF address in GPL notices, add autogenerated-file comment to
settings.h, add missing Id tags, and some boilerplate formatting fixes .

Legacy-ID: 2889
2007-05-26 17:45:08 +00:00
Philip Kendall
b9cc4b03a8 Change my e-mail address to @shadowmagic and remove my postal address.
Legacy-ID: 2720
2007-02-02 16:22:00 +00:00
Fredrick Meunier
fdb4098be6 Minor event optimisations - keep most recent event around in case we need a
new one soon to save on malloc/free overhead, and if we know an event will
go on the front of a list just prepend rather than insert sorted.

Legacy-ID: 2653
2006-09-03 14:12:23 +00:00
Philip Kendall
0a84f2a194 Fred's renderer changes moved to the Release-0_7_0-render-branch; back
the changes out from HEAD for now.

Legacy-ID: 2629
2006-08-06 10:41:54 +00:00
Fredrick Meunier
1f568fc163 Store old events in a free list rather than mallocing and freeing them each
time.

Legacy-ID: 2624
2006-08-01 13:51:17 +00:00
Fredrick Meunier
6942cdc83a New character based renderer fixes regressions with various demos and mixed
mode Timex screens (fixes bug #34).


Legacy-ID: 2622
2006-07-31 13:33:27 +00:00
Philip Kendall
be8ede2b0f Don't reset tstates at the end of event.c:event_force_events() (fixes bug
#38) (thanks, Jon Needle).


Legacy-ID: 2553
2005-04-27 22:28:51 +00:00
Fredrick Meunier
61862b4f7d Modify timing routines to simply execute enough tstates to match the (real)
elapsed time. Also allows variable frame rates (ie 60Hz for the TS2068)
(rest of patch #50).


Legacy-ID: 2472
2005-01-07 22:18:03 +00:00
Philip Kendall
81511c8663 First pass at character-accurate rendering.
Legacy-ID: 2449
2004-12-25 18:51:36 +00:00
Philip Kendall
55869988ae Make the libjsw code use the new input layer.
Legacy-ID: 2069
2004-03-26 16:35:36 +00:00
Philip Kendall
1aec028091 Don't display an error message if the same message was displayed within the
past second.

Legacy-ID: 2017
2004-02-27 11:58:32 +00:00
Philip Kendall
8667e59c4f New breakpoint type to trigger when tstates is greater than a certain
value.

Legacy-ID: 1848
2003-12-29 14:39:42 +00:00
Philip Kendall
751074831a Use the defined enum for event type variables.
Legacy-ID: 1809
2003-12-07 13:58:14 +00:00