Subversion Repositories svn.mios

Rev

Rev 660 | Show entire file | Regard whitespace | Details | Blame | Last modification | View Log | RSS feed

Rev 660 Rev 727
Line 167... Line 167...
167
167
168
    public int getSramReadAddress() {
168
    public int getSramReadAddress() {
169
        return sramReadAddress;
169
        return sramReadAddress;
170
    }
170
    }
171
171
172
    public void setReadAddress(int readAddress) {
172
    public void setSramReadAddress(int readAddress) {
173
        this.sramReadAddress = readAddress;
173
        this.sramReadAddress = readAddress;
174
174
175
        setChanged();
175
        setChanged();
176
        notifyObservers(SRAM_READ_ADDRESS);
176
        notifyObservers(SRAM_READ_ADDRESS);
177
        clearChanged();
177
        clearChanged();
Line 179... Line 179...
179
179
180
    public int getSramReadCounter() {
180
    public int getSramReadCounter() {
181
        return sramReadCounter;
181
        return sramReadCounter;
182
    }
182
    }
183
183
184
    public void setReadCounter(int readCounter) {
184
    public void setSramReadCounter(int readCounter) {
185
        this.sramReadCounter = readCounter;
185
        this.sramReadCounter = readCounter;
186
186
187
        setChanged();
187
        setChanged();
188
        notifyObservers(SRAM_READ_COUNTER);
188
        notifyObservers(SRAM_READ_COUNTER);
189
        clearChanged();
189
        clearChanged();
Line 191... Line 191...
191
191
192
    public int getSramWriteAddress() {
192
    public int getSramWriteAddress() {
193
        return sramWriteAddress;
193
        return sramWriteAddress;
194
    }
194
    }
195
195
196
    public void setWriteAddress(int writeAddress) {
196
    public void setSramWriteAddress(int writeAddress) {
197
        this.sramWriteAddress = writeAddress;
197
        this.sramWriteAddress = writeAddress;
198
198
199
        setChanged();
199
        setChanged();
200
        notifyObservers(SRAM_WRITE_ADDRESS);
200
        notifyObservers(SRAM_WRITE_ADDRESS);
201
        clearChanged();
201
        clearChanged();
Line 203... Line 203...
203
203
204
    public int getSramWriteData() {
204
    public int getSramWriteData() {
205
        return sramWriteData;
205
        return sramWriteData;
206
    }
206
    }
207
207
208
    public void setWriteValue(int writeValue) {
208
    public void setSramWriteData(int writeData) {
209
        this.sramWriteData = writeValue;
209
        this.sramWriteData = writeData;
210
210
211
        setChanged();
211
        setChanged();
212
        notifyObservers(SRAM_WRITE_DATA);
212
        notifyObservers(SRAM_WRITE_DATA);
213
        clearChanged();
213
        clearChanged();
214
    }
214
    }