示例#1
0
文件: DMA.java 项目: 0x90sled/jdosbox
 public static void DMA_release_DREQ(int nchan) {
   jdos.hardware.DMA.DmaChannel channel = jdos.hardware.DMA.GetDMAChannel(nchan);
   channel.Clear_Request();
   // DMA_run();
 }
示例#2
0
文件: DMA.java 项目: 0x90sled/jdosbox
 public static int DMA_write_memory(int nchan, byte[] buf, int bufOffset, int pos, int len) {
   jdos.hardware.DMA.DmaChannel channel = jdos.hardware.DMA.GetDMAChannel(nchan);
   return channel.Write(len, buf, bufOffset);
 }
示例#3
0
文件: DMA.java 项目: 0x90sled/jdosbox
 public static void DMA_hold_DREQ(int nchan) {
   jdos.hardware.DMA.DmaChannel channel = jdos.hardware.DMA.GetDMAChannel(nchan);
   channel.callback.call(channel, jdos.hardware.DMA.DMAEvent.DMA_UNMASKED);
   channel.Raise_Request();
   // DMA_run();
 }