home *** CD-ROM | disk | FTP | other *** search
/ NetNews Usenet Archive 1992 #26 / NN_1992_26.iso / spool / comp / sys / m6809 / 454 < prev    next >
Encoding:
Text File  |  1992-11-10  |  2.0 KB  |  56 lines

  1. Newsgroups: comp.sys.m6809
  2. Path: sparky!uunet!paladin.american.edu!darwin.sura.net!zaphod.mps.ohio-state.edu!saimiri.primate.wisc.edu!sdd.hp.com!scd.hp.com!hpscdm!cupnews0.cup.hp.com!hppad.waterloo.hp.com!lapp
  3. From: lapp@waterloo.hp.com (David Lapp)
  4. Subject: Re: 6809 simulator
  5. Sender: news@waterloo.hp.com (NetNews)
  6. Message-ID: <BxI8rr.It2@waterloo.hp.com>
  7. Date: Tue, 10 Nov 1992 14:40:39 GMT
  8. References: <nyarko.721350996@ee.ualberta.ca>
  9. Organization: HP Panacom Div Waterloo ON Canada
  10. X-Newsreader: TIN [version 1.1.4 PL6]
  11. Lines: 43
  12.  
  13. David Nyarko (nyarko@ee.ualberta.ca) wrote:
  14. : archamba@ERE.UMontreal.CA (Archambault Benoit) writes:
  15. : >I hope you will all forgive my ignorance but I've never used make
  16. : >to compile any program !! however, here's how you can compile the
  17. : >source from the compressed archive file: 
  18. stuff deleted...
  19.  
  20. : I tried to compile it on an HP9000 series 800 computer with
  21. : the 2 available compilers. I had to select the ANSI option
  22. : in both cases.
  23. : a)
  24. : using the gcc compiler with the following option
  25. :     gcc -ansi -o sim09 *.c -lcurses
  26. : and get the following  warnings.
  27. : misc.c:31: warning: type mismatch with previous implicit declaration
  28. : misc.c:23: warning: previous implicit declaration of `readbus'
  29. : misc.c:31: warning: `readbus' was previously implicitly declared to return `int'
  30. : b)
  31. : I get a similar message (excluding the misc.c:23: warning) when I use
  32. : the hp c compiler with the option
  33. :     cc -Aa -o sim09 *.c -lcurses
  34. :
  35. I compiled it on an HP9000/385 with more or less the same
  36. line.
  37.  
  38. I did edit misc.c to move the readbus function to before
  39. its first reference. That clears up the warnings.
  40.  
  41. : The program starts up but when I load the "simon.run"
  42. : and try to run it, I only get the 1st line of code to execute.
  43. : When I also select the starting address "e000" to disassemble
  44. : the code I loaded at "e000" I have the address coloum 
  45. : starting at "ffffe000" and the opcode coloumn does not change.
  46. :
  47. I didn't go quite so far as this yet.
  48.  
  49.  
  50. Dave Lapp
  51. lapp@waterloo.hp.com
  52. Standard disclaimer etc ...
  53.