Skip to end of metadata
Go to start of metadata

You are viewing an old version of this page. View the current version.

Compare with Current View Page History

« Previous Version 46 Next »

Table of Contents

General description

Charon-AXP supports emulation of PBXGA graphics card(s) by direct virtualization and provides a virtual console for displaying graphics.

The console starts automatically upon starting the emulator. Its resolution is 800 x 600 by default.

Emulated cards

  • PBXGA_AA - ZLXp-E1 (8bpp, PseudoColor)
  • PBXGA_BA - ZLXp-E2 (24bpp, TrueColor)

Important notes

  • PBXGA graphics console cannot be used as the system console. Use OPA0 for this purpose.
  • If PBXGA graphics card is going to be used, the resolution of CHARON host screen must be sufficient to provide ability to display the graphics console properly.
  • If PBXGA graphics card is used, CHARON cannot run as a service (so it is not compatible with the Linux Toolkit). It can however work in detached mode (# <emulator exe> -d <configuration file>)
  • If the window of the PBXGA graphics card console is closed by user or killed as a process, it will not re-appear automatically ((lightbulb) the Charon emulator will continue to work). In this situation the user has to restart the pbxga_tv program with the correct parameters, as defined in the configuration file, to restart the graphical display (see application chapter further)

Virtual PBXGA PCI graphics card settings

Loading virtual PBXGA graphics card

Syntax for loading PBXGA graphics card:

load <emulated card> <name>

Syntax for loading PBXGA graphics card on AlphaServer 400:

load <emulated card> <name> irq_bus = isa

Example (more examples below):

load PBXGA_BA GYA

On Charon startup a window will appear on CHARON host monitor to display graphics.


All the parameters described in the "Placement of peripheral devices on PCI bus" chapter, such as "bus", "device", "function", "irq", "irq_bus" are applicable for PBXGA graphics card.


Configuration parameters

size

Parametersize
TypeText string
Value

Predefine the screen size.

Possible values: 640x480, 800x600 (default), 1024x768, 1152x900, 1280x1024, 1920x1080

Example:

set GYA size = 1024x768

cpu_draw

Parametercpu_draw
Typeboolean
Value

Offloading raster operations. The default value is "true"

Example:

set GYA cpu_draw = false

.

application

Parameter

application

Type

Text string

Value

Specifies the application to open for displaying the graphical console.

The pbxga_tv executable file is provided for this. It is located in the same folder as the Charon emulator executable file.

Syntax:

pbxga_tv -c <configuration_name> -n <device name(s)>

(info) When several graphics cards are loaded, the <device name(s)> have to be separated by a pipe character and the application has to be defined for the latest loaded PBXGA card. See examples below. Note that correct consolidation is only possible when screens are of the same depth and size.

Example:

set GYA application = "pbxga_tv -c DS20 -n GYA"



Examples

Example 1: 8-bpp graphics on AlphaServer 400

...
set session hw_model = AlphaServer_400
set session configuration_name = AS400
...
load PBXGA_AA GYA irq_bus = isa size = 1024x768
set GYA application = "pbxga_tv -c AS400 -n GYA"

Example 2: 24-bpp graphics on AlphaServer DS20

...

set session hw_model = AlphaServer_DS20
set session configuration_name = DS20
...
load PBXGA_BA GYA size = 1280x1024
set GYA application = "pbxga_tv -c DS20 -n GYA"

Example 3: dual head display, 2x 1280x1024

...

set session hw_model = AlphaServer_ES45
set session configuration_name = ES45
...
load PBXGA_BA GYA size = 1280x1024
load PBXGA_BA GYB size = 1280x1024
set GYB application = "pbxga_tv -c ES45 -n GYA|GYB"

Example 4: triple head display, 3x 1280x1024

...
set session hw_model = AlphaServer_ES45
set session configuration_name = ES45
...
load PBXGA_BA GYA size = 1280x1024
load PBXGA_BA GYB size = 1280x1024
load PBXGA_BA GYC size = 1280x1024
set GYC application = "pbxga_tv -c ES45 -n GYA|GYB|GYC"


  • No labels