Subversion Repositories Shiroi

Rev

Rev 11 | Rev 29 | 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
12 nishi 19
			0x3: Debug
1 nishi 20
 
21
Video Mark I card maps itself to:
22
	0: VDP address
23
	1: VDP data
24
	2: See above
25
 
7 nishi 26
Video Mark II card maps itself to:
27
	0: VDG VRAM address
28
	1: VDG VRAM data
29
	2: See above
30
 
1 nishi 31
Sound Mark I card maps itself to:
32
	3: PSG address
33
	4: PSG data
34
	5: See above
35
 
36
Math Mark I card maps itself to:
37
	6: AM9511 stack
11 nishi 38
	7: AM9511 command (W) / AM9511 ready (R)
1 nishi 39
	8: See above
3 nishi 40
 
41
Text Mark I card maps itself to:
42
	9: Keyboard data
43
	10: Empty
44
	11: See above
12 nishi 45
 
46
Debug card maps itself to:
47
	12: Address
48
	13: LED
49
		Bit to 7-segment map:
50
 
51
		1 2
52
		 3
53
		4 5
54
		 6 7
55
	14: See above