incubator-nuttx/arch/z80/src/z180
Gregory Nutt beaf976626 arch/: board function prototypes are now in include/nuttx/board.h. Remove from architecture header file; Add inclusion of nuttx/board.h to all files referencing board functions 2015-02-27 17:19:38 -06:00
..
Kconfig
Make.defs There used to be two ways to pass parameters to new tasks, depending upon the configuration: Either (1) argv[] as created as an array with each string strdup'ed. Or (1) argv[] array and strings were created on the stack before the new task was started. Now, there is only one way, way (1). Way (2) might be slightly more compact, but this is not worth carry the complexity of two different ways of doing the same thing. 2014-09-01 15:39:34 -06:00
README.txt
Toolchain.defs
chip.h
switch.h
up_mem.h
z180_config.h
z180_copystate.c
z180_head.asm
z180_initialstate.c
z180_io.c
z180_iomap.h
z180_irq.c
z180_lowscc.c
z180_lowserial.c
z180_lowuart.c
z180_mmu.c Move include/nuttx/gran.h to include/nuttx/mm/gran.h 2014-09-24 06:55:26 -06:00
z180_mmu.h
z180_mmu.txt
z180_modifiyreg8.c
z180_registerdump.c Update everything under nuttx/arch to use the corrected syslog interfaces 2014-10-08 12:48:47 -06:00
z180_restoreusercontext.asm
z180_rom.asm
z180_romvectors.asm
z180_saveusercontext.asm
z180_scc.c More fixes to problems noted by cppcheck. Some are kind of risky; some are real bugs. 2014-11-25 13:15:09 -06:00
z180_schedulesigaction.c
z180_serial.h
z180_sigdeliver.c arch/: board function prototypes are now in include/nuttx/board.h. Remove from architecture header file; Add inclusion of nuttx/board.h to all files referencing board functions 2015-02-27 17:19:38 -06:00
z180_timerisr.c More fixes to problems noted by cppcheck. Some are kind of risky; some are real bugs. 2014-11-25 13:15:09 -06:00
z180_vectcommon.asm
z180_vectors.asm

README.txt

arch/z80/src/z180
^^^^^^^^^^^^^^^^^

The arch/z80 directories contain files to support a variety of 8-bit architectures
from ZiLOG (and spin-architectures such as the Rabbit2000).  The arch/z80/src/z180
sub-directory contains logic unique to the classic Z180 family of chips.

Files in this directory include:

z180_head.asm
	This is the main entry point into the Z180 program.  This includes the
	handler for the RESET, power-up interrupt vector and address zero and all
	RST interrupts.

z180_rom.asm
	Some architectures may have ROM located at address zero.  In this case, a
	special version of the "head" logic must be used.  This special "head"
	file is probably board-specific and, hence, belongs in the board-specific
	configs/<board-name>/src directory.  This file may, however, be used as
	a model for such a board-specific file.

	z180_rom.S is enabled by specifying CONFIG_LINKER_ROM_AT_0000 in the
	configuration file.

	A board specific version in the configs/<board-name>/src directory can be
	used by:
	
	1. Define CONFIG_ARCH_HAVEHEAD
	2. Add the board-specific head file, say <filename>.asm, to
	   configs/<board-name>/src
	3. Add a file called Make.defs in the configs/<board-name>/src directory
	   containing the line:  HEAD_ASRC = <file-name>.asm

Make.defs
	This is the standard makefile fragment that must be provided in all
	chip directories.  This fragment identifies the chip-specific file to
	be used in building libarch.

chip.h
	This is the standard header file that must be provided in all chip
	directories.

z180_initialstate.c, z180_copystate.c,  z180_restoreusercontext.asm, and
z180_saveusercontext.asm, switch
 	These files implement the Z180 context switching logic

z180_schedulesigaction.c and  z180_sigdeliver.c
	These files implement Z180 signal handling.