Stockly.com Forums  

Go Back   Stockly.com Forums > Altair 680 > Altair 680
FAQ Community Calendar Today's Posts Search

Notices

Reply
 
Thread Tools Display Modes
  #1  
Old 02-01-2008, 11:49 PM
rfeecs rfeecs is offline
Junior Member
 
Join Date: Feb 2008
Posts: 6
Default Single stepping 6800 is possible

To quote the 6800 datasheet:

To debug programs it is advantageous to step through programs instruction by instruction. To do this, HALT must be brought high for one MPU cycle and then returned low as shown at point B of Figure 13. ...

Looking at the schematic for the Altair 680, the address LEDs are tied directly to the switches. They simply display how the switches are set. Probably wanted to stay as simple as possible.
Reply With Quote
  #2  
Old 02-04-2008, 05:33 AM
rfeecs rfeecs is offline
Junior Member
 
Join Date: Feb 2008
Posts: 6
Default Yet more on single stepping the 6800

I have been surfing around sites about vintage computers, and stumbled across Dr. Robert Suding's page about the history of the digital group: http://www.ultimatecharger.com/dg.html

He says:
I never cared much for the 6800 because its address bus was dynamic, and when I tried to single step it, all I got was all 1's for address out to my static RAM...I preferred the 6501 to the 6800 because if I had a problem CPU PCB, I could pop out the dynamic 6800 and put in a static 6501 and new boot code EPROM and quickly single step through the problem software.

I went back to the datasheets for the 8080, the 6800 and the 6500 series:

The 8080 has a READY line that will put it into a wait state where it will hold the address on the bus as long as READY is low. The Altair 8800 front panel uses this for all its functions to hold the processor including single stepping. It also allows the front panel to display the address LEDs directly from the processor address bus.

The 6501 and 6502 have a RDY line which performs a similar function, and holds the address for slow memory or single stepping.

The 6800 has a HALT line (on the same pin as the 6501 RDY line). This can be used to halt the processor for one or more cycles. So it can be used for single stepping, but the address lines are not held active once the instruction cycle is complete. So front panel circuitry like the 8800 has would not work with the 6800. The 6800 would require latching the address lines to display them from the address bus.

Interestingly, the Apple-1 operation manual shows a schematic for displaying the address with LEDs using latches. It also shows the two flip-flop single stepping circuit. The M6800 applications manual shows a circuit with 3 flip flops and 4 nand gates.
Reply With Quote
Reply


Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off

Forum Jump

Similar Threads
Thread Thread Starter Forum Replies Last Post
Altair 8800 VS 680 lovenewyawkcity Altair 8800 1 06-19-2010 01:52 PM
Front Panel LEDs and Other Issues TomL_12953 Troubleshooting 4 08-20-2009 01:43 AM
Altair 680 Front Panel Programming? lovenewyawkcity Altair 680 1 10-06-2008 02:22 PM
Altair 680 rear panel cpmuseum Altair 680 1 01-05-2008 08:18 PM
Kanbak front panel Geoff Harrison Kenbak-1 0 10-01-2007 09:33 PM


All times are GMT. The time now is 10:13 AM.


Powered by vBulletin® Version 3.8.9
Copyright ©2000 - 2024, vBulletin Solutions, Inc.