📄 paradise.txt
字号:
23C2h index 1/6 W(R/W): BITBLT Dimension X
bit 0-11 Width of blit area in pixels for BitBLT operations. Length of line
(= max (deltaX, deltaY)) for line draw
23C2h index 1/7 W(R/W): BITBLT Dimension Y
bit 0-11 Height of blit area in scanlines for BitBLT operations.
23C2h index 1/8 W(R/W): BITBLT Row Pitch (WD90c24,c31 only)
bit 0-11 Scanline width at the destination in pixels. This must match with
the Dword system, so the 2 low bits are 0 in packed modes and the 3
low bits are 0 in planar modes.
23C2h index 1/8 W(R/W): Raster Op (WD90c33 only)
bit 8-11 Raster Operation
0 ROP_Zero
1 ROP_And
2 ROP_SAnd
3 ROP_Src
4 ROP_NSad
5 ROP_Dst
6 ROP_Xor
7 ROP_Or
8 ROP_Nor
9 ROP_XNor
10 ROP_NDest
11 ROP_Sond
12 ROP_NSrc
13 ROP_NSod
14 ROP_NAnd
15 ROP_One
23C2h index 1/9 W(W): BITBLT Raster Op (WD90c24,c31 only)
bit 8-11 Raster operation
0 ROP_Zero
1 ROP_And
2 ROP_SAnd
3 ROP_Src
4 ROP_NSad
5 ROP_Dst
6 ROP_Xor
7 ROP_Or
8 ROP_Nor
9 ROP_XNor
10 ROP_NDest
11 ROP_Sond
12 ROP_NSrc
13 ROP_NSod
14 ROP_NAnd
15 ROP_One
23C2h index 1/9 W(R/W): Left Clip (WD90c33 only)
bit 0-11 Left edge of (smallest X coordinate) the clipping rectangle
23C2h index 1/Ah W(R/W): BLT Foreground Color (WD90c24,c31 only)
bit 0-7 BitBLT foreground Color
23C2h index 1/Ah W(R/W): Right Clip (WD90c33 only)
bit 0-11 Left edge of (largest X coordinate) the clipping rectangle
23C2h index 1/Bh W(R/W): BLT Background Color (WD90c24,c31 only)
bit 0-7 BitBLT background color
23C2h index 1/Bh W(R/W): Top Clip (WD90c33 only)
bit 0-11 Top edge of (smallest Y coordinate) the clipping rectangle
23C2h index 1/Ch W(R/W): BLT Transparency Color (WD90c24,c31 only)
bit 0-7 If Color Transparency is enabled (23C2h index 1/1 bit 0 is set) the
pixels in the destination area matching this value will not be
overwritten. 23C2h index 1/0Dh can cause some bits to be ignored in
the comparison
23C2h index 1/Ch W(R/W): Bottom Clip (WD90c33 only)
bit 0-11 Bottom edge (largest Y coordinate) of the clipping rectangle
23C2h index 1/Dh W(R/W): BLT Transparency Mask (WD90c24,c31 only)
bit 0-7 BitBLT Transparency Mask. Each bit set causes the corresponding bit
of the pixel color to be ignored in the transparency comparison
23C2h index 1/Eh W(W): BLT Mask (WD90c24,c31 only)
bit 0-7 Each bit set enables the corresponding plane (0-3) for planar modes,
or bit (0-7) for packed modes
23C2h index 1/Fh (R/W): Drawing Block Index (WD90c33 only)
bit 0-7 Selects the register bank at 23C2h.
0: System Control, 1: BitBLT, 2: Cursor, 3: (WD90c33) BitBLT 2
8-11 Register Index (for read operations)
23C2h index 2/0 W(W): Cursor Control (WD90c24,26,31+ only)
bit 4 (WD90c33) Enhanced Hardware Cursor (24bits per pixel).
If set doubles the cursor horizontally ?
5-7 Cursor Color Mode.
0: Straight monochrome (compatibility)
1: Two color cursor with inversion
2: Two color cursor with special inversion
3: Three color cursor
8 Cursor Plane Protection enabled if set. In planar modes
9-10 Cursor Pattern Type.
0: 2bits per pixel 32x32 cursor
1: 2bits per pixel 64x64 cursor
11 Set to enable hardware cursor
23C2h index 2/1 W(W): Cursor Pattern Address Low (WD90c24,26,31+ only)
bit 0-11 Lower 12 bits of the address of the Cursor Bitmap.
In 256 color modes this is in units of 4 bytes, in planar
modes in bytes. The Upper bits are in index 2.
The address is relative to the Display Start Address
Note: The cursor map data is a 32x32 or 64x64 bitmap with 2 bits per pixel.
In packed modes (256c) the data is stored as 8bits of "A" data followed
by 8bits of "B" data, in planar modes Map 0 and 2 hold the "A" data and
Maps 1 & 3 the corresponding "B" data.
The effect on each pixel depends on the Cursor Color Mode selected by
23C2h index 2/0 bits 5-7:
A: B: Mode 0: Mode 1: Mode 2: Mode 3:
0 0 All 0s Secondary Secondary Secondary
0 1 All 1s Primary Primary Primary
1 0 Transparent Transparent Transparent Transparent
1 1 Inverted Inverted Special Auxilary
Primary is the color in 23C2h index 2/3
Secondary is the color in 23C2h index 2/4
Auxilary is the color in 23C2h index 2/8
Special is the screen data XNOR'ed with the Auxilary color
Inverted is inverted screen data (XOR cursor)
Transparent is the screen data (Invisible cursor)
23C2h index 2/2 W(W): Cursor Pattern Address High (WD90c24,26,31+ only)
bit 0-7 Upper 8 bits of the address of the Cursor Bitmap in the display
memory in units of 4 bytes. The Lower bits are in index 1.
23C2h index 2/3 W(R/W): Cursor Primary Color (WD90c24,31+ only)
bit 0-7 The primary cursor color as an 8bit palette index
23C2h index 2/4 W(R/W): Cursor Secondary Color (WD90c24,31 only)
bit 0-7 The Secondary Color as an 8bit palette index
23C2h index 2/4 W(R/W): Cursor Primary Color mid. byte (WD90c33 only)
bit 0-7 The primary cursor color middle byte
23C2h index 2/5 W(R/W): Cursor Origin (WD90c24,31 only)
bit 0-5 The X hotspot position within the cursor from the left
6-11 The Y hotspot position within the cursor from the top
23C2h index 2/5 W(R/W): Cursor Primary Color high byte (WD90c33 only)
bit 0-7 The primary cursor color high byte
23C2h index 2/6 W(R/W): Cursor X position (WD90c24,31 only)
bit 0-10 The X position of the cursor hotspot in pixels from the left of the
display. In Hi/True color modes this is in bytes, not pixels
23C2h index 2/6 W(R/W): Cursor Secondary Color low byte (WD90c33 only)
bit 0-7 The secondary cursor color low byte
23C2h index 2/7 W(R/W): Cursor Y position (WD90c24,31 only)
bit 0-10 The Y position of the cursor hotspot in scanlines from the top of
the display.
23C2h index 2/7 W(R/W): Cursor Secondary Color middle byte (WD90c33 only)
bit 0-7 The secondary cursor color middle byte
23C2h index 2/8 W(R/W): Cursor Auxiliary Color (WD90c24,31 only)
bit 0-7 The Auxilary cursor color as an 8bit palette index
23C2h index 2/8 W(R/W): Cursor Secondary Color high byte (WD90c33 only)
bit 0-7 The secondary cursor color high byte
23C2h index 2/9 W(R/W): Cursor Auxilliary Color low byte (WD90c33 only)
bit 0-7 The auxilliary cursor color low byte
23C2h index 2/Ah W(R/W): Cursor Auxilliary Color middle byte (WD90c33 only)
bit 0-7 The auxilliary cursor color middle byte
23C2h index 2/Bh W(R/W): Cursor Auxilliary Color high byte (WD90c33 only)
bit 0-7 The auxilliary cursor color high byte
23C2h index 2/Ch W(R/W): Cursor Hotspot (WD90c33 only)
bit 0-5 The X hotspot position within the cursor from the left
6-11 The Y hotspot position within the cursor from the top
23C2h index 2/Dh W(R/W): Cursor X position (WD90c33 only)
bit 0-11 The X position of the cursor in pixels from the left.
In Hi/Truecolor modes this is in units of 3 bytes ?huh?
23C2h index 2/Eh W(R/W): Cursor Y position (WD90c33 only)
bit 0-11 The Y position of the cursor in scanlines from the top.
23C2h index 2/Fh W(R/W): Cursor Register Block/Index (WD90c33 only)
bit 0-7 Selects the register bank at 23C2h.
0: System Control, 1: BitBLT, 2: Cursor, 3: BitBLT 2
8-11 Register Index (for read operations)
23C2h index 3/0 W(R/W): Map Base (WD90c33 only)
bit 0-? Specifies (in units of 4KB) an offset from the start of display
memory that is added to all source and destination addresses.
23C2h index 3/1 W(R/W): Row Pitch (WD90c33 only)
bit 0-11 Scanline width at the destination in pixels.
23C2h index 3/2 W(R/W): Foreground Color 0 (WD90c33 only)
bit 0-7 Low byte of the foreground color
23C2h index 3/3 W(R/W): Foreground Color 1 (WD90c33 only)
bit 0-7 High byte of the foreground color
23C2h index 3/4 W(R/W): Background Color 0 (WD90c33 only)
bit 0-7 Low byte of the background color
23C2h index 3/5 W(R/W): Background Color 1 (WD90c33 only)
bit 0-7 High byte of the background color
23C2h index 3/6 W(R/W): Transparency Color 0 (WD90c33 only)
bit 0-7 Low byte of the transparency color
23C2h index 3/7 W(R/W): Transparency Color 1 (WD90c33 only)
bit 0-7 High byte of the transparency color
23C2h index 3/8 W(R/W): Transparency Mask 0 (WD90c33 only)
bit 0-7 Low byte of the transparency mask
23C2h index 3/9 W(R/W): Transparency Mask 1 (WD90c33 only)
bit 0-7 High byte of the transparency mask
23C2h index 3/Ah W(R/W): Mask Byte Low (WD90c33 only)
bit 0-7 Low byte of the mask. Each bit when set enables writes to that plane
23C2h index 3/Bh W(R/W): Mask Byte High (WD90c33 only)
bit 0-7 High byte of the mask.
23C2h index 3/Fh W(R/W): Drawing Register Block/Index (WD90c33 only)
bit 0-7 Selects the register bank at 23C2h.
0: System Control, 1: BitBLT, 2: Cursor, 3: BitBLT 2
8-11 Register Index (for read operations)
23C4h W(R/W): BitBLT I/O Port
bit 0-15 When the source or destination is set to "system I/O address" the
data must be read or written through this register. The transfer
should always be a multipla of 4 bytes
23C8h W(R/W): Bresenham Constant 1
bit 0-15 For Bresenham line drawing programmed with the constant:
2* min(abs(Xend-Xstart),abs(Yend-Ystart))
23CAh W(R/W): Bresenham Constant 2
bit 0-15 For Bresenham line drawing programmed with the constant:
2* (min(abs(Xend-Xstart),abs(Yend-Ystart))
- max(abs(Xend-Xstart),abs(Yend-Ystart)))
23CCh W(R/W): Bresenham Error Term
bit 0-15 For Bresenham line drawing programmed with the constant:
2*(min(abs(Xend-Xstart),abs(Yend-Ystart)))
- max(abs(Xend-Xstart),abs(Yend-Ystart)) - d
Where d is 0 if Xstart > Xend, -1 if not
23CEh (R/W): Command Buffer (WD90c33)
bit 0-3 (R) Command Buffer Locations. Number of occupied elements in the 8
⌨️ 快捷键说明
复制代码
Ctrl + C
搜索代码
Ctrl + F
全屏模式
F11
切换主题
Ctrl + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -