Stuff and things.

git-svn-id: https://spexeah.com:8443/svn/Asuro@3 6dbc8c32-bb84-406f-8558-d1cf31a0ab0c
This commit is contained in:
kieron 2015-09-15 23:55:12 +00:00
parent 37d3addb47
commit ad4301222a
11 changed files with 47 additions and 1 deletions

BIN
Asuro.iso

Binary file not shown.

View File

@ -1,5 +1,6 @@
#!/bin/sh #!/bin/sh
ERRCOUNT=0 ERRCOUNT=0
echo " "
echo "=======================" echo "======================="
echo "== ASURO COMPILATION ==" echo "== ASURO COMPILATION =="
echo "=======================" echo "======================="

7
compile_and_run.sh Executable file
View File

@ -0,0 +1,7 @@
#!/bin/sh
ERRCOUNT=0
echo "======================="
echo "== ASURO =="
echo "======================="
./compile.sh
./run.sh

7
compile_and_run.sh~ Executable file
View File

@ -0,0 +1,7 @@
#!/bin/sh
ERRCOUNT=0
echo "======================="
echo "== ASURO =="
echo "======================="
./compile
./run

Binary file not shown.

Binary file not shown.

Binary file not shown.

Binary file not shown.

Binary file not shown.

30
run.sh Executable file
View File

@ -0,0 +1,30 @@
#!/bin/sh
ERRCOUNT=0
echo " "
echo "======================="
echo "== ASURO OPERATION =="
echo "======================="
echo " "
echo "Running Asaro..."
qemu-system-i386 -cdrom Asuro.iso
if [ $? -ne 0 ]
then
echo "Failed to run Asaro!"
ERRCOUNT=$((ERRCOUNT+1))
else
echo "Finished Successfully."
fi
echo " "
echo "======================="
echo " "
if [ "$ERRCOUNT" -ne "0" ]
then
echo "$ERRCOUNT Errors Occurred, please review."
else
echo "No errors."
fi
echo " "
echo "======================="
echo " "

View File

@ -26,6 +26,7 @@ implementation
procedure kmain(mbinfo: Pmultiboot_info_t; mbmagic: DWORD); stdcall; [public, alias: 'kmain']; procedure kmain(mbinfo: Pmultiboot_info_t; mbmagic: DWORD); stdcall; [public, alias: 'kmain'];
begin begin
kclearscreen(); kclearscreen();
kwritestr('FUCK YOU!');
kwritestr('Freepascal barebone OS booted!'); kwritestr('Freepascal barebone OS booted!');
xpos := 0; xpos := 0;
ypos += 1; ypos += 1;