DMG-CPU Research

Bottom Right (IRQ) Logic

locator_irq

The IRQ logic consists of the following parts:

IE

module7

module7_tran

Latch (no CLK edge detection, yes ld edge detection) with reset.

IF

Program access ($FFFE) to the IF in the DMG CPU has been removed.

module8

module8_tran

It is a regular (transparent) latch (no edge detection), to store the interrupt flag.

Breadcrumps

I never tire of repeating: dear chip designers - please do not spread the logic this way, because it is difficult to cut it into pieces and post pictures on the wiki. Therefore, I will not give pictures of the topology here - see the general big picture of the bottom part. Pieces of "Breadcrumped" circuits are marked with different colors.

Logic:

irq_logic_tran

Priority encoder:

irq_prio_tran

Interrupt address:

irq_address_tran