First pass at getting Acadia running under bochs.
- Create a bochs build script. - Properly configure COM1
This commit is contained in:
parent
93d1299bd9
commit
5a20c23569
9 changed files with 153 additions and 40 deletions
19
scripts/bochs.sh
Executable file
19
scripts/bochs.sh
Executable file
|
|
@ -0,0 +1,19 @@
|
|||
#! /bin/bash
|
||||
|
||||
set -e
|
||||
|
||||
DIR="$(cd "$(dirname "${BASH_SOURCE[0]}")" && pwd)"
|
||||
|
||||
BUILD_DIR="${DIR}/../builddbg"
|
||||
|
||||
bash ${DIR}/build.sh
|
||||
sudo sh ${DIR}/build_image.sh ${BUILD_DIR}/disk.img
|
||||
|
||||
BOCHS_ARGS=
|
||||
if [[ $1 == "debug" ]]; then
|
||||
BOCHS_ARGS+="--dbg"
|
||||
fi
|
||||
|
||||
# TODO Make this portable, build bochs as a part of toolchain?
|
||||
~/opt/bochs/bin/bochs
|
||||
|
||||
Loading…
Add table
Add a link
Reference in a new issue