OpenCores
URL https://opencores.org/ocsvn/or1k/or1k/trunk

Subversion Repositories or1k

[/] [or1k/] [trunk/] [gdb-5.3/] [sim/] [m68hc11/] [ChangeLog] - Blame information for rev 1765

Details | Compare with Previous | View Log

Line No. Rev Author Line
1 1181 sfurman
2002-08-13  Stephane Carrez  
2
 
3
        * dv-m68hc11eepr.c (struct m68hc11eepr ): Use const char* for filename.
4
 
5
2002-08-13  Marko Kohtala  
6
 
7
        * interp.c (sim_prepare_for_program): Look up the image for the
8
        reset vector and set cpu_use_elf_start to 1 if not found.
9
        (sim_open): Do not set cpu_use_elf_start.
10
 
11
2002-08-13  Marko Kohtala  
12
 
13
        * interp.c (sim_hw_configure): Return 1 for success.
14
        (sim_prepare_for_program): Use the sim_hw_configure exit code to
15
        return SIM_RC_FAIL.
16
 
17
2002-08-13  Stephane Carrez  
18
 
19
        * dv-m68hc11.c (m68hc11cpu_io_read_buffer): Translate memory
20
        bank window to some virtual address to read from extended memory.
21
        (m68hc11cpu_io_write_buffer): Likewise for writing.
22
        (attach_m68hc11_regs): When use_bank property is defined, attach
23
        to the 68HC12 16K memory bank window.
24
        * interp.c (sim_hw_configure): Create memory region for banked
25
        memory.
26
 
27
2002-08-13  Stephane Carrez  
28
 
29
        * interp.c (sim_hw_configure): Connect port-X to cpu-write-port.
30
        * dv-m68hc11.c (m68hc11cpu_ports): Add cpu-write-port input.
31
        (m68hc11cpu_port_event): Handle CPU_WRITE_PORT event.
32
 
33
2002-08-13  Marko Kohtala  
34
 
35
        * dv-m68hc11.c (m68hc11cpu_io_write): Fix to update IO mapping
36
        when IO mapping changed, not when internal RAM mapping is changed.
37
 
38
2002-08-13  Stephane Carrez  
39
 
40
        * m68hc11_sim.c (cpu_special): Handle call and rtc instructions.
41
        * sim-main.h (M6812_CALL_INDIRECT): Add to enum.
42
        (m6811_regs): Add page register.
43
        (cpu_set_page, cpu_get_page): New macros.
44
        (phys_to_virt): New function.
45
        (cpu_get_indexed_operand_addr, cpu_return): Declare.
46
        * gencode.c: Identify indirect addressing mode for call and fix daa.
47
        (gen_function_entry): New param to tell if src8/dst8 locals are
48
        necessary.
49
        (gen_interpreter): Use it to avoid generation of unused variables.
50
        * interp.c (sim_fetch_register): Allow to read page register; page
51
        register, A, B and CCR are only 1 byte wide.
52
        (sim_store_register): Likewise for writing.
53
 
54
2002-06-16  Andrew Cagney  
55
 
56
        * configure: Regenerated to track ../common/aclocal.m4 changes.
57
 
58
2002-06-09  Andrew Cagney  
59
 
60
        * Makefile.in (INCLUDE): Update path to callback.h.
61
        * sim-main.h: Include "gdb/callback.h" and "gdb/remote-sim.h".
62
 
63
2002-03-07  Stephane Carrez  
64
 
65
        * m68hc11_sim.c (cpu_move8): Call sim_engine_abort in default case.
66
        (cpu_move16): Likewise.
67
        (sim_memory_error): Use sim_io_printf.
68
        (cpu_option_handler): Fix compilation warning.
69
        * interp.c (sim_hw_configure): Fix compilation warning;
70
        remove m68hc12sio@2 device.
71
        (sim_open): Likewise.
72
        * dv-m68hc11tim.c (m68hc11tim_port_event): Fix clear of TFLG2
73
        flags when reset.
74
        (cycle_to_string): Improve convertion of cpu cycle number.
75
        (m68hc11tim_info): Print info about PACNT.
76
        (m68hc11tim_io_write_buffer): Fix clearing of TFLG2; handle
77
        TCTL1 and TCTL2 registers.
78
        * dv-m68hc11.c (m68hc11_info): Print 6811 current running mode.
79
 
80
2002-03-07  Stephane Carrez  
81
 
82
        * interp.c (sim_hw_configure): Save the HW cpu pointer in the
83
        cpu struct.
84
        (sim_hw_configure): Connect the capture input/output events.
85
        * sim-main.h (_sim_cpu): New member hw_cpu.
86
        (m68hc11cpu_set_oscillator): Declare.
87
        (m68hc11cpu_clear_oscillator): Declare.
88
        (m68hc11cpu_set_port): Declare.
89
        * dv-m68hc11.c (m68hc11_options): New for oscillator commands.
90
        (m68hc11cpu_ports): New input ports and output ports to reflect
91
        the HC11 IOs.
92
        (m68hc11_delete): Cleanup any running oscillator.
93
        (attach_m68hc11_regs): Create the input oscillators.
94
        (make_oscillator): New function.
95
        (find_oscillator): New function.
96
        (oscillator_handler): New function.
97
        (reset_oscillators): New function.
98
        (m68hc11cpu_port_event): Handle the new input ports.
99
        (m68hc11cpu_set_oscillator): New function.
100
        (m68hc11cpu_clear_oscillator): New function.
101
        (get_frequency): New function.
102
        (m68hc11_option_handler): New function.
103
        (m68hc11cpu_set_port): New function.
104
        (m68hc11cpu_io_write): Post the port output events.
105
        * dv-m68hc11spi.c (set_bit_port): Use m68hc11cpu_set_port to set
106
        the output port value.
107
        * dv-m68hc11tim.c (m68hc11tim_port_event): Handle CAPTURE event
108
        by latching the TCNT value in the register.
109
 
110
2002-03-07  Stephane Carrez  
111
 
112
        * sim-main.h (cpu_frame, cpu_frame_list): Remove.
113
        (cpu_frame_reg, cpu_print_frame): Remove.
114
        (cpu_m68hc11_push_uint8, cpu_m68hc11_pop_uint8): Cleanup.
115
        (cpu_m68hc11_push_uint16, cpu_m68hc11_pop_uint16): Likewise.
116
        (cpu_m68hc12_push_uint8, cpu_m68hc12_push_uint16): Likewise.
117
        (cpu_m68hc12_pop_uint8, cpu_m68hc12_pop_uint16): Likewise.
118
        * m68hc11_sim.c (cpu_find_frame): Remove.
119
        (cpu_create_frame_list): Remove.
120
        (cpu_remove_frame_list, cpu_create_frame, cpu_free_frame): Remove.
121
        (cpu_frame_reg, cpu_print_frame, cpu_update_frame): Remove.
122
        (cpu_call): Cleanup to remove #if HAVE_FRAME and calls to the above.
123
        (cpu_update_frame): Likewise.
124
        (cpu_return): Likewise.
125
        (cpu_reset): Likewise.
126
        (cpu_initialize): Likewise.
127
        * interp.c (sim_do_command): Remove call to cpu_print_frame.
128
 
129
2002-03-07  Stephane Carrez  
130
 
131
        * interrupts.c (interrupts_reset): New function, setup interrupt
132
        vector address according to cpu mode.
133
        (interrupts_initialize): Move reset portion to the above.
134
        (interrupt_names): New table to give a name to interrupts.
135
        (idefs): Handle pulse accumulator interrupts.
136
        (interrupts_info): Print the interrupt history.
137
        (interrupt_option_handler): New function.
138
        (interrupt_options): New table of options.
139
        (interrupts_update_pending): Keep track of when interrupts are
140
        raised and implement breakpoint-on-raise-interrupt.
141
        (interrupts_process): Keep track of when interrupts are taken
142
        and implement breakpoint-on-interrupt.
143
        * interrupts.h (struct interrupt_history): Define.
144
        (struct interrupt): Keep track of the interrupt history.
145
        (interrupts_reset): Declare.
146
        (interrupts_initialize): Update prototype.
147
        * m68hc11_sim.c (cpu_reset): Reset interrupts.
148
        (cpu_initialize): Cleanup.
149
 
150
2001-07-28  Stephane Carrez  
151
 
152
        * dv-m68hc11eepr.c (m68hc11eepr_info): Fix print of current write
153
        address.
154
        (m68hc11eepr_port_event): Fix detach/attach logic.
155
 
156
2001-07-22  Stephane Carrez  
157
 
158
        * Makefile.in (SIM_OBJS): Remove sim-resume.o
159
        * interp.c (sim_resume): New function from sim-resume.c, install
160
        the stepping event after having processed the pending ticks.
161
        (has_stepped): Likewise.
162
        (sim_info): Produce an output only if verbose or STATE_VERBOSE_P.
163
 
164
2001-07-10  Andrew Cagney  
165
 
166
        * Makefile.in (gencode): Provide explicit path to gencode.c.
167
 
168
2001-05-20  Stephane Carrez  
169
 
170
        * Makefile.in (M68HC11_OBJS): Add m68hc12int.o.
171
        (m68hc12int.c): Generate using gencode -m6812.
172
        (m68hc11int.c): Likewise with -m6811.
173
 
174
        * gencode.c (m6811_opcode_patterns): New patterns for 68HC12.
175
        (m6811_page1_opcodes): Remove duplicate entries.
176
        (m6811_page2_opcodes): Likewise.
177
        (m6811_page3_opcodes): Likewise.
178
        (m6811_page4_opcodes): Likewise.
179
        (m6812_page1_opcodes): New table for 68HC12 instructions.
180
        (m6812_page2_opcodes): Likewise.
181
        (gen_fetch_operands): New modes [] and &[] for 68HC12 operands.
182
        (gen_save_result): Likewise.
183
        (gen_interpreter_for_table): Handle 68HC11 and 68HC12 opcodes.
184
        (cmp_opcode): New function for opcode comparision.
185
        (prepare_table): Sort the opcodes.
186
        (gen_interpreter): Prepare all the tables and generate either
187
        a 68HC11 or a 68HC12 simulator.
188
        (main): New options -m6811 and -m6812.
189
 
190
        * m68hc11_sim.c (cpu_single_step): Use pointer to cpu interpretor.
191
        (cpu_special): Simulation of some 68HC12 instructions.
192
        (cpu_exg): New function.
193
        (cpu_dbcc): Likewise.
194
        (cpu_fetch_relbranch16): Likewise.
195
        (cpu_push_all): Push according to 68HC11 or 68HC12.
196
        (cpu_move16): Likewise.
197
        (cpu_move8): Likewise.
198
        (cpu_get_indexed_operand16): Likewise.
199
        (cpu_get_indexed_operand8): Likewise.
200
        (cpu_get_indexed_operand_addr): Likewise.
201
        (cpu_set_reg, cpu_set_dst_reg, cpu_get_src_reg, cpu_get_reg): Likewise.
202
        (cpu_reset): Setup INIT register according to architecture.
203
 
204
        * sim-main.h (M6811_Special): Add 68HC12 specific instructions.
205
        (_sim_cpu): Keep track of the cpu being simulated.
206
        (cpu_get_tmp3, cpu_get_tmp2, cpu_set_tmp3, cpu_set_tmp2): New.
207
        (cpu_m68hc11_push_uintxx): Rename of cpu_push_uintxx.
208
        (cpu_m68hc11_pop_uint8): Likewise.
209
        (cpu_m68hc12_push_uintxx): New functions for 68HC12.
210
        (cpu_m68hc12_pop_uintxx): Likewise.
211
        (cpu_exg, cpu_dbcc, cpu_move8, cpu_move16): Likewise,
212
        (cpu_fetch_relbranch16): Likewise.
213
        (cpu_interp_m6811): Rename of cpu_interp.
214
        (cpu_interp_m6812): New function.
215
        * interp.c (free_state): New function.
216
        (dev_list_68hc12): New table.
217
        (sim_board_reset): Reset depending on the cpu (HC11 or HC12).
218
        (sim_hw_configure): New function.
219
        (sim_prepare_for_program): New function.
220
        (sim_open): Use above new functions.
221
        (sim_close): Call free_state().
222
        (sim_info): Print info according to cpu.
223
        (sim_create_inferior): Use sim_prepare_for_program.
224
        (sim_do_command): Configure the hardware after a change of the
225
        architecture.
226
 
227
2001-05-20  Stephane Carrez  
228
 
229
        * dv-m68hc11sio.c (m68hc11sio_tx_poll): Always check for
230
        pending interrupts.
231
        * interrupts.c (interrupts_process): Keep track of the last number
232
        of masked insn cycles.
233
        (interrupts_initialize): Clear last number of masked insn cycles.
234
        (interrupts_info): Report them.
235
        (interrupts_update_pending): Compute clear and set masks of
236
        interrupts and clear the interrupt bits before setting them
237
        (due to SCI interrupt sharing).
238
        * interrupts.h (struct interrupts): New members last_mask_cycles
239
        and xirq_last_mask_cycles.
240
 
241
2000-11-26  Stephane Carrez  
242
 
243
        * dv-m68hc11.c (m68hc11cpu_io_read_buffer): Use attach_size
244
        instead of a hard-coded value.
245
        (m68hc11cpu_io_write_buffer): Likewise.
246
        (dv_m68hc11_descriptor): Define a 68hc12 device.
247
        * dv-m68hc11eepr.c (dv_m68hc11eepr_descriptor): Likewise.
248
        * dv-m68hc11tim.c (dv_m68hc11tim_descriptor): Likewise.
249
        * dv-m68hc11spi.c (dv_m68hc11spi_descriptor): Likewise.
250
        * dv-m68hc11sio.c (dv_m68hc11sio_descriptor): Likewise.
251
 
252
2000-11-22  Stephane Carrez  
253
 
254
        * dv-m68hc11.c (attach_m68hc11_regs): Register a delete handler.
255
        (m68hc11cpu_delete): Delete handler to detach the address space.
256
 
257
2000-11-24  Stephane Carrez  
258
 
259
        * dv-m68hc11eepr.c (attach_m68hc11eepr_regs): Use hw_malloc.
260
        * dv-nvram.c (attach_nvram_regs): Use hw_free and hw_malloc
261
        instead of free and malloc.
262
 
263
2000-09-11  Stephane Carrez  
264
 
265
        * Makefile.in: Was missing from initial patch.
266
 
267
2000-09-10  Stephane Carrez  
268
 
269
        * interp.c (sim_store_register): Remove soft register hack.
270
        (sim_fetch_register): Likewise.
271
        (sim_create_inferior): Likewise.
272
        * sim-main.h: Likewise.
273
 
274
2000-09-10  Stephane Carrez  
275
 
276
        * interrupts.c (interrupts_update_pending): Clear the mask of
277
        pending interrupts here.
278
        (interrupts_get_current): Don't clear the mask of pending interrupts.
279
 
280
2000-09-10  Stephane Carrez  
281
 
282
        * sim-main.h: Define cycle_to_string.
283
        * dv-m68hc11tim.c (cycle_to_string): New function to translate
284
        the cpu cycle into some formatted time string.
285
        (m68hc11tim_print_timer): Use it.
286
        * dv-m68hc11sio.c (m68hc11sio_info): Use cycle_to_string.
287
        * dv-m68hc11spi.c (m68hc11spi_info): Likewise.
288
        * interrupts.c (interrupts_info): Likewise.
289
        * m68hc11_sim.c (cpu_info): Likewise.
290
 
291
2000-09-06  Stephane Carrez  
292
 
293
        * dv-m68hc11tim.c (m68hc11tim_timer_event): Compute the overflow
294
        interrupt and compare events accurately.  Take into account the
295
        pending ticks not processed by the simulator yet (introduced a shift).
296
        (m68hc11_port_event): Reset the timer interrupt delays.
297
        (m68hc11tim_io_read_buffer): Be able to read several bytes.
298
        (m68hc11tim_io_write_buffer): Likewise for write.
299
        (m68hc11tim_io_write_buffer): Recompute the timer overflow interrupt.
300
 
301
2000-09-06  Stephane Carrez  
302
 
303
        * dv-m68hc11spi.c (m68hc11spi_io_read_buffer): Clear the interrupts.
304
        (m68hc11spi_io_write_buffer): Likewise and fix the spi frame.
305
        (m68hc11spi_info): Clarify the status report
306
        of the SPI when a byte is being sent.
307
        (m68hc11spi_clock): Fix the spi send frame.
308
 
309
2000-08-11  Stephane Carrez  
310
 
311
        * sim-main.h (m68hc11_map_level): Define level of address mappings.
312
        * dv-m68hc11eepr.c (struct m68hc11eepr ): New flag to indicate
313
        whether the eeprom is currently mapped or not.
314
        (m68hc11eepr_port_event): Use the flag to see if we must unmap
315
        or map the eeprom.  Update the flag to reflect the current state.
316
        Use M6811_EEPROM_LEVEL when mapping the eeprom.
317
        (m68hc11eepr_finish): Remove overlap hack.
318
        (attach_m68hc11eepr_regs): Use M6811_IO_LEVEL when mapping the
319
        config and control registers.
320
        * dv-m68hc11.c (m68hc11cpu_finish): Remove overlap hack.
321
        (attach_m68hc11_regs): Use M6811_IO_LEVEL.
322
        (m68hc11cpu_io_write): Likewise when unmapping and re-mapping.
323
        * dv-m68hc11spi.c (m68hc11spi_finish): Likewise.
324
        (attach_m68hc11spi_regs): Likewise.
325
        * dv-m68hc11tim.c (m68hc11tim_finish): Likewise.
326
        (attach_m68hc11tim_regs): Likewise.
327
        * dv-m68hc11sio.c (m68hc11sio_finish): Likewise.
328
        (attach_m68hc11sio_regs): Likewise.
329
        * interp.c (sim_open): Likewise.
330
        * dv-nvram.c (attach_nvram_regs): Likewise.
331
 
332
Thu Jul 27 21:27:25 2000  Andrew Cagney  
333
 
334
        * configure, config.in: Regenerate.
335
 
336
2000-06-25  Stephane Carrez  
337
 
338
        * Makefile.in (SIM_RUN_OBJS): Define to use nrun.c
339
        * dv-m68hc11.c (m68hc11cpu_finish): Register detach address callback.
340
        (dv_m6811_detach_address_callback): New function to detach a
341
        device from an address space.
342
        * dv-m68hc11eepr.c (m68hc11eepr_port_event): Initialize
343
        config register according to --cpu-config option.
344
        * sim-main.h (_sim_cpu): Add cpu_config member.
345
        * interp.c (sim_open): Delete specific simulator options.
346
        * m68hc11_sim.c (cpu_option_handler): New options
347
        --emulos and -cpu-config  to configure the simulator.
348
        (cpu_initialize): Initialize cpu_config member.
349
 
350
2000-06-24  Stephane Carrez  
351
 
352
        * emulos.c: Fix indentation and comments.
353
        * gencode.c: Likewise.
354
        * dv-m68hc11tim.c (m68hc11tim_timer_event): Handle COMPARE_EVENT.
355
        (m68hc11tim_io_write_buffer): Write compare registers and
356
        setup compare event.
357
        * interp.c: Remove unused global variables.
358
        * interrupts.c (idefs): New compare interrupts.
359
        Fix indentation and comments.
360
        * interrupts.h: Likewise.
361
 
362
2000-06-18  Stephane Carrez  
363
 
364
        * dv-m68hc11sio.c: Fix indentation and comments.
365
        Remove INT_PORT.
366
        * dv-m68hc11.c: Fix indentation and comments.
367
        (m68hc11cpu_port_event): Move initialization of M6811_HPRIO from here.
368
        * m68hc11_sim.c (cpu_reset): To here.
369
        * dv-m68hc11eepr.c: Fix indentation and comments.
370
 
371
2000-06-17  Stephane Carrez  
372
 
373
        * dv-nvram.c: New file, rename from dv-pram.c.
374
        * dv-pram.c: Delete file.
375
        * sim-main.h: Incorporate m68hc11_sim.h.
376
        * m68hc11_sim.h: Delete file.
377
        * configure.in: Rename pram into nvram.
378
        * interp.c (sim_open): Likewise in creation of device tree.
379
 
380
2000-05-31  Stephane Carrez  
381
 
382
        * interp.c (sim_open): Create the SPI device.
383
        * dv-m68hc11spi.c: New file for SPI device simulation.
384
        * configure.in (hw_extra_devices): Add SPI device.
385
 
386
2000-05-28  Stephane Carrez  
387
 
388
        * interrupts.c (interrupts_initialize): Clear XIRQ accounting.
389
        (interrupts_process): Separate IRQ and XIRQ accounting.
390
        (interrupts_info): Report XIRQ accounting.
391
        * interrupts.h (struct interrupts): Added accounting for XIRQ.
392
 
393
2000-04-16  Stephane Carrez  
394
 
395
        * dv-pram.c (attach_pram_regs): Fix the 'save-modified' mode.
396
        * m68hc11_sim.h (_sim_cpu): Allow configuration of cpu mode.
397
        * dv-m68hc11.c (attach_m68hc11_regs): Get the cpu MODA,MODB
398
        configuration from the 'mode' device tree property.
399
        (m68hc11cpu_port_event): Reset M6811_HPRIO to the cpu MODA, MODB
400
        configuration.
401
 
402
2000-02-24  Stephane Carrez  
403
 
404
        * sim-main.h: Remove WITH_TARGET_* defines.
405
        * Makefile.in (SIM_EXTRA_CFLAGS): Specify the WITH_TARGET_* flags.
406
 
407
2000-02-08  Stephane Carrez  
408
 
409
        * dv-m68hc11sio.c (m68hc11sio_port_event): Setup the SCI to
410
        1200 baud when cpu is in bootstrap mode.
411
 
412
        * dv-m68hc11tim.c (m68hc11tim_io_write_buffer): Be able to
413
        write in the TCTN timer register.
414
 
415
        * dv-m68hc11sio.c (m68hc11sio_io_write_buffer): Divide cpu clock
416
        by 4 to obtain the E clock frequency.
417
        (sccr2_desc): Use M6811_TIE for TIE bit.
418
        (m68hc11sio_info): Fix baud rate report.
419
 
420
        * dv-m68hc11tim.c (to_realtime): Likewise.
421
 
422
        * interp.c (sim_open): When building device tree, only provide
423
        devices that do not exist yet.
424
 
425
        * emulos.c: Fix compilation pb under Windows.
426
 
427
        * dv-m68hc11.c (attach_m68hc11_regs): Get the clock frequency
428
        from the 'clock' property.
429
 
430
2000-01-02  Stephane Carrez  
431
 
432
        * m68hc11_sim.h (*_REGNUM): Define.
433
        (_sim_cpu): New member cpu_page0_reg table.
434
        * interp.c (sim_create_inferior): Fill the cpu_page0_reg table with
435
        addresses of soft registers in .page0.
436
        (sim_fetch_register, sim_store_register): Use cpu_page0_reg table
