~ubuntu-branches/ubuntu/maverick/vice/maverick

« back to all changes in this revision

Viewing changes to src/core/riotcore.c

  • Committer: Bazaar Package Importer
  • Author(s): Zed Pobre
  • Date: 2005-02-01 11:30:26 UTC
  • mfrom: (1.1.2 upstream)
  • Revision ID: james.westby@ubuntu.com-20050201113026-3eyakzsmmheclvjg
Tags: 1.16-1
* New upstream version
* Fixes crash on 64-bit architectures (closes: #287640)
* x128 working again (closes: #286767)
* Works fine with /dev/dsp in use (not in the main changelog, but tested
  on my local machine as working).  Presumably, this also takes care of
  the issue with dsp being held.  I'm not sure if this is because I'm
  testing it on a 2.6 kernel now -- if you are still having problems
  with /dev/dsp, please reopen the bugs. (closes: #152952, #207942)
* Don't kill Makefile.in on clean

Show diffs side-by-side

added added

removed removed

Lines of Context:
110
110
 
111
111
void riotcore_reset(riot_context_t *riot_context)
112
112
{
 
113
    riot_context->riot_io[0] = 0;
 
114
    riot_context->riot_io[1] = 0;
 
115
    riot_context->riot_io[2] = 0;
 
116
    riot_context->riot_io[3] = 0;
 
117
 
113
118
    riot_context->read_clk = 0;
114
119
 
115
120
    alarm_unset(riot_context->alarm);
125
130
    riot_context->r_write_clk = *(riot_context->clk_ptr);
126
131
    riot_context->r_N = 255;
127
132
    riot_context->r_divider = 1;
 
133
    riot_context->r_irqen = 0;
128
134
 
129
135
    riot_context->reset(riot_context);
130
136
}