|
|
@ -165,7 +165,6 @@ DMACode_Len .equ $-DMACode |
|
|
DMALDIR: |
|
|
DMALDIR: |
|
|
ld (DMASource),hl ; populate the dma |
|
|
ld (DMASource),hl ; populate the dma |
|
|
ld (DMADest),de ; register template |
|
|
ld (DMADest),de ; register template |
|
|
dec bc |
|
|
|
|
|
ld (DMALength),bc |
|
|
ld (DMALength),bc |
|
|
; |
|
|
; |
|
|
ld hl,DMACopy ; program the |
|
|
ld hl,DMACopy ; program the |
|
|
@ -212,7 +211,6 @@ DMACopy_Len .equ $-DMACopy |
|
|
DMAOTIR: |
|
|
DMAOTIR: |
|
|
ld (DMAOutSource),hl ; populate the dma |
|
|
ld (DMAOutSource),hl ; populate the dma |
|
|
ld (DMAOutDest),a ; register template |
|
|
ld (DMAOutDest),a ; register template |
|
|
dec bc |
|
|
|
|
|
ld (DMAOutLength),bc |
|
|
ld (DMAOutLength),bc |
|
|
; |
|
|
; |
|
|
ld hl,DMAOutCode ; program the |
|
|
ld hl,DMAOutCode ; program the |
|
|
@ -264,7 +262,6 @@ DMAOut_Len .equ $-DMAOutCode |
|
|
DMAINIR: |
|
|
DMAINIR: |
|
|
ld (DMAInDest),hl ; populate the dma |
|
|
ld (DMAInDest),hl ; populate the dma |
|
|
ld (DMAInSource),a ; register template |
|
|
ld (DMAInSource),a ; register template |
|
|
dec bc |
|
|
|
|
|
ld (DMAInLength),bc |
|
|
ld (DMAInLength),bc |
|
|
; |
|
|
; |
|
|
ld hl,DMAInCode ; program the |
|
|
ld hl,DMAInCode ; program the |
|
|
|