mhitch
901e4b0219
Fix IOASIC DMA alignment problems. Buffers not aligned on doubleword (8
...
byte) boundaries don't work correctly. Make use of the SDR0/SDR1 registers
to adjust the buffer alignment when starting the DMA transfer. Block device
I/O done by the filesystems will usually be aligned correctly, but character
device I/O may not be aligned correctly. This should fix the problems with
dump(8) failing randomly on DECstations.
1999-12-03 04:26:17 +00:00
drochner
a00a9ff012
Convert to use rasops/wsfont, enabling colors.
...
For now, only the "putchar" and "copyrows" accelerations are used.
1999-12-02 23:04:44 +00:00
ad
744ded4890
Register definitions for the PrestoServe option board (I've had this for
...
months and if it doesn't go here it'll die).
1999-11-29 15:06:28 +00:00
nisimura
558c978dea
Const poisoning.
1999-11-29 07:50:54 +00:00
nisimura
cc2e1c302a
- Reflect changes in ibus_intr_establish() definition.
...
- More concise way to initialize TC framebuffer device for console.
1999-11-15 09:54:41 +00:00
nisimura
b06e451c53
- No need to include '<machine/autoconf.h>'.
...
- Nuke tc_badaddr() check from asc_tc because the existency check is already
done for real TC devices.
- Nuke tc_badaddr() check from asc_ioasic because it is a builtin device
found in all of IOASIC DECstations.
1999-11-15 05:25:57 +00:00
nisimura
8e061f4876
Make sure TC_IPL_xxx synonymous with IPL_xxx.
1999-11-15 03:45:50 +00:00
nisimura
9c3842f41b
Relocate 'struct tc_softc' and several function declarations useful
...
to outsides of 'tc.c' into 'tcvar.h'.
1999-11-15 03:41:49 +00:00
nisimura
2924b6835a
Fix errors in sfb_copycols() of the forward (left-to-right) case.
1999-11-09 08:25:31 +00:00
nisimura
392a4acdd7
- Remove temporary hack to recognize PMAGD since SFB+ rendering function
...
is found not fully upward compatible to its predecessor. sfbp.c is now
under development.
- Reduce copycols() malfunction, but has still lot of troubles.
1999-11-05 03:28:40 +00:00
nisimura
5cf97491d8
Add a temporary kludge to recognize PMAGD (HX+) as 'sfb' hoping 8bpp
...
configration of it is compatible enough with PMAGB-BA.
1999-10-27 04:32:35 +00:00
drochner
0247fe44f6
regen
1999-10-26 12:35:14 +00:00
drochner
7254017312
remove duplicate entry
1999-10-26 12:34:41 +00:00
drochner
9eed0f5d8a
change PMAF-F to PMAF-FA for consistency, add some more stuff
1999-10-26 12:23:13 +00:00
nisimura
95c618a810
- Fix bogus cursor drawn by sfb_cursor(). From eye-opening input from R.C.
...
Dowdeswell.
- Remove write memory barriers in sfb_copyrows() as dst. is always distant
enough from src. for copying rows.
1999-10-26 10:57:04 +00:00
nisimura
21636a326b
Fill always erased regions with bg color. Fix an issue revealed by
...
"print -n '\033[7m'; ls".
1999-10-22 07:42:05 +00:00
nisimura
e470fe0db1
Remove Bt459 register layout exposure. XXX Needs consideration about
...
possible merger of SFB+ ASIC and TGA(2)/PCI register definitions.
1999-10-20 02:44:48 +00:00
nisimura
fd3561cc02
Preliminary import of 'SFB enhanced' text renderer with many caveats
...
to be corrected. Text drawing is now improved significantly, but;
cursor is drawn incorrectly, copycols() trashes a screen, 'standout
(\033[7m)' results in lines reversed entirely until '\033[0m', and
possibly more issues. Not multi-colour, 8bpp only this moment. Costly
write memory barrier instrunctions should be eliminated using framebuffer
address aliasing technique for NetBSD/alpha.
1999-10-19 09:51:17 +00:00
nisimura
7b3b03bea6
Enable 'WSSCREEN_REVERSE' scr-capability.
1999-10-19 00:49:33 +00:00
nisimura
72de8abb0c
Arrange loop invariants and fix comment description error.
1999-10-08 02:08:15 +00:00
nisimura
9c2fdffad2
SFB video base register is assigned with an inialial value before use;
...
according to ULTRIX/OSF1 code.
1999-10-05 09:13:30 +00:00
nisimura
7fbac8b3cc
- Remove defunct codes and arrange consistency between pmax and alpha.
...
- Reduce 'ioasic_base' expose.
1999-10-01 09:19:42 +00:00
mrg
5bffe1b3b5
regen
1999-09-26 09:20:04 +00:00
mrg
f4efaa9db4
add AV300-AA video capture card & PNTNV-AA NV-RAM card.
1999-09-26 09:18:53 +00:00
nisimura
ffe9ca742d
Add 'sfbreg.h' to the list of files installed in /usr/include/dev/tc/.
1999-09-24 01:01:23 +00:00
nisimura
1f50d00cc1
Add one new dispaly type for DEC TC TX 8/24bpp framebuffer. Currently acts
...
as an 8bpp pseudo color device.
1999-09-20 06:29:06 +00:00
ad
91723eaf32
Regen.
1999-09-18 01:46:25 +00:00
ad
697eb331c5
Ammend some entries.
1999-09-18 01:46:01 +00:00
nisimura
633408472b
Use bus_dmamap_load() to obtain 128KB chunk for LANCE merging codes from
...
NetBSD/alpha. Tested ok with DEC3000 and DECstation.
1999-09-09 06:33:38 +00:00
nisimura
de9efb01d3
- Fix an error in cursor image manipulation. I learned a pair of Bt431
...
were populated in reverse order from PMAG-A MX ...
1999-08-25 07:56:22 +00:00
nisimura
0bdb76e5cf
- 24bit per pixel TX framebuffer occupies 0x600000.
1999-08-25 02:02:22 +00:00
nisimura
9ab80b75b8
- Fix MX framebuffer size which should occupy 2MB in address range.
...
- Restore 72Hz interrupt service mistakenly ruined in the previous commit.
1999-08-02 06:00:40 +00:00
nisimura
e78e58a7b8
- Fix TX 8bpp framebuffer size, which occupies 2MB.
...
- Rework CX RAMDAC register access like as other TC framebuffers.
1999-08-02 04:19:03 +00:00
nisimura
c03616646c
- Fix TX 66Hz interrupt handling. Verified ok with PMAG-JA as an 8bpp
...
console. XXX troubles in cursor color.
- Typo in comments of MX.
1999-07-30 16:23:43 +00:00
nisimura
09a2fed6f9
- Show 1bpp for MX during configuration stage.
...
- Replace memory layout 'struct' with array/pointer access.
1999-06-25 03:33:20 +00:00
nisimura
8dd0e06ba1
- Hide memory mapped VDAC hardware register layouts using the array
...
element access instead of C bitfield (hello, BCPL).
- XXX Some TURBOchannel framebuffers might need shutdownhooks(). It
seems not necessarily hardware sprite cursor images are re-initialized
by DECstation PROMs upon exits from kernel.
- XXX It'd be an arguable point to allow user programs to change the
shade of gray freely for pixel value 0 and 1.
1999-06-24 03:51:14 +00:00
nisimura
463e258cdb
- Allow to choose the 'color' of sprite cursor. Only red cmap makes sense.
...
- Drop TC Alpha support (OSF/1 and Digital UNIX never supports PMAG-AA).
1999-06-23 23:48:28 +00:00
nisimura
839bcbbe9f
- Fix an error in the depth of PMAG-AA MX. This driver can take 72Hz
...
virtical video retrace interrupt and was verified ok on Nanao grayscale
monitor. XXX seems still confusion/mistake on Bt431 cursor image
manipulation.
1999-06-23 01:58:22 +00:00
mhitch
3adf25374a
The extraneous interrupt that seems to occur after a reconnect and a DMA transfer
...
starts running can occur on both DMA in and DMA out. I missed the little comment
in the Mach driver for the DMA out case. Also, only ignore the interrupt if the
TC is non-zero (to match the Mach driver).
1999-06-18 05:30:53 +00:00
mhitch
cff0f6b1e4
Don't pre-load the identify message into the fifo just just before the command register
...
is written. This significantly reduces, if not eliminates, the problem reported in
PR#5510. It stops the problem on my 5000/200, and two other people have verified that
it fixes the problem on their 5000/200s. I'm waiting for confirmation from the PR
originator before closing the PR.
1999-06-13 17:21:29 +00:00
nisimura
e3b1b88d76
- Errors in case analysis...
1999-06-11 01:44:47 +00:00
nisimura
f4be9af151
- Rework copycols() with SFB ASIC calls.
1999-06-11 00:56:09 +00:00
nisimura
1d082ddc15
- Sweep abit preparing for code merge to have common 'vdacops' across
...
various graphics cards.
1999-05-07 08:00:30 +00:00
nisimura
b2c6b9a41d
- Nuke debugging aids mistakenly committed.
1999-04-30 09:43:23 +00:00
nisimura
b14028acc2
- I finally learned CSR_A register of IMS G332 VDAC must be treated as
...
write only. Read-motify-write operation breaks its video mode.
- VDAC regiters are now initialized as ULTRIX does.
1999-04-30 00:44:11 +00:00
simonb
6aaa1ee1b7
Shut 'gcc -Wuninitialized' up.
1999-04-25 03:02:05 +00:00
mrg
713d4e0462
KNF nits.
1999-04-20 06:48:58 +00:00
ad
1c9990c901
Removed pending write of fully-functional MI driver.
1999-04-13 19:06:54 +00:00
ad
ce7a13c654
Remove px driver pending write of fully-functional MI driver.
1999-04-13 19:06:53 +00:00
pk
b13e5d1469
Quote "AS IS" as in the majority of Carnegy Mellon notices.
1999-04-12 20:38:17 +00:00