MEGA65 / mega65-core

MEGA65 FPGA core
Other
240 stars 85 forks source link

In-line DMA jobs #580

Closed gardners closed 2 years ago

gardners commented 2 years ago

Is your feature request related to a problem? Please describe. In the C65, the DMA controller was in a separate chip, so DMA jobs had to be initiated by writing the address of the DMA job into registers of the DMA controller. This makes for cumbersome code.

Describe the solution you'd like Allow writing to a DMA register that causes the DMA job to be read from the current PC position (taking into account banking), and then resumes the CPU immediately following the DMA job.

Describe alternatives you've considered Doing nothing :)

Additional context