Motorola MC6802

Thread Starter

Danno.

Joined Apr 6, 2015
39
Hi,
Is there a PC based simulator/trainer for this chip? I want to learn early assembly language. Google search doesn't bring up much.

Thanks
 

joeyd999

Joined Jun 6, 2011
6,297
Hi,
Is there a PC based simulator/trainer for this chip? I want to learn early assembly language. Google search doesn't bring up much.

Thanks
That chip is from 1977. Granted, it's a fine example of 'early' assembly programming.

But why? Assembly concepts have not really changed greatly since the early 4 and 8 bit cpus. And tools just are not all that available any more.

Around the same time frame was the 8080 and z80. These are still used today (at least variations thereof) and tools and kits are available.

Look at the eZ80 stuff from Zilog....I believe they are code compatable with Z80. And there is lots of devel support, I believe.
 

Thread Starter

Danno.

Joined Apr 6, 2015
39
I have a couple of MPU's here with that chip on, the MPU is for a fruit machine, the ROM's are written in assembly, as a project I want to write some ROM's to control the game.
 

MrChips

Joined Oct 2, 2009
34,816
Aha! Back at post #2 I was going to inquire what is a fruit machine. Now I know.

I will get back to you later on MC6802.
 

MrChips

Joined Oct 2, 2009
34,816
Before we get too deep into this you seriously want to examine your motives and goals.

Do you want

1) to learn how to program any microcontroller in general,
2) to learn specifically how to program an MC6802 just for the fun of it,
3) to reprogram the ROMs on a MC6802 board to suit your own whims and wishes?

Now, realize that

1) MC6802 is obsolete,
2) having to program ROMs is passé and may not be worth the effort,
3) there are modern chips and programming methods available today that vastly accelerates the programming and development cycle.

The MC6802 which is really a derivative of the MC6800 has evolved into other families, 6805, 6809, 68HC11, 68HC12, 9S08.
Other manufacturers such as Atmel, Microchip, ST, TI, have MCUs with similar capabilities. The programming tools available today are much more capable than what was available 10 or 20 years ago.

As a retrofit project for your slot machine, it would be easier to build a PCB that plugs into the MC6802 socket but powered with a modern MCU.
 

Thread Starter

Danno.

Joined Apr 6, 2015
39
Before we get too deep into this you seriously want to examine your motives and goals.

Do you want

1) to learn how to program any microcontroller in general,
2) to learn specifically how to program an MC6802 just for the fun of it,
3) to reprogram the ROMs on a MC6802 board to suit your own whims and wishes?

Now, realize that

1) MC6802 is obsolete,
2) having to program ROMs is passé and may not be worth the effort,
3) there are modern chips and programming methods available today that vastly accelerates the programming and development cycle.

The MC6802 which is really a derivative of the MC6800 has evolved into other families, 6805, 6809, 68HC11, 68HC12, 9S08.
Other manufacturers such as Atmel, Microchip, ST, TI, have MCUs with similar capabilities. The programming tools available today are much more capable than what was available 10 or 20 years ago.

As a retrofit project for your slot machine, it would be easier to build a PCB that plugs into the MC6802 socket but powered with a modern MCU.

The main goal is learn micro-controller programming in general, I can then apply this to new projects to build from scratch with modern controllers.

I also want to learn MC6802 programming just for fun really, I am interested how things were done back in the 70's and as I have machines running on this tech it would be fun to tinker about with them and get into the workings of them, this goes hand in hand with the ROMS. As I have a micro-controller already built with a 6802 and all the necessary inputs and outputs on board I would like to learn to make it do something, I understand it is old obsolete tech but this is just for fun and curiosity.

Thanks for your help on this.
 

Thread Starter

Danno.

Joined Apr 6, 2015
39
As a retrofit project for your slot machine, it would be easier to build a PCB that plugs into the MC6802 socket but powered with a modern MCU.
I would be very interested in doing this bearing in mind how things would interact with the other chips in the system, attached is a pic of the MPU board, this board has 16 inputs, there is another board full of transistors, triacs and SCR's all driven by 4099 latches all driven from this MPU board.

Any more info or pointers on this would be appreciated.

Thanks
 

Attachments

alfacliff

Joined Dec 13, 2013
2,458
it might be more helpful to try to learn on an 8080 family based micro, the 6800 series used almost all registers external to the chip, makng them different from the 8080 series which use internal registers. also, the 8041 series is the basis for a lot of current industrial and special purpose systems. if you can find one, the motorola HEP EDUCATOR 1 was a 6800 based trainer with leds and switches .
 

joeyd999

Joined Jun 6, 2011
6,297
I see no problem with learning about the processor. Including dumping the contents of the internal memory and any external program memory devices on the board. An interesting program to write for fun would be a 6802 disassembler. Then you can reverse engineer the whole product.
Well, here's a Z80 disassembler I wrote and posted a while back. If you find it interesting, perhaps you could modify it for 6802.

View attachment 58928
 
Top