Search
lxdream.org :: lxdream/src/sh4/sh4.h :: diff
lxdream 0.9.1
released Jun 29
Download Now
filename src/sh4/sh4.h
changeset 1187:266e7a1bae90
prev1125:9dd5dee45db9
next1189:1540105786c8
author nkeynes
date Tue Nov 29 17:52:43 2011 +1000 (10 years ago)
permissions -rw-r--r--
last change Refactor event processing into sh4_handle_pending_events()
file annotate diff log raw
1.1 --- a/src/sh4/sh4.h Mon Sep 13 10:13:42 2010 +1000
1.2 +++ b/src/sh4/sh4.h Tue Nov 29 17:52:43 2011 +1000
1.3 @@ -124,6 +124,17 @@
1.4 void sh4_set_pc( int pc );
1.5
1.6 /**
1.7 + * Set the time of the next pending event within the current timeslice.
1.8 + */
1.9 +void sh4_set_event_pending( uint32_t cycles );
1.10 +
1.11 +/**
1.12 + * Handle an event that's due (note caller is responsible for ensuring that the
1.13 + * event is in fact due).
1.14 + */
1.15 +void sh4_handle_pending_event();
1.16 +
1.17 +/**
1.18 * Execute (using the emulator) a single instruction (in other words, perform a
1.19 * single-step operation).
1.20 */
.