Bochs Developers Guide
Kevin Lawton
Bryce Denney
Christophe Bothamy
Edited by
Michael Calabrese
Table of Contents
1.
Resources for developers
1.1.
Setting up CVS write access
1.1.1.
Install ssh and cvs
1.1.2.
ssh to cvs.sf.net
1.1.3.
Set CVS_RSH environment variable to ssh
1.1.4.
cvs checkout
1.2.
Using CVS write access
1.2.1.
Checking in files
1.3.
SourceForge bug, feature, and patch trackers
1.4.
Ideas for other sections
2.
About the code
2.1.
How to add keymapping in a GUI client
2.2.
Directory Structure
2.3.
Configure Scripting
2.4.
Log Functions
2.5.
Emulator Objects
2.6.
timers
2.7.
Sound Blaster 16 Emulation
2.7.1.
How well does it work?
2.7.2.
Output to a sound card
2.7.3.
Installation on Linux
2.7.4.
Configuring bochs
2.7.5.
Runtime configuration
2.7.6.
Features planned for the future
2.7.7.
Description of the sound output classes
2.7.8.
Files
2.7.9.
Classes
2.7.10.
Methods
2.7.11.
bx_sound_OS_c(bx_sb16_c*sb16)
2.7.12.
~bx_sound_OS_c()
2.7.13.
int openmidioutput(char *device)
2.7.14.
Description of the parameters:
2.7.15.
int midiready()
2.7.16.
int sendmidicommand(int delta, int command, int length, Bit8u data[])
2.7.17.
int closemidioutput()
2.7.18.
int openwaveoutput(char *device)
2.7.19.
int startwaveplayback(int frequency, int bits, int stereo, int format)
2.7.20.
int waveready()
2.7.21.
int sendwavepacket(int length, Bit8u data[])
2.7.22.
int stopwaveplayback()
2.7.23.
int closewaveoutput()
2.8.
Harddisk Images based on redologs
2.8.1.
Description
2.8.2.
How redologs works ?
2.8.3.
Parameters
2.8.4.
Redolog class description
2.8.5.
Disk image classes description
3.
Debugger
3.1.
compile with debugger support
3.2.
get started in debugger
3.3.
command reference
3.4.
techniques
4.
Coding
4.1.
coding conventions
4.2.
patches:
4.3.
life cycle of a CVS release
List of Tables
2-1.
format bits
2-2.
codecs
2-3.
wave output types
2-4.
Generic header description
2-5.
Redolog specific header description
2-6.
How number of entries in the catalog and number of blocks by extents are computed
Next
Resources for developers