home *** CD-ROM | disk | FTP | other *** search
/ Power-Programmierung / CD1.mdf / emulate / systems / 6800 / main.doc < prev    next >
Text File  |  1991-05-01  |  3KB  |  91 lines

  1.  
  2.                      MAIN.DOC Usage
  3.  
  4.  
  5.      The  hex  record  that  is  contained  in  the  file
  6. MAIN.S19 has been configured so that it will run corectly
  7. within the  M6800 emulator  enviroment. In  fact all that
  8. was needed  to be  done  was  the  standard  output/input
  9. routines be  replaced with  those that would communicated
  10. with  the   emulator.  This   is  done  using  the  extra
  11. instructions of  the emulator called 'chout a' and 'chint
  12. a'.
  13.  
  14.           To begin  execution  of  the  program  MAIN.S19
  15.           enter the  following  beginning  from  the  DOS
  16.           prompt:
  17.  
  18. C:68emu> 68em main.s19
  19.  
  20. Read 7672 bytes from file main.s19
  21.  
  22. Lowest  address loaded to was $E000
  23. Highest address loaded to was $FFFF
  24.  
  25.                M6800 Emulator
  26.  
  27.             1 - May - 1991  V1.0
  28.  
  29.             Kevin Bertram   1991
  30.  
  31.      Written on:  17-April-1990       (Version 0.1)
  32.      Last update: 1-May-1991          (Version 1.0)
  33.  
  34. 6800emu> _
  35.  
  36.           The  program  MAIN.S19  has  been  loaded  into
  37.           memory and  the emulators  prompt is  displayed
  38.           waiting for  your next   command.  To  get  the
  39.           context switching to work within this operating
  40.           system the  NMI interupt  delay time  has to be
  41.           enabled and  set to a preset time. This is done
  42.           by the following:
  43.  
  44. 6800emu> I N 800
  45.  
  46. IRQ = off            NMI = 2048
  47.  
  48.           The NMI  interupt timer  has now  been  set  to
  49.           cause  a   NMI  interupt   after   2048   M6800
  50.           instructions  have   been  executed.  All  that
  51.           remains now is be begin the program:
  52.  
  53. 6800emu> G
  54.  
  55.           And the hello prompt will appear at the top of
  56.           the screen along with other status information
  57.           concerning the environment. The program
  58.           MAIN.S19 requires that a vt100 type terminal is
  59.           connected to its standard output therefore make
  60.           sure that ANSI.SYS has been installed into your
  61.           machine at boot-up time for a proper display.
  62.  
  63. ABOUT MAIN.S19
  64. ==============
  65.  
  66.      MAIN.S19 was  written as  the house  keeping program
  67. for  a  M6800  based  computer  that  has  been  remotely
  68. situated with  its  communication  to  the  base  station
  69. computer being a radio transmitter/receiver. The data you
  70. see displayed  after  the  program  start  up  shows  the
  71. current status  of the machine as it is seen at the time.
  72. The information  is not  true when run under the emulator
  73. because the  I/O hardware  is not  present that feeds the
  74. program its data.
  75.  
  76.      The commands  are  similar  to  that  of  the  M6800
  77. emulator so  the document  68em.txt will  describe  those
  78. commands that can be found there.
  79.  
  80.      The system  had only  6K of  ram beginning from $800
  81. through to  $1FFF with  $1C00 - $1FFF reserved for system
  82. use. Everything else is free for transient programs.
  83.  
  84.      There are  also software  hooks to  the main program
  85. but I have not included a description of how to use them.
  86. If you are interested then give me a call.
  87.  
  88.  
  89.      -Kevin Bertram
  90.  
  91.