OpenCores
URL https://opencores.org/ocsvn/or1k/or1k/trunk

Subversion Repositories or1k

[/] [or1k/] [trunk/] [uclinux/] [uClinux-2.0.x/] [arch/] [m68k/] [amiga/] [s3blit.h] - Blame information for rev 1765

Details | Compare with Previous | View Log

Line No. Rev Author Line
1 199 simons
/* s3 commands */
2
#define S3_BITBLT       0xc011
3
#define S3_TWOPOINTLINE 0x2811
4
#define S3_FILLEDRECT   0x40b1
5
 
6
#define S3_FIFO_EMPTY 0x0400
7
#define S3_HDW_BUSY   0x0200
8
 
9
/* Enhanced register mapping (MMIO mode) */
10
 
11
#define S3_READ_SEL      0xbee8 /* offset f */
12
#define S3_MULT_MISC     0xbee8 /* offset e */
13
#define S3_ERR_TERM      0x92e8
14
#define S3_FRGD_COLOR    0xa6e8
15
#define S3_BKGD_COLOR    0xa2e8
16
#define S3_PIXEL_CNTL    0xbee8 /* offset a */
17
#define S3_FRGD_MIX      0xbae8
18
#define S3_BKGD_MIX      0xb6e8
19
#define S3_CUR_Y         0x82e8
20
#define S3_CUR_X         0x86e8
21
#define S3_DESTY_AXSTP   0x8ae8
22
#define S3_DESTX_DIASTP  0x8ee8
23
#define S3_MIN_AXIS_PCNT 0xbee8 /* offset 0 */
24
#define S3_MAJ_AXIS_PCNT 0x96e8
25
#define S3_CMD           0x9ae8
26
#define S3_GP_STAT       0x9ae8
27
#define S3_ADVFUNC_CNTL  0x4ae8
28
#define S3_WRT_MASK      0xaae8
29
#define S3_RD_MASK       0xaee8
30
 
31
/* Enhanced register mapping (Packed MMIO mode, write only) */
32
#define S3_ALT_CURXY     0x8100
33
#define S3_ALT_CURXY2    0x8104
34
#define S3_ALT_STEP      0x8108
35
#define S3_ALT_STEP2     0x810c
36
#define S3_ALT_ERR       0x8110
37
#define S3_ALT_CMD       0x8118
38
#define S3_ALT_MIX       0x8134
39
#define S3_ALT_PCNT      0x8148
40
#define S3_ALT_PAT       0x8168
41
 
42
/* Drawing modes */
43
#define S3_NOTCUR          0x0000
44
#define S3_LOGICALZERO     0x0001
45
#define S3_LOGICALONE      0x0002
46
#define S3_LEAVEASIS       0x0003
47
#define S3_NOTNEW          0x0004
48
#define S3_CURXORNEW       0x0005
49
#define S3_NOT_CURXORNEW   0x0006
50
#define S3_NEW             0x0007
51
#define S3_NOTCURORNOTNEW  0x0008
52
#define S3_CURORNOTNEW     0x0009
53
#define S3_NOTCURORNEW     0x000a
54
#define S3_CURORNEW        0x000b
55
#define S3_CURANDNEW       0x000c
56
#define S3_NOTCURANDNEW    0x000d
57
#define S3_CURANDNOTNEW    0x000e
58
#define S3_NOTCURANDNOTNEW 0x000f
59
 
60
#define S3_CRTC_ADR    0x03d4
61
#define S3_CRTC_DATA   0x03d5
62
 
63
#define S3_REG_LOCK2 0x39
64
#define S3_HGC_MODE  0x45
65
 
66
#define S3_HWGC_ORGX_H 0x46
67
#define S3_HWGC_ORGX_L 0x47
68
#define S3_HWGC_ORGY_H 0x48
69
#define S3_HWGC_ORGY_L 0x49
70
#define S3_HWGC_DX     0x4e
71
#define S3_HWGC_DY     0x4f
72
 
73
 
74
#define S3_LAW_CTL 0x58

powered by: WebSVN 2.1.0

© copyright 1999-2024 OpenCores.org, equivalent to Oliscience, all rights reserved. OpenCores®, registered trademark.