Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
Showing
28 changed files
with
56 additions
and
28 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,8 @@ | ||
cd Source | ||
CALL Compile-Debug.bat | ||
cd ..\Run | ||
CALL Compile.bat Mosa.TestWorld.x86.exe | ||
START notepad.exe build\hello.map | ||
START notepad.exe build\asm.txt | ||
CALL Run-PeterBochs-Debugger.bat | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,11 +1,9 @@ | ||
set BOCHS=%CD%\..\..\Tools\Bochs | ||
set SETTINGS=%CD% | ||
|
||
|
||
IF EXIST "%ProgramFiles(x86)%\Java\jre6\bin\Java.exe" SET JAVA="%ProgramFiles(x86)%\Java\jre6\bin\Java.exe" | ||
IF EXIST "%ProgramFiles%\Java\jre6\bin\Java.exe" SET JAVA="%ProgramFiles%\Java\jre6\bin\Java.exe" | ||
call ..\FindJava.bat | ||
|
||
cd ..\..\Tools\peter-bochs | ||
call GetPeterBochs.bat | ||
|
||
%JAVA% -jar peter-bochs-debugger.jar %BOCHS%\bochsdbg.exe -q -f %SETTINGS%\peter-bochsrc.bxrc | ||
%JAVABIN% -jar peter-bochs-debugger.jar %BOCHS%\bochsdbg.exe -q -f %SETTINGS%\peter-bochsrc.bxrc |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,4 +1,4 @@ | ||
#!/bin/bash | ||
[ -d build ] || mkdir build | ||
rm -f ./build/main.exe | ||
mono ../bin/mosacl.exe -a=x86 -f=PE -pe-file-alignment=4096 -b=mb0.7 -sa -ssa -o ./build/main.exe ../bin/$1 | ||
mono ../bin/mosacl.exe -a=x86 -f=PE -b=mb0.7 -sa -ssa -o ./build/main.exe ../bin/$1 |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,11 @@ | ||
IF EXIST "%ProgramFiles(x86)%\Java\jre6\bin\java.exe" SET JAVABIN="%ProgramFiles(x86)%\Java\jre6\bin\java.exe" | ||
IF EXIST "%ProgramFiles%\Java\jre6\bin\java.exe" SET JAVABIN="%ProgramFiles%\Java\jre6\bin\java.exe" | ||
|
||
IF EXIST "%ProgramFiles(x86)%\Java\jre7\bin\java.exe" SET JAVABIN="%ProgramFiles(x86)%\Java\jre7\bin\java.exe" | ||
IF EXIST "%ProgramFiles%\Java\jre7\bin\java.exe" SET JAVABIN="%ProgramFiles%\Java\jre7\bin\bin\java.exe" | ||
|
||
IF EXIST "%ProgramFiles(x86)%\Java\jdk1.7.0\bin\java.exe" SET JAVABIN="%ProgramFiles(x86)%\Java\jdk1.7.0\bin\java.exe" | ||
IF EXIST "%ProgramFiles%\Java\jdk1.7.0\bin\java.exe" SET JAVABIN="%ProgramFiles%\Java\jdk1.7.0\bin\java.exe" | ||
|
||
IF EXIST "%ProgramFiles(x86)%\Java\jre7\bin\java.exe" SET JAVABIN="%ProgramFiles(x86)%\Java\jre7\bin\java.exe" | ||
IF EXIST "%ProgramFiles%\Java\jre7\bin\java.exe" SET JAVABIN="%ProgramFiles%\Java\jre7\bin\java.exe" |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,15 +1,8 @@ | ||
call ..\FindJava.bat | ||
|
||
cd ..\..\Tools\JPC | ||
call GetJPC.bat | ||
|
||
IF EXIST "%ProgramFiles(x86)%\Java\jre6\bin\java.exe" SET JAVABIN="%ProgramFiles(x86)%\Java\jre6\bin\java.exe" | ||
IF EXIST "%ProgramFiles%\Java\jre6\bin\java.exe" SET JAVABIN="%ProgramFiles%\Java\jre6\bin\java.exe" | ||
|
||
IF EXIST "%ProgramFiles(x86)%\Java\jre7\bin\java.exe" SET JAVABIN="%ProgramFiles(x86)%\Java\jre7\bin\java.exe" | ||
IF EXIST "%ProgramFiles%\Java\jre7\bin\java.exe" SET JAVABIN="%ProgramFiles%\Java\jre7\bin\bin\java.exe" | ||
|
||
IF EXIST "%ProgramFiles(x86)%\Java\jdk1.7.0\bin\java.exe" SET JAVABIN="%ProgramFiles(x86)%\Java\jdk1.7.0\bin\java.exe" | ||
IF EXIST "%ProgramFiles%\Java\jdk1.7.0\bin\java.exe" SET JAVABIN="%ProgramFiles%\Java\jdk1.7.0\bin\java.exe" | ||
|
||
%JAVABIN% -jar JPCApplication.jar -hda ..\..\Run\build\bootimage.img -boot hda | ||
|
||
pause |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,13 +1,6 @@ | ||
call ..\FindJava.bat | ||
|
||
cd ..\..\Tools\JPC | ||
call GetJPC.bat | ||
|
||
IF EXIST "%ProgramFiles(x86)%\Java\jre6\bin\java.exe" SET JAVABIN="%ProgramFiles(x86)%\Java\jre6\bin\java.exe" | ||
IF EXIST "%ProgramFiles%\Java\jre6\bin\java.exe" SET JAVABIN="%ProgramFiles%\Java\jre6\bin\java.exe" | ||
|
||
IF EXIST "%ProgramFiles(x86)%\Java\jre7\bin\java.exe" SET JAVABIN="%ProgramFiles(x86)%\Java\jre7\bin\java.exe" | ||
IF EXIST "%ProgramFiles%\Java\jre7\bin\java.exe" SET JAVABIN="%ProgramFiles%\Java\jre7\bin\bin\java.exe" | ||
|
||
IF EXIST "%ProgramFiles(x86)%\Java\jdk1.7.0\bin\java.exe" SET JAVABIN="%ProgramFiles(x86)%\Java\jdk1.7.0\bin\java.exe" | ||
IF EXIST "%ProgramFiles%\Java\jdk1.7.0\bin\java.exe" SET JAVABIN="%ProgramFiles%\Java\jdk1.7.0\bin\java.exe" | ||
|
||
%JAVABIN% -jar JPCDebugger.jar -hda ..\..\Run\build\bootimage.img -boot hda |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,3 @@ | ||
..\bin\Mosa.Tool.CreateBootImage.exe IMG\mosaboot-img.config build\bootimage.img | ||
cd Bochs | ||
call LaunchPeterBochsDebugger.bat |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,3 +1,3 @@ | ||
..\bin\Mosa.Tool.CreateBootImage.exe IMG\mosaboot-img.config build\bootimage.img | ||
CD qemu | ||
CALL LaunchQemuWithServerTCP.bat | ||
CALL LaunchQemu.bat |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,3 @@ | ||
..\bin\Mosa.Tool.CreateBootImage.exe IMG\mosaboot-img.config build\bootimage.img | ||
CD qemu | ||
CALL LaunchQemuWithServerTCP.bat |
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,2 @@ | ||
2.6.1 [current] | ||
2.6.2 [doesn't work with peter-boch] |
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1 +1 @@ | ||
ruby sln2nant.rb ../../Source/MOSA-VS2010.sln ../../Source/ | ||
ruby sln2nant.rb ../../Source/MOSA-VS2012.sln ../../Source/ |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters