Machine Lock-up

Ask anything your want about Megadrive/Genesis programming.

Moderator: BigEvilCorporation

Post Reply
mickagame
Very interested
Posts: 256
Joined: Sat Jun 07, 2008 7:37 am

Machine Lock-up

Post by mickagame »

Reading adress range cause machine lock-up.
What happen exactly when it happen?
Are there signals concerned in this mecanism?
Are thé CPU halten?
HardWareMan
Very interested
Posts: 753
Joined: Sat Dec 15, 2007 7:49 am

Post by HardWareMan »

Use search engine.
KanedaFr
Administrateur
Posts: 1154
Joined: Tue Aug 29, 2006 10:56 am
Contact:

Post by KanedaFr »

did you look at charles doc, etc... ?
Some addresses are invalid and if you check z80's one you need to request its bus first
Mask of Destiny
Very interested
Posts: 628
Joined: Thu Nov 30, 2006 6:30 am

Post by Mask of Destiny »

A lock up is typically a symptom of nothing bringing /DTACK low for a memory request. The 68000 has an asynchronous memory interface which means that it waits to complete a bus cycle until something tells it that the operation is complete. If /DTACK never goes low, the bus cycle lasts forever.
mickagame
Very interested
Posts: 256
Joined: Sat Jun 07, 2008 7:37 am

Post by mickagame »

Thanks it's exactly what i want to know :-)
l_oliveira
Very interested
Posts: 53
Joined: Mon Mar 07, 2011 12:58 am

Post by l_oliveira »

An computer built around 68000 CPU would have a counter and logic circuit to trigger an BUS ERROR exception using the /BERR (Bus Error) pin on the CPU after a set number of machine cycles without /DTACK pulse. MD doesn't have that because was built with cost saving in mind.
Post Reply