EmbeddedRelated.com
Forums

Looking for a 6800 compatible processor

Started by e_kolks July 6, 2004
Hello, Does somebody know a new type of processor that is capable
to run (unmodified) 6800 code? (Like for the 68HC11). Thanks,

Kind regards,

Edzard Kolks
Eindhoven - Holland



Whew. Now that's old. I'm dating myself here, but the only one
I know of was the 6803. Hitachi used to second source it, I
have no idea whether it's still available. I used it a bit in
the early '80's. (Radio Shack Colour Computer 2). Time to
rewrite your code for a 68HC11, or probably better the HC08.
Come to think of it, the HC08 MAY be upwards compatible
(instruction set wise) with the 6800.

> Hello, > Does somebody know a new type of processor that is capable
> to run (unmodified) 6800 code? (Like for the 68HC11).
>
> Edzard Kolks
> Eindhoven - Holland

Regards,
Darrell Norquay

Datalog Technology Inc. Calgary, Alberta, Canada
Voice: (403) 243-2220 Fax: (403) 243-2872
Email: Web: www.datalog.ab.ca




> > Does somebody know a new type of processor that is capable
> > to run (unmodified) 6800 code? (Like for the 68HC11).
>
>Come to think of it, the HC08 MAY be upwards compatible
>(instruction set wise) with the 6800.

Unfortunately not - the 6800 had a single 16-bit X register, while the HC08
has 8-bit X and 8-bit H that sometimes work together. 6800 also had no
stack-relative addressing, and couldn't PUSH the X register, which lead to
some rather obscene code. 6809 was a big step up, HC11 stepped back from
there, and the HC12 is a nice piece of work.

Do you need binary (ROM) compatibility? If you have source code, you
should be able to convert it to HC12 without a great deal of
pain. Instruction timing would be different, however, so watch those
1976-vintage spin loops.

If you need binary (you mean you lost your 30-year old source code?) there
are hobbyists and university classes out there doing FPGA implementations
of various classic processors. You might do a search on that.

Or Google on "SWTP 6800" - Southwest Technical Products made an early hobby
computer using 6800 and probably has some rabid fans that would know what's
available in 6800-land.

Best regards, John Hartman

NoICE Debugging Tools
http://www.noicedebugger.com



--- In , "John Hartman (NoICE)" <john@n...>
wrote:
>
> > > Does somebody know a new type of processor that is capable
> > > to run (unmodified) 6800 code? (Like for the 68HC11).
> >
> >Come to think of it, the HC08 MAY be upwards compatible
> >(instruction set wise) with the 6800.
>
> Unfortunately not - the 6800 had a single 16-bit X register, while
the HC08
> has 8-bit X and 8-bit H that sometimes work together. 6800 also
had no
> stack-relative addressing, and couldn't PUSH the X register, which
lead to
> some rather obscene code. 6809 was a big step up, HC11 stepped
back from
> there, and the HC12 is a nice piece of work.
>
> Do you need binary (ROM) compatibility? If you have source code,
you
> should be able to convert it to HC12 without a great deal of
> pain. Instruction timing would be different, however, so watch
those
> 1976-vintage spin loops.
>
> If you need binary (you mean you lost your 30-year old source
code?) there
> are hobbyists and university classes out there doing FPGA
implementations
> of various classic processors. You might do a search on that.
>
> Or Google on "SWTP 6800" - Southwest Technical Products made an
early hobby
> computer using 6800 and probably has some rabid fans that would
know what's
> available in 6800-land.

Hello to all and John,

Thanks for you're reply.
After building a 6809 Mini Board to run Flex, some of the Fufu (flex)
members have build a 68HC11 Flex system to run Flex 6800 (the first
version of Flex). Because the 68HC11 is 6800 compatible al programs
(compilers, editors, etc.) could run instancely on this system.

Beacuse the 68HC11 (especially the 68HC811 with 2k EEprom) is hard to
get I was wondering if there where more new processors who could run
native 6800 code.

The Mini Board project is a very small PCB with a
6809/6821/RAM/EEprom that is capable to run Flex. You download the
diskimages to the RAM-disk (using the PC as a terminal) and of you
go.. a $50,-- Flex system.

Regards,

Edzard


I think you are answering his question wrongly. Yes, it is true that the
68xx processors
have have more capability than the plain 6800 (more registers, more
addressing modes, etc.), but they will run 6800 code. What you would
have to look out for is how i/o is mapped and those sorts of things.

So I think the answer is yes, the 68HC11 (for instance ) will run 6800
code, but the reverse is, of course, not true. John Hartman (NoICE) wrote:

>>>Does somebody know a new type of processor that is capable
>>>to run (unmodified) 6800 code? (Like for the 68HC11).
>>>
>>>
>>Come to think of it, the HC08 MAY be upwards compatible
>>(instruction set wise) with the 6800.
>>
>>
>
>Unfortunately not - the 6800 had a single 16-bit X register, while the HC08
>has 8-bit X and 8-bit H that sometimes work together. 6800 also had no
>stack-relative addressing, and couldn't PUSH the X register, which lead to
>some rather obscene code. 6809 was a big step up, HC11 stepped back from
>there, and the HC12 is a nice piece of work.
>
>Do you need binary (ROM) compatibility? If you have source code, you
>should be able to convert it to HC12 without a great deal of
>pain. Instruction timing would be different, however, so watch those
>1976-vintage spin loops.
>
>If you need binary (you mean you lost your 30-year old source code?) there
>are hobbyists and university classes out there doing FPGA implementations
>of various classic processors. You might do a search on that.
>
>Or Google on "SWTP 6800" - Southwest Technical Products made an early hobby
>computer using 6800 and probably has some rabid fans that would know what's
>available in 6800-land.
>
>Best regards, John Hartman
>
> NoICE Debugging Tools
> http://www.noicedebugger.com >Yahoo! Groups Links >**************************************************************
>Scanned by VisNetic MailScan for SMTP Servers.
>Visit http://www.deerfield.com/products/visnetic_mailscan.
>************************************************************** >