摘要
DMA传输是实现高速数据采集的重要手段,在高档PC机上用DMA方法采集数据时,将面临若干在保护模式下控制DMA传输的新问题,如DMA缓冲区物理地址的计算,DMA缓冲区地址的不连续,虚存导致的传输失败和高速缓存引起数据的丢失等.本文讨论解决它们的方法,并介绍在DOS环境下保护模式DMA数据采集程序的编写技巧.
Direct Memory Access(DMA) is an important approach to realize the high-speed data acquisition. The users of high-performance PC machines will face some problems in data acquisition by using DMA technology under CPU's protected mode, for instance, the calculation of physical address of DMA buffer, the discontinuity of DMA address, failed transfer caused by virtual memory manager and the data overwritten by memory caching. This paper discusses the methods to solve these problems and presents the programming idea for data acquisition by using DMA under the protected mode.
出处
《数据采集与处理》
CSCD
1997年第1期40-44,共5页
Journal of Data Acquisition and Processing
关键词
数据采集
DMA传输
保护模式
微机
data acquisition
computer applications
DMA transfer
protected mode
virtual DMA service