437
        to get/set soft registers.
438
 
439
1999-12-31  Stephane Carrez  
440
 
441
        * dv-m68hc11.c (m68hc11cpu_io_write_buffer): Clear byte to avoid
442
        returning random values.
443
 
444
1999-12-17  Stephane Carrez  
445
 
446
        * gencode.c: Fix "subb N,x" that used a instead of b.
447
 
448
1999-09-09  Stephane Carrez  
449
 
450
        * gencode.c: Fixed sbc8 and adc8 when there was a initial carry.
451
 
452
1999-09-01  Stephane Carrez  
453
 
454
        * sim-main.h (SIM_HANDLES_LMA): Define to enable loading using lma.
455
 
456
1999-08-14  Stephane Carrez  
457
 
458
        * dv-m68hc11.c (attach_m68hc11_regs): Save the size of the
459
        register region in the m68hc11cpu struct.
460
        (m68hc11cpu_io_write): When the IO mapping addres changes,
461
        detach the register region and re-attach it at the new address.
462
        (m68hc11cpu_io_read_buffer): Renamed base_address into
463
        attach_address.
464
        (m68hc11cpu_io_write_buffer): Likewise. Pass the hw pointer
465
        to m68hc11cpu_io_write.
466
 
467
1999-08-13  Stephane Carrez  
468
 
469
        * gencode.c: For sbc8, check the carry and increment the source
470
        before trying to set the carry for the result.
471
 
472
1999-05-24  John S. Kallal 
473
 
474
        * interp.c (sim_get_info): Don't crash if the command line is 0.
475
        Define prototype for sim_get_info() and init_system().
476
        (sim_info): Correct call to sim_get_info().
477
 
478
1999-05-16  Stephane Carrez  
479
 
480
        * configure.in: Recognize m6811-*-*.
481
        * configure: Regenerate.
482
        * m68hc11_sim.h (cpu_ccr_update_add8, cpu_ccr_update_add16,
483
        cpu_ccr_update_sub8, cpu_ccr_update_sub16):
484
        Correct the computation of carry of 8 and 16-bits add and subtract.
485
        * gencode.c: Use cpu_ccr_update_sub8 for subtraction (carry and
486
        overflow set in a different manner than add).
487
 
488
1999-05-14  Stephane Carrez  
489
 
490
        * dv-m68hc11.c (dv_m6811_attach_address_callback): Removed a
491
        trace message.
492
        * interp.c (sim_open, sim_create_inferior): Initialize the
493
        cpu_elf_start from the ELF header.
494
        * m68hc11_sim.c (cpu_initialize): Clear the new data members.
495
        (cpu_restart): Use cpu_elf_start as the starting address when
496
        the flag is set.
497
        (cpu_special): When cpu_use_elf_start is set, the WAI instruction
498
        exits the simulator (exit status is in D).
499
        * m68hc11_sim.h (_sim_cpu): Added members cpu_use_elf_start and
500
        cpu_elf_star to start execution at address specified in ELF file.
501
 
502
1999-05-02  Stephane Carrez  
503
 
504
        * Makefile.in, config.in, configure, configure.in: New files.
505
        * gencode.c: New file, generation of 68HC11 interpreter.
506
        * m68hc11_sim.h, m68hc11_sim.c: New files, specific operations
507
        for interpreter.
508
        * interrupts.c, interrupts.h: New files, management of interrupts.
509
        * interp.c, sim-main.h,
510
        * dv-m68hc11.c, dv-m68hc11eepr.c, dv-m68hc11sio.c,
511
        dv-m68hc11tim.c, dv-pram.c: New files representing devices for
512
        68HC11 (dv-pram.c is generic and could probably migrate to common).
513
        * emulos.c: New file, basic emulation of some os.

powered by: WebSVN 2.1.0

© copyright 1999-2024 OpenCores.org, equivalent to Oliscience, all rights reserved. OpenCores®, registered trademark.