Slimelite BBS

S3ViRGE.lha

Back to video

S3Virge PCI P96 driver

Size
4.9K (4,967 bytes)
Added
2026-11-20 03:04
Downloads
1
Long Description
The S3ViRGE.card driver is a P96 driver that implements the interface between the openpci.library and the S3ViRGE.chip low-level driver. Thus, technically, this driver offers everything the S3ViRGE.chip driver does, namely panning, screen dragging, mode mixing, sprites and overlays. It supports also aperture switching and big- and little endian modes due to the two aperture windows the S3 chip has to offer. Unfortunately, due to limitations of the PCI infrastructure, it does not offer native planar modes. Planar is only possible through P96 emulation. At this time, the driver is not yet tested on the S3ViRGE/DX which has a different PCI ID, but is also recognized by this driver. Feedback is appreciated. While in general any version of OpenPCI should do, the S3Virge is a very early PCI design and does not require access of all of its registers in the PCI space until the chip has been "woken up". The wake-up sequence requires access to the legacy IO region the 1.x releases of OpenPCI unfortunately to not grant access to. Thus, updated versions are necessary, such as the openpci implementation of the same author currently under development. Note that many PCI cards available on the PC market *do not* route the interrupt of the S3 chip to the PCI connector. Thus, vertical blank interrupts are not available by default, until enabled by INTERRUPT=Yes in the tool types of the driver. You may also require a new version P96Prefs that recognizes the ID of the chip, to be available soon. ---------------------------------------------------------------------- Changes for release 43.43: - This is the first version. ---------------------------------------------------------------------- Changes for release 43.67: - This driver now supports multiple identical cards in the system and continues scanning for cards until a non-reserved card is found. ---------------------------------------------------------------------- Changes for release 43.95: - This release re-enables I/O access to the chip, thus allows the PCI stack to disable it first to avoid conflicts when multiple VGA cards are in the system. ---------------------------------------------------------------------- Installation: - Receive an alpha version of the openpci.library of the author, e.g. from a1k.org. The currently available 1.x version are likely *not* sufficient. - Copy S3ViRGE.card to LIBS:Picasso96/ - If not already present in the system, install P96 with the included installer, and select the CVision3D as graphics card. - Ensure that S3ViRGE.chip of the official P96 version is also available in LIBS:Picasso96. - Take the CVision3D monitor icon, and edit its tool types with the workbench. Add or modify the following tool type: BOARDTYPE=S3ViRGE - Rename the icon to S3ViRGE. - Reboot the system, and start either Picasso96Mode or P96Prefs (preferred). - For P96Prefs, select the S3ViRGE monitor and press on "Add Default Modes", then edit the modes to your liking. In particular, for low resolution modes, it may be necessary to adjust the horizontal or vertical frame size (the first two numbers on the right-hand side of the window) to adjust the horizontal and vertical refresh rates to match the requirements of the monitor. - For the Picasso96Mode program, you need to create the desired modes manually. The following additional tool types are recognized by the driver and can be added to the driver icon either by the workbench: INTERRUPT=<yes|no> Enables or disables usage of the vertical blank interrupt of the board. Not all PCI bridge boards may support this. If present, screen operations can be synchronized to the screen, avoiding tearing. MEMORYCLOCK=<clock in Mhz> allows to select the memory clock in Mhz. Useful values are between 100 and 220. Generally, there is no need to play with this tooltype as the correct memory clock is taken from the VESA Bios of the card. DISPLAYCHAIN=<yes|no> Enables (with "yes") or disables (