home *** CD-ROM | disk | FTP | other *** search
/ ftp.barnyard.co.uk / 2015.02.ftp.barnyard.co.uk.tar / ftp.barnyard.co.uk / cpm / walnut-creek-CDROM / CPM / CPM68K / SDB.LBR / READ68K.ME < prev    next >
Text File  |  2000-06-30  |  3KB  |  56 lines

  1. READ68K.ME - read me file for CP/M-68K version of SDB
  2. Robert Heller. Created: Sun Oct 26, 1986 03:14:54.58
  3.  
  4.  
  5. I downloaded David Betz's SDB files from BIX (listings/c+unix/sdb.1,
  6. sdb.2, sdb.3), and after a bit hacking, got a running version for my
  7. CP/M-68K v1.2 system (Stride 440).  I also built the (missing) files to
  8. allow using the SDB system from a user-written C program.  All of the
  9. chenges I made are either embedded in #ifdef CPM68K/#endif's or else
  10. were changes which should have been the original anyway, mostly missing
  11. parameter decl's. I also put in some register declarations and replaced
  12. "static" with "LOCAL" (a macro conditionally defined as static), to aid
  13. debugging - this will only improve the generated code or have no effect.
  14.  
  15. The extra files I created are:
  16.  
  17. MAKEFILE.SUB   - A file to re-compile and link the whole thing.  This is
  18.                  setup for my system, which has the system files (C
  19.                  compiler, assembler, linker, and header files) on drive
  20.                  D: and uses my own version of ERA, which is smarter
  21.                  than the built-in ERA command.  You will have to modify
  22.                  this if you need to use it.  Should not be difficult.
  23.                  Also, the link step assumes that all of the object code
  24.                  on the current drive is for SDB - you probably should
  25.                  only run this on a "clean" diskette or hard disk
  26.                  partition (i.e. one that does not have anything else on
  27.                  it).  This is setup to use the Motorolla Fast Format
  28.                  Floating Point library.  The SRT.C module is the only
  29.                  module that uses floating point arithmetic. (I renamed
  30.                  the UNIX MAKEFILE to MAKEFILE.UNX.)
  31. SDBLNK.SUB     - Relinks SDB.  This is just the last command extracted
  32.                  from MAKEFILE.SUB.  Used when only one or two modules
  33.                  have been changed and re-compiled.
  34. SDB.H          - Header file for user programs.  This is an edited
  35.                  version of SDBIO.H (used by SDB code itself) intended
  36.                  for use by user-written programs.
  37. SDBULNK.SUB    - Link step for user programs.  Works like CLINKF.SUB -
  38.                  parameter #1 is used for the name of the .68K file &
  39.                  first .o file and parameters 2 thru 9 are used for the
  40.                  second thru ninth .o files.  Again, this is setup for
  41.                  my system, so you'll need to change it for your system.
  42.                  Is setup for the Motorolla Fast Format Floating Point
  43.                  library.  Could be changed.  None of the SDB routines
  44.                  that are user callable use floating point, so don't
  45.                  care.
  46. EXAMPLE.C      - This is the example program lifted from SDB.MEM.
  47. SDBLIB         - This is an object library (archive), containing the
  48.                  modules that are callable from user written programs.
  49.  
  50.             Robert Heller
  51. ARPANet:    Heller@UMass-CS.CSNET
  52. BITNET:     Heller@UMass.BITNET
  53. BIX:        Heller
  54. GEnie:      RHeller
  55. FidoNet:    Robert Heller, 101/27 (Dave's Fido)
  56.