home *** CD-ROM | disk | FTP | other *** search
/ The C Users' Group Library 1994 August / wc-cdrom-cusersgrouplibrary-1994-08.iso / vol_300 / 309_01 / readme.doc < prev    next >
Text File  |  1990-03-20  |  3KB  |  96 lines

  1. README.DOC for CC09 MSDOS C COMPILER
  2.  
  3.  
  4. Brian Brown
  5. Senior Lecturer, Software Engineering
  6. Central Institute of Technology
  7. School of Electronic Engineering
  8. Private Bag, Trentham
  9. Upper-Hutt, Wellingon
  10. New Zealand
  11.  
  12. 15th November 1989
  13.  
  14.  
  15.  
  16.  
  17. The Small C Compiler for 6809 running on FLEX (CUG 221) has been ported to
  18. MSDOS, and changed to allow creation of embedded target software. It supports
  19. the ASxxx group of assemblers (CUG 292) available from the C users Group, as
  20. well as the Motorola AS9 assembler.
  21.  
  22.  
  23.  
  24. A host of routines is supplied. These work with particular boards used by our
  25. students. The system we have is,
  26.  
  27. 6809 Processor card, 32k StaticRAM 0000 to 7FFF
  28.  
  29.                      Addresses 9000-93ff are port mapped to 000 to 3ff for PC
  30.                                type boards
  31.  
  32.                      Addresses 8000 to 8fff are mapped to B0000 for PC
  33.                                monochrome cards
  34.  
  35.                      On board ACIA, MC6850 at A000 (ControlReg) A001 (DataReg)
  36.  
  37.                      OnBoard EPROM or StaticRAM C000 to FFFF
  38.  
  39. The processor card drives an IBM-PC backplane with four expansion sockets,
  40. thus can talk directly to standard PC cards. The routines for this board are
  41. ACIA.H, MEMORY.H, STRINGS.H
  42.  
  43.  
  44. Standard PC Serial Card (SERIAL.H)
  45.  
  46.  
  47. Standard Hercs/Monochrome card (HERCS.H, PRINTER.H)
  48.  
  49.  
  50. 32bit Digital I/O card, plus 8 channel A/D (0808 chip). The mapping arrangment
  51. of this board is,
  52.             Port 220h  A/D Channel register
  53.             Port 221h  A/D Data register
  54.                  222h  A/D End Of Conversion signal
  55.                  223h  Simple latched I/O
  56.                  224h  8255 PPI Port A
  57.                  225h  8255 PPI Port B
  58.                  226h  8255 PPI Port C
  59.                  227h  Intel 8255 PPI control register
  60.  
  61. In conjunction with this board, a panel comprising,
  62.     1 x 7 segment display
  63.     1 x 8 LEDS 
  64.     1 x 8 Digital Switches
  65.     1 x 16 hexidecimal keypad
  66.  
  67. is used to allow students to write software routines. (DIOBOARD.H, MCRDRV.H)
  68. A magnetic card swipe reader attaches to port C of the DIOBoard.
  69.  
  70. The DIOBoards address is configurable via DIP, and the A/D convertor can be
  71.    - strapped for auto restart, EOC signal restarts ADC
  72.    - software polled via EOC bit status
  73.    - Interrupt driven, by staps which connect EOC to IRQ2 to IRQ7
  74.  
  75.  
  76.  
  77. The POD SOFTWARE is a simple board MC6821 which has a 40PIN DIP which plugs across the 6809 target processor. By writing to the MC6821 (which connects to DIOBoard) and setting certain pins, it is possible to alter the processor state (ie, RESET, HALT) and perform READ/WRITE cycles (by emulating bus cycles asserting pins mapped to processors pins in correct sequence).
  78.  
  79.  
  80.  
  81. All the available items are available from us at reasonable cost, eg, US funds
  82.  
  83. 6809 processor card, assembled and tested (DS PCB)     $ 80
  84. DIO Card  32bit I/O, 8 channel A/D etc                 $ 80
  85. DIO Panels, switches, leds, keymatrix, sevenseg        $ 80
  86. POD System with POD Software                           $100
  87.  
  88.  
  89. We are also currently working on MC68000 and i8051 processor boards.
  90.  
  91.  
  92.  
  93.  
  94. IF YOU RE-COMPILE THE SOURCE, USE A MEDIUM MEMORY MODEL!! AND TURN OFF
  95. WARNINGS
  96.