home *** CD-ROM | disk | FTP | other *** search
/ Club Amiga de Montreal - CAM / CAM_CD_1.iso / files / 405.lha / Z8_CrossAsm / Read.Me < prev    next >
Text File  |  1990-06-05  |  3KB  |  59 lines

  1. --
  2. -- A cross-assembler for the Z8-Basic controller.
  3. -- The z8 is alive and well..
  4. --
  5. -- Bob Bush 22-Apr-1989
  6. -- Cpu 73105,1332
  7. -- Update: 24-Apr-1990 .. see doc file for latest updates
  8.  
  9.  
  10.  What? A public domain cross assembler for the Z8? Yes, but does anyone
  11.  still use the z8? I can't answer that one but I couldn't resist picking
  12.  up one of these chips the other day while browsing thru the local
  13.  electronics store. For a mere $6.95 you get Tiny Basic in rom, a full
  14.  duplex serial port, I/O ports, internal timers, priority interrupts, 
  15.  capability for memory expansion etc. and the price was right. It seemed
  16.  like the proper time for a z8 revival.
  17.  
  18.  With a few support ICs, an 8k static ram, and a roll of Kynar wire I
  19.  proceeded to throw together a z8-basic micro-controller in just a couple
  20.  of hours. Didn't even bother with a schematic.. You see, I tend to lean
  21.  toward instant gratification and schematics don't fit into that catagory.
  22.  After about four hours debugging the circuit (Murphy collecting his dues)
  23.  I was looking at the familiar ':' z8-basic prompt..
  24.  
  25.  Well, there I was, plunking away Basic programs (I don't even like Basic
  26.  let alone 'tiny' Basic). The darn thing worked, but... The lure of assembly
  27.  language loomed heavily...
  28.  
  29.  I started to scour the available resources in search of a PD z8 assembler.
  30.  No luck. Not even the highly regarded 'Circuit Cellar' bbs had such a beast.
  31.  Time for my true calling in life to enter the picture. I began to program
  32.  a z8 cross assembler in one of my favorite languages, 'C', on my favorite
  33.  pc the Commodore AMIGA.
  34.  
  35.  Here it is, for better or worse, my version of a Z8 assembler. I haven't
  36.  completed any exhaustive validation on the assembler and I'm pretty sure
  37.  that it doesn't conform to the syntax of any existing z8 assemblers. I
  38.  really didn't have much to go on, just an old Zilog components data book.
  39.  
  40.  The 'C' code is not pretty (that old tendancy for instant gratification)
  41.  but compiles on an IBM compatible. A seperate arc file for IBM use exists.
  42.  'Pc' version compiled with Microsoft 'C' ver. 5.1 (compact memory model)
  43.  
  44.  Included in the ARC file should be the following:
  45.  
  46.   z8ca1        --- z8 cross assembler (executable) compiled for the Amiga.
  47.   z8ca1.c      --- 'C' Source code for above.
  48.   optab.h      --- Table of z8 opcodes.
  49.   z8ca.doc     --- Documentation for z8ca operation.
  50.   amiga.doc    --- Additional notes on use with the amiga.
  51.   serial.asm   --- Example z8 assembly language program.
  52.   index.asm    --- Example program for indexed addressing
  53.   download.bas --- Example Basic program for downloading machine code.
  54.   read.me      --- Your looking at it..
  55.  
  56.  Best of luck progamming in z8 assembly,
  57.  Bob Bush
  58.  
  59.