Subversion Repositories Shiroi

Rev

Rev 7 | Rev 12 | Go to most recent revision | Details | Compare with Previous | Last modification | View Log | RSS feed

Rev Author Line No. Line
1 nishi 1
I/O List
2
 
3
If the I/O port (3n-1) returns 0, card is not there.
4
 
5
I/O port (3n-1) returns the card type.
6
	Top 4 bits mean the card genre:
7
		0x0: Video
8
		0x1: Audio
3 nishi 9
		0x2: System
1 nishi 10
	Bottom 4 bits mean the card type:
11
		Video:
12
			0x1: Video Mark I
7 nishi 13
			0x2: Video Mark II
1 nishi 14
		Audio:
15
			0x1: Sound Mark I
3 nishi 16
		System:
1 nishi 17
			0x1: Math Mark I
3 nishi 18
			0x2: Text Mark I
1 nishi 19
 
20
Video Mark I card maps itself to:
21
	0: VDP address
22
	1: VDP data
23
	2: See above
24
 
7 nishi 25
Video Mark II card maps itself to:
26
	0: VDG VRAM address
27
	1: VDG VRAM data
28
	2: See above
29
 
1 nishi 30
Sound Mark I card maps itself to:
31
	3: PSG address
32
	4: PSG data
33
	5: See above
34
 
35
Math Mark I card maps itself to:
36
	6: AM9511 stack
11 nishi 37
	7: AM9511 command (W) / AM9511 ready (R)
1 nishi 38
	8: See above
3 nishi 39
 
40
Text Mark I card maps itself to:
41
	9: Keyboard data
42
	10: Empty
43
	11: See above