home *** CD-ROM | disk | FTP | other *** search
- Newsgroups: comp.sys.m6809
- 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
- From: lapp@waterloo.hp.com (David Lapp)
- Subject: Re: 6809 simulator
- Sender: news@waterloo.hp.com (NetNews)
- Message-ID: <BxI8rr.It2@waterloo.hp.com>
- Date: Tue, 10 Nov 1992 14:40:39 GMT
- References: <nyarko.721350996@ee.ualberta.ca>
- Organization: HP Panacom Div Waterloo ON Canada
- X-Newsreader: TIN [version 1.1.4 PL6]
- Lines: 43
-
- David Nyarko (nyarko@ee.ualberta.ca) wrote:
- : archamba@ERE.UMontreal.CA (Archambault Benoit) writes:
- :
- : >I hope you will all forgive my ignorance but I've never used make
- : >to compile any program !! however, here's how you can compile the
- : >source from the compressed archive file:
- stuff deleted...
-
- : I tried to compile it on an HP9000 series 800 computer with
- : the 2 available compilers. I had to select the ANSI option
- : in both cases.
- : a)
- : using the gcc compiler with the following option
- : gcc -ansi -o sim09 *.c -lcurses
- : and get the following warnings.
- :
- : misc.c:31: warning: type mismatch with previous implicit declaration
- : misc.c:23: warning: previous implicit declaration of `readbus'
- : misc.c:31: warning: `readbus' was previously implicitly declared to return `int'
- :
- : b)
- : I get a similar message (excluding the misc.c:23: warning) when I use
- : the hp c compiler with the option
- : cc -Aa -o sim09 *.c -lcurses
- :
- I compiled it on an HP9000/385 with more or less the same
- line.
-
- I did edit misc.c to move the readbus function to before
- its first reference. That clears up the warnings.
-
- : The program starts up but when I load the "simon.run"
- : and try to run it, I only get the 1st line of code to execute.
- : When I also select the starting address "e000" to disassemble
- : the code I loaded at "e000" I have the address coloum
- : starting at "ffffe000" and the opcode coloumn does not change.
- :
- I didn't go quite so far as this yet.
-
-
- Dave Lapp
- lapp@waterloo.hp.com
- Standard disclaimer etc ...
-