2001-05-08  Stephane Carrez  <Stephane.Carrez@worldnet.fr>

	* Makefile (VERSION): Set version to 1.2.1.
	* README (Note): Document Windows build.bat.

2001-04-29  Stephane Carrez  <Stephane.Carrez@worldnet.fr>

	* calculator/build.bat: New file to build on Windows without make.
	* lib/build.bat: New file.
	* simple/build.bat: New file.
	* trap/build.bat: New file.
	* primes/build.bat: New file.
	* timer/build.bat: New file.
	* gtam/build.bat: New file.
	* analyzer/build.bat: New file.
	* build.bat: New file, top level build for Windows.
	* config.bat: New file, top level configuration to build on Windows.

2001-04-16  Stephane Carrez  <Stephane.Carrez@worldnet.fr>

	* calculator/Makefile (CPPFLAGS): Remove.
	* calculator/calc.h: Define the size of 'value_t' according
	to TEXT_SIZE.
	* include/asm-m68hc11/param.h (TEXT_SIZE): Define.
	* calculator/calc.c (print_help): Print size of values.
	* lib/Makefile (CSRCS): Compile lsqrt64.c
	* include/imath.h: Define lsqrt64.
	* lib/lsqrt64.c (lsqrt64): New file.
	* calculator/calc.c (operation): Implement OP_SQRT.
	(commands): Add OP_SQRT.
	* calculator/calc.h (op_type): Add OP_SQRT.

2001-04-14  Stephane Carrez  <Stephane.Carrez@worldnet.fr>

	* simple/simple.c: Add documentation for doxygen.
	* gtam/blink.c: Likewise.
	* gtam/booter.c: Likewise.
	* gtam/checker.c: Likewise.
	* gtam/dumper.c: Likewise.
	* timer/timer.c: Likewise.
	* calculator/calc.c: Likewise.
	* trap/trap-main.c: Likewise.
	* benchs/bench-basic.c: Likewise.
	* benchs/bench-float.c: Likewise.
	* benchs/bench-string.c: Likewise.
	* benchs/bench-misc.c: Likewise.
	* primes/primes.c: Likewise.

	* lib/premain.c: New file to call serial_init().
	* simple/simple.c (main): Don't call serial_init() now it's called
	from __premain().

	* lib/benchs.c (bench_init): Likewise.
	* timer/timer.c (main): Likewise.

	* trap/trap-main.c (__premain): Remove.

	* calculator/calc.c (sprintf): Recognize %ld.
	(print_value): Fix warning by using %ld.

	* lib/benchs.c: Remove sprintf, vprintf, hex_convert, dec_convert.

	* include/stdio.h: New file from Newlib and cleaned up for
	the examples (imported so that examples do not rely on Newlib).
	* lib/printf.c (printf): New file.
	* lib/sprintf.c: New file to avoid to use Newlib for examples.
	* lib/Makefile (CSRCS): Compile sprintf.c

	* doc/Makefile: New file to build documentation using doxygen.
	* doc/Doxyfile: New file.
	* doc/index.doc: New file, glue documentation.
	* doc/header.html: New file.
	* doc/tailer.html: New file.
	* doc/incorporate-bench.pl: New file.
	* doc/bench-basic.log: New files.
	* doc/bench-float.log: New files.
	* doc/bench-misc.log: New files.
	* doc/bench-string.log: New files.

2001-04-13  Stephane Carrez  <Stephane.Carrez@worldnet.fr>

	* include/imath.h: New file.

	* benchs/Makefile: Remove benchs.c.
	* lib/Makefile (CSRCS): Compute benchs.c
	* benchs/benchs.c: Move from here.
	* lib/benchs.c: To here.
	* benchs/benchs.h: Move from here.
	* include/benchs.h: To here.

	* config/m68hc11-ebcs/make.defs (CPPFLAGS): Likewise with -DEBCS.
	* config/m68hc11-32k/make.defs (CPPFLAGS): Compile examples with
	-DM6811_32K to identify this board.

2001-04-12  Stephane Carrez  <Stephane.Carrez@worldnet.fr>

	* primes/Makefile: New file.
	* primes/primes.c: New example.

	* lib/Makefile (CSRCS): Add lsqrt.c
	* lib/lsqrt.c: New file.

2001-04-02  Stephane Carrez  <Stephane.Carrez@worldnet.fr>

	* benchs/Makefile: Compile new benchmark.
	* benchs/bench-string.c: New file, benchmark strings.
	* benchs/bench-misc.c (bench_fact): New benchmark.
	(fact_ushort): Fact using unsigned short.
	(fact_ulong): Likewise with unsigned long.
	(main): Call bench_fact.

2001-01-14  Stephane Carrez  <Stephane.Carrez@worldnet.fr>

	* lib/Makefile: Fix compilation for Axiom board.

2001-01-08  Stephane Carrez  <Stephane.Carrez@worldnet.fr>

	* Makefile (tar): Exclude *.log files when building the tar-ball.

	* config/m68hc11-32k/memory.x: Move stack at top of RAM bank.

	* benchs/Makefile: New file.
	* benchs/bench-misc.c: New file, benchmark for misc operations.
	* benchs/bench-basic.c: New file, basic type benchmarks.
	* benchs/bench-float.c: New file, float and double benchmarks.
	* benchs/benchs.c: New file, benchmark operations.
	* benchs/benchs.h: New file.
	* Makefile (SUBDIRS): Add benchs directory.
	(VERSION): Increment version.

