summaryrefslogtreecommitdiff
path: root/README
blob: fa35e15b3732d2cb60e4d3eefa22a0318539ea59 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48

this README lists and explains the possibilities of the vbtracetool tools
the file QUICKSTART may provide a more concise and direct route to your ends

vbtracetool
===========

Dependencies:
libpci

Building:
Run make

Running:
./vbtracetool [-d] [-l] [-r] [-g | -p | -s MODENUMBER | -w]

-d gives trace output *to stderr*. you'll want to redirect that.
-l gives IO logging *to stderr*. you'll want to redirect that.
-r forces use of the shadow ram bios image

-g gets the current display mode number (default)
-p posts the card. could induce several seconds of pants cacking with -d.
-s sets the given mode number
-w writes the bios image that would be executed by the other options *to stderr*

./postandrestore.bash [-d] [-l] [-r]

options as for vbtracetool

this shell script will run vbtracetool in such a way to do a POST
(which may be traced) and then restore the graphics mode (useful for fbcon)


try either of these in x and lose.

Bonus trace processor:
"./deloopify TRACENAME" will compact loops in your trace

Known issues:
see KNOWN_ISSUES file

Killing:
do not interrupt, once started -- you will likely earn yourself a hung machine
if you really really don't like what's happening, turn the power off

Culprit:
Stuart Bennett, using code and ideas from Matthew Garrett's libx86 and vbetool,
and the SciTech/Xorg x86emu emulator