With the optics of _compiled_ code, how do the various 8-bitters stack up? (6809/6811, 65C02, Z80, H8, ...)? One would have to account for the frequency allowed by the ISA at iso-technologies (which makes including AVR somewhat tricky). I only have experience with Z80 and 65C02 and I believe the consensus is that a 4 MHz Z80 beats a 2 MHz 65C02, but neither is a particularly nice compiler target.
Motorola 6800
21–30 of 127 posts
Re: Motorola 6800
#22Earlier quoted context omitted.
I just don't think any of the 8-bits made good compiler targets. At least not C compilers. Not enough registers, even in the 6809.
In theory, a smart compiler could make heavy use of the DP register (6809 feature) and then local variables within a compiled function could access these "fast" global variables instead. This was a common pattern when coding in assembly, and it's much faster than accessing variables off the stack. The function wouldn't be reentrant, but a compiler pragma could be used to enable/disable the DP mode. Declaring the loca…
Re: Motorola 6800
#23Re: Motorola 6800
#24Earlier quoted context omitted.
I had a TRS-80 Color Computer when I was kid which had one major drawback: it could only display 32 characters across the screen compared to 40 characters for the Apple ][, C64 and most others at the time. The Coco could run an operating system called OS-9 which was Unix-influenced and came with a good C compiler and also a bytecode interpreted structure basic called BASIC09. I know C compilers were really popular am…
The 6809 was nice, but I think the CoCo otherwise was crap. Aside from the 32 column display and awful color scheme, the built-in serial port was bit-banged. This meant that floppy drive and serial access could not happen at the same time. This is very relevant when trying to use OS-9. There was an external serial port as an option, but there was only one slot. So you also had to buy a slot expander (a Multi-Pak).
In most ways the C-64 was a great machine but boy was the disk drive slow.
Re: Motorola 6800
#25Re: Motorola 6800
#26Motorola sued alleging patent infringement and misappropriation of trade secrets.
MOS Technology settled, paid Motorola $200,000 and dropped the 6501.
Re: Motorola 6800
#27I just finished an undergraduate class on microcontroller applications that used a MC68HC12 dev board. We coded in Assembly and then later in C. I'm curious, is this a typical platform in other computer engineering programs in the US?
At our company we still use a MC68HC11 for an industrial device.
There are "compatibles" out there, and some of them are very good indeed, but they're not without their hassles.
Re: Motorola 6800
#28Earlier quoted context omitted.
The 6809 was nice, but I think the CoCo otherwise was crap. Aside from the 32 column display and awful color scheme, the built-in serial port was bit-banged. This meant that floppy drive and serial access could not happen at the same time. This is very relevant when trying to use OS-9. There was an external serial port as an option, but there was only one slot. So you also had to buy a slot expander (a Multi-Pak).
I had the multi pak and the external uart. The entry level price of the coco was low but I think I got most of the peripherals available for it, particularly the disks were crazy expensive. Adding it all up I must have spent more than I spent on the AT clone that replaced it ($1200) In most ways the C-64 was a great machine but boy was the disk drive slow.
Re: Motorola 6800
#29Earlier quoted context omitted.
I just don't think any of the 8-bits made good compiler targets. At least not C compilers. Not enough registers, even in the 6809.
In theory, a smart compiler could make heavy use of the DP register (6809 feature) and then local variables within a compiled function could access these "fast" global variables instead. This was a common pattern when coding in assembly, and it's much faster than accessing variables off the stack. The function wouldn't be reentrant, but a compiler pragma could be used to enable/disable the DP mode. Declaring the loca…
It's still an awkward target though.
Re: Motorola 6800
#30Worth mentioning the 6501 which was launched by MOS Technology alongside the 6502 and was pin-compatible with the 6800. Motorola sued alleging patent infringement and misappropriation of trade secrets. MOS Technology settled, paid Motorola $200,000 and dropped the 6501.