2000-12-26  Stephane Carrez  <Stephane.Carrez@worldnet.fr>

	* gtam/blink.c: New bootstrap program.

2000-12-20  Stephane Carrez  <Stephane.Carrez@worldnet.fr>

	* lib/Makefile: Build exit.o.
	* lib/exit.c: New file.

	* config/make.defs: Include the target board definitions.
	* config/board.def: New file, specify the target board.

	* config/m68hc11-32k/make.defs: New file.
	* config/m68hc11-32k/memory.x: New file (32K ram + 32K rom board).
	* config/m68hc11-ebcs/make.defs: New file.
	* config/m68hc11-ebcs/memory.x: New file (EBCS board, 8K ram).
	* config/m68hc11-cme11/make.defs: New file.
	* config/m68hc11-cme11/memory.x: New file (CME11E9 EVBU with
	Buffalo monitor).
	* config/m68hc12-axcmd12/make.defs: New file.
	* config/m68hc12-axcmd12/memory.x: New file (CMD12 with	Dbug monitor).

2000-12-16  Stephane Carrez  <Stephane.Carrez@worldnet.fr>

	* calculator/Makefile (LDFLAGS): Remove.

2000-12-13  Stephane Carrez  <Stephane.Carrez@worldnet.fr>

	* timer/timer.h: Include <sys/*.h>

	* gtam/booter.c: Include <sys/ports.h>
	* gtam/checker.c: Likewise.
	* gtam/dumper.c: Likewise.

	* trap/trap-main.c (main): Use set_interrupt_handler.
	* trap/trap.h (set_trap_handler, SWI_VECTOR, handler): Remove
	and include <sys/interrupts.h>.
	
	* lib/ports.s (_io_ports): Define for 68HC11 or 68HC12.

	* lib/sio.c: Include <sys/sio.h> to become more generic.
	* simple/simple.c: Likewise.
	* trap/trap.h (set_trap_handler): Likewise.
	
	* include/sys/sio.h: New file.
	include/sys/param.h: Likewise.
	include/sys/interrupts.h: Ditto.
	include/sys/ports.h: Ditto.
	include/sys/locks.h: Ditto.
	include/sys/ports_def.h: Ditto.
	include/sys/regs.h: Rename of include/m68hc11/regs.h
	include/asm-m68hc11/*: Files from include/m68hc11/*
	include/m68hc11: Remove that directory.
	include/asm-m68hc12/*: Files for 68HC12.

2000-12-12  Stephane Carrez  <Stephane.Carrez@worldnet.fr>


	* include/m68hc11/ports.h (timer_initialize_rate): Rename of
	timer_initialize.

	* include/m68hc11/interrupts.h (set_interrupt_handler): Use
	id to install the handler at the correct place.
	Update comments for DOC++.
	* include/m68hc11/locks.h: Update comments for DOC++.
	* include/m68hc11/param.h: Likewise.

2000-08-05  Stephane Carrez  <Stephane.Carrez@worldnet.fr>

	* README: Update.

	* config/make.defs (TARGET_PROC, TARGET_INT, DEBUG, OPT,
	WARN): New variables for configuration.

	* calculator/Makefile (CPPFLAGS): Cleanup and simplify.

	* lib/ports.s (_io_ports): New file for default definition of
	_io_ports address.
	* lib/Makefile (SSRCS): Add it.

	* include/m68hc11/sio.h (serial_init): Define function inline.
	(serial_send): Likewise.
	(serial_recv): Likewise.
	(serial_receive_pending): New function.
	(serial_flush): New function.

	* include/m68hc11/locks.h (lock): Lock and return the previous
	lock status.
	(restore): New function to restore previous lock state.

	* include/m68hc11/interrupts.h: New file.
	* include/m68hc11/param.h: New file.
	* include/m68hc11/regs.h: New file.
	* include/m68hc11/ports.h (timer_initialize): New function.
	(timer_acknowledge): New function.
	(cop_optional_reset): New function.
	(cop_reset): New function.

	* gtam/booter.c (_start): Flush the SCI before starting.
	* gtam/Makefile: Cleanup and simplify.

2000-08-04  Stephane Carrez  <Stephane.Carrez@worldnet.fr>

	* simple/Makefile: Cleanup and simplify.
	* trap/Makefile: Likewise.
	* lib/sio.c: New file to implement sio operation in C.
	* lib/sio.s: Delete.
	* Makefile (tar): New command to build the tarball.
	(SUBDIRS): Add timer example.
	* calculator/calc.c (sprintf): Use vavalue_t type to avoid problem
	when the value_t is a short.
	(calc_wait_command): Make sure the buffer is null terminated.
	Print a trailing \n.
	(main): Put 'values' variable as local variable of main.
	* calculator/calc.h (vavalue_t): Define to avoid a problem
	when the value_t is a short (promoted to int in C).

