ISA DMA: Difference between revisions

Jump to navigation Jump to search
[unchecked revision][unchecked revision]
Content deleted Content added
m Proper english is better than obfuscation
Fixed "unmask dma channel 2" value, should be 0x2 instead of 0x1
Line 510: Line 510:
out 0x05, 0x23 ; count to 0x23ff (high byte),
out 0x05, 0x23 ; count to 0x23ff (high byte),
out 0x81, 0 ; external page register to 0 for total address of 00 10 00
out 0x81, 0 ; external page register to 0 for total address of 00 10 00
out 0x0a, 0x01 ; unmask DMA channel 2
out 0x0a, 0x02 ; unmask DMA channel 2
ret
ret
</source>
</source>
Line 522: Line 522:
out 0x0b, 0x5A ; 01011010
out 0x0b, 0x5A ; 01011010
; single transfer, address increment, autoinit, write, channel2)
; single transfer, address increment, autoinit, write, channel2)
out 0x0a, 0x01 ; unmask DMA channel 2
out 0x0a, 0x02 ; unmask DMA channel 2
ret
ret


Line 529: Line 529:
out 0x0b, 0x56 ; 01010110
out 0x0b, 0x56 ; 01010110
; single transfer, address increment, autoinit, read, channel2)
; single transfer, address increment, autoinit, read, channel2)
out 0x0a, 0x01 ; unmask DMA channel 2
out 0x0a, 0x02 ; unmask DMA channel 2
ret
ret
</source>
</source>