wwarthen / RomWBW

System Software for Z80/Z180/Z280 Computers
GNU Affero General Public License v3.0
332 stars 98 forks source link

Update dma.asm #330

Closed b1ackmai1er closed 1 year ago

b1ackmai1er commented 1 year ago

cp/m fails to boot with the dma driver included but no dma hardware installed. This is because the default "dma_fail_flag" indicates that the dma is good to go. But in safe mode the dma initialization never takes place to find no dma and set this flag, so the memory driver hangs. This change is to make the default status of the flag the failed state so the memory driver will fallback to software in recovery mode.

wwarthen commented 1 year ago

Nice catch @b1ackmai1er. Thanks.