@DATABASE
@NODE MAIN 16C57
* 16C57 HyperSource© include file for 16C57
* © 1998 RST Ralf Steines Trier, ALL RIGHTS RESERVED
*
* source: Microchip databook 1994
*

    @{" 16C57 MEMORY       " link "16C57_MEMORY"}
    @{" 16C5X CPU-CORE     " link "hinc:pic/_16C5X.hinc/16C5X_CPU-CORE"}
    @{" 16C5X INTERRUPTS   " link "hinc:pic/_16C5X.hinc/16C5X_INTERRUPTS"}

    @{" 16C5X IO-PORTS     " link "hinc:pic/_16C5X.hinc/16C5X_IO-PORTS"}

    @{" 16C5X TIMERS       " link "hinc:pic/_16C5X.hinc/16C5X_TIMERS"}

@ENDNODE
@NODE 16C57_MEMORY
****************************
*        MEMORY MAP        *
****************************

; 21 port lines, 28 pins

  REGS      = $0000    ;    8 BYTES REGS   (UNPAGED)

  RAM_BOT   = $0008    ;
  RAM_PBOT  = $0010    ;
  RAM_SIZE  = $0048    ;   72 BYTES RAM    (4 PAGES EACH $10-$20)
  RAM_TOP   = $0020    ;
  RAM_PAGES =     4    ;

  ROM_BOT   = $0000    ;
  ROM_SIZE  = $0800    ; 2048 WORDS ROM_12 (4 PAGES)
  ROM_TOP   = $0200    ;
  ROM_PAGES =     4    ;
  ROM_BITS  =    12    ;

  HAS_PORTC = 1        ;   ENABLE PORT C REGISTERS

@ENDNODE

  .include hinc:PIC/_16C5X.hinc
