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

« back to all changes in this revision

Viewing changes to src/vic20/vic20via1.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:
83
83
{
84
84
}
85
85
 
86
 
inline void static store_acr(via_context_t *via_context, BYTE byte)
87
 
{
88
 
}
89
 
 
90
 
inline void static store_sr(via_context_t *via_context, BYTE byte)
91
 
{
92
 
}
93
 
 
94
 
inline void static store_t2l(via_context_t *via_context, BYTE byte)
 
86
static void store_acr(via_context_t *via_context, BYTE byte)
 
87
{
 
88
}
 
89
 
 
90
static void store_sr(via_context_t *via_context, BYTE byte)
 
91
{
 
92
}
 
93
 
 
94
static void store_t2l(via_context_t *via_context, BYTE byte)
95
95
{
96
96
}
97
97
 
99
99
{
100
100
}
101
101
 
102
 
inline static void store_pra(via_context_t *via_context, BYTE byte,
103
 
                             BYTE myoldpa, WORD addr)
 
102
static void store_pra(via_context_t *via_context, BYTE byte, BYTE myoldpa,
 
103
                      WORD addr)
104
104
{
105
105
}
106
106
 
108
108
{
109
109
}
110
110
 
111
 
inline static void store_prb(via_context_t *via_context, BYTE byte,
112
 
                             BYTE myoldpb, WORD addr)
 
111
static void store_prb(via_context_t *via_context, BYTE byte, BYTE myoldpb,
 
112
                      WORD addr)
113
113
{
114
114
    if ((byte ^ myoldpb) & 8)
115
115
        datasette_toggle_write_bit((~(via_context->via[VIA_DDRB]) | byte)
125
125
/*iec_pcr_write(0x22);*/
126
126
}
127
127
 
128
 
inline static BYTE store_pcr(via_context_t *via_context, BYTE byte, WORD addr)
 
128
static BYTE store_pcr(via_context_t *via_context, BYTE byte, WORD addr)
129
129
{
130
130
    /* FIXME: this should use via_set_ca2() and via_set_cb2() */
131
131
    if (byte != via_context->via[VIA_PCR]) {
139
139
    return byte;
140
140
}
141
141
 
142
 
inline static BYTE read_pra(via_context_t *via_context, WORD addr)
 
142
static BYTE read_pra(via_context_t *via_context, WORD addr)
143
143
{
144
144
    BYTE byte;
145
145
    /* FIXME: not 100% sure about this... */
156
156
    return byte;
157
157
}
158
158
 
159
 
inline static BYTE read_prb(via_context_t *via_context)
 
159
static BYTE read_prb(via_context_t *via_context)
160
160
{
161
161
    BYTE byte;
162
162
    /* FIXME: not 100% sure about this... */