⭐ 欢迎来到虫虫下载站! | 📦 资源下载 📁 资源专辑 ℹ️ 关于我们
⭐ 虫虫下载站

📄 qemu_ioport.txt

📁 本资料解释了部分Qemu和kvm的IO port指令
💻 TXT
📖 第 1 页 / 共 5 页
字号:
-------------------------------------------------------------------------------0278-027E ----	parallel printer port, same as 0378 and 03BC0278	w	data port0279	r/w	status port027A	r/w	control port-------------------------------------------------------------------------------02A0-02A7 ----	Sunshine EW-901BN, EW-904BN		EPROM writer card (release 1986) for EPROMs up to 2751202A0-02A3	adresses of the 8255 on the EW-90xBN-------------------------------------------------------------------------------02A2-02A3 ----	MSM58321RS clock-------------------------------------------------------------------------------02B0-02BF ----	Trantor SCSI adapter-------------------------------------------------------------------------------02B0-02DF ----	alternate EGA,	primary EGA at 03C0-------------------------------------------------------------------------------02C0-02Cx ----	AST-clock-------------------------------------------------------------------------------02E0-02EF ----	GPIB (General Purpose Interface Bus, IEEE 488 interface)		(GAB 0 on XT)02E1		GPIB (adapter 0)02E202E3-------------------------------------------------------------------------------02E0-02EF ----	data aquisition	 (AT)02E2		data aquisition (adapter 0)02E3		data aquisition (adapter 0)-------------------------------------------------------------------------------02E8	  ----	S3 86C928 video controller (ELSA Winner 1000)-------------------------------------------------------------------------------02E8-02EF ----	serial port, same as 02F8, 03E8 and 03F8-------------------------------------------------------------------------------02E8-02EF ----	8514/A and compatible video cards (e.g. ATI Graphics Ultra)02E8	r	display status02E8	w	horizontal total02EA	w	DAC mask02EB	w	DAC read index02EC	w	DAC write index02ED	w	DAC data-------------------------------------------------------------------------------02EA	  ----	S3 86C928 video controller (ELSA Winner 1000)-------------------------------------------------------------------------------02F8-02FF ----	serial port, same as 02E8, 03E8 and 03F802F8	w	transmitter holding register02F8	r	receiver buffer register	r/w	divisor latch, low byte	  when DLAB=102F9	r/w	divisor latch, high byte  when DLAB=1	r/w	interrupt enable register when DLAB=002FA	r	interrupt identification register02FB	r/w	line control register02FC	r/w	modem control register02FD	r	line status register02FF	r/w	scratch register-------------------------------------------------------------------------------0300	  ---- Award POST Diagnostic-------------------------------------------------------------------------------0300-0301 ---- Soundblaster 16 ASP MPU-Midi-------------------------------------------------------------------------------0300-0303 ----	Panasonic 52x CD-ROM SCSI Miniport		Alternate addresses at 0320, 0340, 0360, and 0380-------------------------------------------------------------------------------0300-030F ----	Philips CD-ROM player CM50-------------------------------------------------------------------------------0300-030F ----	CompaQ Tape drive adapter. alternate address at 0100-------------------------------------------------------------------------------0300-031F ----	prototype cards		Periscope hardware debugger-------------------------------------------------------------------------------0310-031F ----	Philips CD-ROM player CM50-------------------------------------------------------------------------------0320-0323 ----	XT HDC 1   (Hard Disk Controller)0320	r/w	data register0321	w	reset controller	r	read controller hardware status		 bit 7-6 = 0		 bit 5	      logical unit number		 bit 4-2 = 0		 bit 1	 = 0  no error		 bit 0	 = 0 0322	r	read DIPswitch setting on XT controller card	w	generate controller-select pulse0323	w	write pattern to DMA and INT mask register0324-0327 ----	XT HDC 2   (Hard Disk Controller)0328-032B ----	XT HDC 3   (Hard Disk Controller)032C-032F ----	XT HDC 4   (Hard Disk Controller)-------------------------------------------------------------------------------0330-0331 ----	MIDI interface-------------------------------------------------------------------------------0330-0333 ----	Adaptec 154xB/154xC SCSI adapter. default address.		alternate address at 0130, 0134, 0230, 0234 and 0334-------------------------------------------------------------------------------0330-033F ----	CompaQ SCSI adapter. alternate address at 0130-------------------------------------------------------------------------------0330-033F ----	Philips CD-ROM player CM50-------------------------------------------------------------------------------0334-0337 ----	Adaptec 154xB/154xC SCSI adapter.		alternate address at 0130, 0134, 0230, 0234 and 0330-------------------------------------------------------------------------------0338	  ----	AdLib soundblaster card-------------------------------------------------------------------------------0340-034F ----	Philips CD-ROM player CM50-------------------------------------------------------------------------------0340-034F ----	SCSI (1st Small Computer System Interface) adapter		(alternate at 0140-014F)-------------------------------------------------------------------------------0340-034F ----	Gravis Ultra Sound by Advanced Gravis	 The I/O address range is dipswitch selectable from:	   0200-020F and 0300-030F	   0210-021F and 0310-031F	   0220-022F and 0320-032F	   0230-023F and 0330-033F	   0240-024F and 0340-034F	   0250-025F and 0350-035F	   0260-026F and 0360-036F	   0270-027F and 0370-037F   0340	w	MIDI Control		 bit 7	   Receive IRQ (1 = enabled)		 bit 5-6   Xmit IRQ		 bit 0-1   Master Reset (1 = enabled)	r	MIDI Status		 bit 7	   Interrupt pending		 bit 5	   Overrun Error		 bit 4	   Framing Error		 bit 1	   Transmit Register Empty		 bit 0	   Receive Register Empty0341	w	MIDI Transmit Data	r	MIDI Receive Data0342	r/w	GF1 Page Register / Voice Select0343	r/w	GF1/Global Register Select   		 Global Registers, NOT voice specific:		 41   r/w   DRAM DMA Control			     bit 7	 Invert MSB			     bit 6	 Data Size (8/16 bits)			     bit 5	 DMA Pending			     bit 3-4	 DMA Rate Divider			     bit 2	 DMA Channel Width (8/16 bits)			     bit 1	 DMA Direction (1 = read)			     bit 0	 DMA Enable		 42   w	    DMA Start Address			     bits 15-0	 DMA Address Lines 19-4		 43   w	    DRAM I/O Address LOW		 44   w	    DRAM I/O Address HIGH			     bits 0-3	 Upper 4 Address Lines		 45   r/w   Timer Control			     bit 3	 Enable Timer 2			     bit 2	 Enable Timer 1		 46   w	    Timer 1 Count (granularity of 80 micro sec)		 47   w	    Timer 2 Count (granulatity of 320 micro sec)		 48   w	    Sampling Frequency			     rate = 9878400 / (16 * (FREQ + 2))		 49   r/w   Sampling Control			     bit 7	 Invert MSB			     bit 6	 DMA IRQ pending			     bit 5	 DMA IRQ enable			     bit 2	 DMA width (8/16 bits)			     bit 1	 Mode (mone/stereo)			     bit 0	 Start Sampling		 4B   w	    Joystick Trim DAC		 4C   r/w   RESET			     bit 2	 GF1 Master IRQ Enable			     bit 1	 DAC Enable			     bit 0	 Master Reset   		 Voice specific registers:		 00   w	    Voice Control			     bit 7	 IRQ pending			     bit 6	 Direction			     bit 5	 Enable WAVE IRQ			     bit 4	 Enable bi-directional Looping			     bit 3	 Enable Looping			     bit 2	 Size data (8/16 bits)			     bit 1	 Stop Voice			     bit 0	 Voice Stopped		 01   w	    Frequency Control			     bit 15-10	 Integer Portion			     bit 9-1	 Fractional Portion		 02   w	    Start Address HIGH			     bit 12-0	 Address Lines 19-7		 03   w	    Start Address LOW			     bit 15-9	 Address Lines 6-0			     bit 8-5	 Fractional Part of Start Address		 04   w	    End Address HIGH			     bit 12-0	 Address Lines 19-7		 05   w	    End Address LOW			     bit 15-9	 Address Lines 6-0			     bit 8-5	 Fractional Part of End Address		 06   w	    Volume Ramp Rate			     bit 5-0	 Amount added			     bit 7-6	 Rate		 07   w	    Volume Ramp Start			     bit 7-4	 Exponent			     bit 3-0	 Mantissa		 08   w	    Volume Ramp End			     bit 7-4	 Exponent			     bit 3-0	 Mantissa		 09   w	    Current Volume			     bit 15-12	 Exponent			     bit 11-4	 Mantissa		 0A   w	    Current Address HIGH			     bit 12-0	 Address Lines 19-7		 0B   w	    Current Address LOW			     bit 15-9	 Address Lines 6-0			     bit 8-0	 Fractional Position		 0C   w	    Pan Position			     bit 3-0	 Pan Postion		 0D   w	    Volume Control			     bit 7	 IRQ Pending			     bit 6	 Direction			     bit 5	 Enable Volume Ramp IRQ			     bit 4	 Enable bi-directional Looping			     bit 3	 Enable Looping			     bit 2	 Rollover Condition			     bit 1	 Stop Ramp			     bit 0	 Ramp Stopped		 0E   w	    Active Voices			     bit 5-0	 #Voices -1  (allowed 13 - 31)		 0F   w	    IRQ Source Register			     bit 7	 WaveTable IRQ pending			     bit 6	 Volume Ramp IRQ pending			     bit 4-0	 Voice Number		 80   r	    Voice Control (see 00)		 81   r	    Frequency Control (see 01)		 82   r	    Start Address HIGH (see 02)		 83   r	    Start Address LOW (see 03)		 84   r	    End Address HIGH (see 04)		 85   r	    End Address LOW (see 05)		 86   r	    Volume Ramp Rate (see 06)		 87   r	    Volume Ramp Start (see 07)		 88   r	    Volume Ramp End (see 08)		 89   r	    Current Volume (see 09)		 8A   r	    Current Address HIGH (see 0A)		 8B   r	    Current Address LOW (see 0B)		 8C   r	    Pan Position (see 0C)		 8D   r	    Volume Control (see 0D)		 8E   r	    Active Voices (see 0E)		 8F   r	    IRQ Status (see 0F)		   0344	r/w	GF1/Global Data Low Byte (16 bits)0345	r/w	GF1/Global Data High Byte (8 bits)0346	w	Mixer Data Port0347	r/w	GF1 DRAM		 Direct Read Write at Loction pointed with regs 43 and 44SeeAlso: 0240-024F, 0746   -------------------------------------------------------------------------------0340-0357 ----	RTC (1st Real Time Clock for XT), (alternate at 0240-0257)		(used by TIMER.COM v1.2 which is the 'standard' timer program)0340	r/w	0.01 seconds  0-990341	r/w	0.1 seconds   0-990342	r/w	seconds	      0-590343	r/w	minutes	      0-590343	r/w	hours	      0-230345	r/w	day of week   1-70346	r/w	day of month  1-310347	r/w	month	      1-1203480349	r/w	year	      0-99034A034B034C034D034E034F0350	r	status?0351	035203530354	r	status?035503560357-------------------------------------------------------------------------------0348-0357 ----	DCA 3278-------------------------------------------------------------------------------034C-034F ----	Gravis UltraMax by Advanced Gravis	 The I/O address range is dipswitch selectable from:	   0200-020F and 0300-030F	   0210-021F and 0310-031F	   0220-022F and 0320-032F	   0230-023F and 0330-033F	   0240-024F and 0340-034F	   0250-025F and 0350-035F	   0260-026F and 0360-036F	   0270-027F and 0370-037F-------------------------------------------------------------------------------035A-035B ----  Adaptec AH1520 jumper settings035A	r	bit 7:	  SCSI parity disabled		bits 6-5: DMA channel			(00 = channel 0, 01 = 5, 10 = 6, 11 = 7)		bits 4-3: IRQ number			(00 = IRQ9, 01 = IRQ10, 10 = IRQ11, 11 = IRQ12)		bits 2-0: SCSI ID035B	r	bit 7: DMA transfer mode (clear for PIO)		bit 6: boot enabled		bits 5-4: boot type			00 ???			01 boot from floppy			10 print configured options			11 boot from hard disk		bit 3: enable sync negotiation		bit 2: enable target disconnection		bits 1-0: unused???-------------------------------------------------------------------------------035F	  ----	ARTEC Handyscanner A400Z.  alternate address at 15F.-------------------------------------------------------------------------------0360-036F ----	PC network (AT)0360-0367 ----	PC network (XT only)-------------------------------------------------------------------------------0360-036F ----	National Semiconductor DP8390(1)C/NS3249C network chipsetNote:	cards based on this IEEE 802.3 networking chipset can use any range	of 16 consecutive addresses, and provide a total of four pages of	sixteen registerPage 0	r					w00	Command	reg.			CR	Command reg.		CR01	current local DMA address 0	CLDA0	page start reg.		PSTART02	current local DMA address 1	CLDA1	page stop reg.		PSTOP03	boundary pointer		BNRY	boundary pointer	BNRY04	transmit status reg.		TSR	Tx page start address	TPSR05	number of collisions reg.	NCR	Tx byte count reg.0	TBCR0 06	FIFO					Tx byte

⌨️ 快捷键说明

复制代码 Ctrl + C
搜索代码 Ctrl + F
全屏模式 F11
切换主题 Ctrl + Shift + D
显示快捷键 ?
增大字号 Ctrl + =
减小字号 Ctrl + -