|
|
1.1 root 1: ;---------------------------------------------------;
2: ; Include file for 16bits sample application
3: ; Copyright (C) 1992, Microsoft Corporation
4: ;---------------------------------------------------;
5:
6: TRUE equ 0FFh
7: FALSE equ NOT(TRUE)
8:
9: ;
10: ;I/O mapped I/O port equates
11: ;
12: IO_PORT_FIRST equ 790h ;The first I/O port addr
13: IO_PORT_LAST equ 793h ;The last I/O port addr
14: IO_PORT_FIRE_DMA_SLOW equ IO_PORT_FIRST ;Port addr to trigger DMA
15: IO_PORT_FIRE_DMA_FAST equ IO_PORT_FIRST + 1 ;port to trigger DMA
16: IO_PORT_DMA equ IO_PORT_FIRST+2 ;port connnected to DMA channel
17: ;
18: ;Memory mapped I/O port equates ;segment address
19: ;
20: MIO_SEGMENT equ 0C000h
21: MIO_PORT_FIRST equ 0 ;The first port addr(offset)
22: MIO_PORT_LAST equ 07 ;the last port addr(offset)
23: MIO_PORT_RANGE equ MIO_PORT_LAST - MIO_PORT_FIRST + 1
24: MIO_PORT_FIRE_DMA equ MIO_PORT_FIRST ;Port to trigger DMA
25: MIO_PORT_DMA equ MIO_PORT_FIRST+1;port connected to DMA channel
26: ;
27: ;DMA equates
28: ;
29: DMA_INTERRUPT equ 70h + 2 ;slave PIC, line #2(0 based)
30: DMA_CHANNEL equ 01h ;DMA #1, channel #1(0 based)
31:
32: DMA_PORT_BASE equ 00
33: DMA_PORT_PAGE equ 083h
34: DMA_PORT_ADDR equ DMA_PORT_BASE + 2
35: DMA_PORT_COUNT equ DMA_PORT_BASE + 3
36: DMA_PORT_CMD equ DMA_PORT_BASE + 8
37: DMA_PORT_REQUEST equ DMA_PORT_BASE + 9
38: DMA_PORT_SNGLE_MASK equ DMA_PORT_BASE + 10
39: DMA_PORT_MODE equ DMA_PORT_BASE + 11
40: DMA_PORT_FLIPFLOP equ DMA_PORT_BASE + 12
41: DMA_PORT_TEMP equ DMA_PORT_BASE + 13
42: DMA_PORT_CLEARMASK equ DMA_PORT_BASE + 14
43: DMA_PORT_WRTEMASK equ DMA_PORT_BASE + 15
This archive runs on limited infrastructure. Preserving old code on modern bandwidth. Automated agents are requested to crawl responsibly.