nuttx/arch/z80/src/z80
2014-10-08 12:48:47 -06:00
..
.gitignore Clone svn:ignore directory atributed to .gitignore files 2013-04-04 14:27:29 -06:00
chip.h Add source files for z180 2012-12-10 18:40:01 +00:00
Kconfig configs/xtrs/ostest converted to kconfig-frontend and Windows native 2012-12-08 23:21:34 +00:00
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 Removing more trailing whitespace 2014-04-13 17:54:59 -06:00
switch.h Rename _TCB to struct tcb_s 2013-02-04 18:46:28 +00:00
Toolchain.defs Convert configs/z80sim/ostest to Kconfig/mconf tool 2012-12-03 15:33:24 +00:00
up_mem.h Finally... renamed all CONFIG_DRAM_ settings to CONFIG_RAM_ 2013-07-26 10:09:17 -06:00
z80_copystate.c Remove os_internal.h it has been replace by several new header files under sched/. There have been some sneak inclusion paths via os_internal.h, so expect a few compilation errors for some architectures 2014-08-08 18:39:28 -06:00
z80_head.asm More trailing whilespace removal 2014-04-13 16:22:22 -06:00
z80_initialstate.c Rename _TCB to struct tcb_s 2013-02-04 18:46:28 +00:00
z80_io.c Redesign z80 build so that mkhpbase.sh bash script is not needed; remove support for older SDCC toolchains; Re-verify z80 build on Linux 2012-12-07 19:02:57 +00:00
z80_irq.c Redesign z80 build so that mkhpbase.sh bash script is not needed; remove support for older SDCC toolchains; Re-verify z80 build on Linux 2012-12-07 19:02:57 +00:00
z80_registerdump.c Update everything under nuttx/arch to use the corrected syslog interfaces 2014-10-08 12:48:47 -06:00
z80_restoreusercontext.asm
z80_rom.asm More trailing whilespace removal 2014-04-13 16:22:22 -06:00
z80_saveusercontext.asm
z80_schedulesigaction.c Replace os_internal.h with sched/sched.h in files that actually reference something in sched.h 2014-08-08 17:53:55 -06:00
z80_sigdeliver.c Replace os_internal.h with sched/sched.h in files that actually reference something in sched.h 2014-08-08 17:53:55 -06:00

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

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/z80
sub-directory contains logic unique to the classic Z80 chip.

Files in this directory include:

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

z80_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.

    z80_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.

z80_initialstate.c, z80_copystate.c,  z80_restoreusercontext.asm, and
z80_saveusercontext.asm, switch
    These files implement the Z80 context switching logic

z80_schedulesigaction.c and  z80_sigdeliver.c
    These files implement Z80 signal handling.