commit
2b2d89b147
20 changed files with 1222 additions and 0 deletions
Binary file not shown.
@ -0,0 +1,7 @@
@@ -0,0 +1,7 @@
|
||||
#!/bin/bash |
||||
|
||||
#Make TOSZ |
||||
|
||||
echo Make TOSZ |
||||
cc TOSZ.CPP -o TOSZ |
||||
chmod 777 TOSZ |
@ -0,0 +1,5 @@
@@ -0,0 +1,5 @@
|
||||
#!/bin/bash |
||||
|
||||
#Start QEMU for normal use. |
||||
|
||||
qemu-system-x86_64 -hda ~/qemu_disk.qcow2 -machine kernel_irqchip=off -smp cores=8 -enable-kvm -cpu host -m 6000 -rtc base=localtime -soundhw pcspk |
@ -0,0 +1,7 @@
@@ -0,0 +1,7 @@
|
||||
#!/bin/bash |
||||
|
||||
#Transfer files into QEMU. |
||||
|
||||
echo EMU In |
||||
sudo ~/TOS/Bin/QEMU/emu_in2 |
||||
|
@ -0,0 +1,22 @@
@@ -0,0 +1,22 @@
|
||||
#!/bin/bash |
||||
|
||||
#Transfer files into QEMU. |
||||
|
||||
cd ~/TOS/Site/Downloads/Linux |
||||
./make_tosz |
||||
cp TOSZ ~/TOS/Bin |
||||
|
||||
rm ~/TOS/Bin/*~ |
||||
rm ~/TOS/Home/*~ |
||||
rm ~/TOS/Home/Sup1/Sup1Bin/*~ |
||||
|
||||
cp --preserve=all ~/TOS/Bin/gw ~/TOS/Home/Sup1/Sup1Bin |
||||
cp -R --preserve=all ~/TOS/Bin/QEMU ~/TOS/Home/Sup1/Sup1Bin |
||||
|
||||
~/TOS/Bin/QEMU/emu_mnt |
||||
rm -R /mnt/qemu_disk/Home |
||||
cp -R --preserve=timestamps ~/TOS/Home /mnt/qemu_disk |
||||
rm -R /mnt/qemu_disk/Downloads/Linux |
||||
cp -R --preserve=timestamps ~/TOS/Site/Downloads/Linux /mnt/qemu_disk/Downloads/Linux |
||||
~/TOS/Bin/QEMU/emu_umnt |
||||
|
@ -0,0 +1,10 @@
@@ -0,0 +1,10 @@
|
||||
#!/bin/bash |
||||
|
||||
#Install QEMU for the first time. |
||||
|
||||
sudo apt-get install qemu-kvm |
||||
qemu-img create -f qcow2 ~/qemu_disk.qcow2 3G |
||||
chmod 777 ~/qemu_disk.qcow2 |
||||
mkdir /mnt/qemu_disk |
||||
chmod 777 /mnt/qemu_disk |
||||
|
@ -0,0 +1,10 @@
@@ -0,0 +1,10 @@
|
||||
#!/bin/bash |
||||
|
||||
#Mount QEMU drive. |
||||
|
||||
echo EMU Mnt |
||||
sudo modprobe nbd max_part=16 |
||||
sudo qemu-nbd -c /dev/nbd0 ~/qemu_disk.qcow2 |
||||
sudo partprobe /dev/nbd0 |
||||
sudo mount /dev/nbd0p2 /mnt/qemu_disk |
||||
|
@ -0,0 +1,15 @@
@@ -0,0 +1,15 @@
|
||||
#!/bin/bash |
||||
|
||||
#Transfer BMP screenshot movie files out of QEMU. |
||||
|
||||
echo QEMU Mov |
||||
~/TOS/Bin/QEMU/emu_mnt |
||||
cp -R --preserve=all /mnt/qemu_disk/Tmp/*.AU ~/Pictures |
||||
cp -R --preserve=all /mnt/qemu_disk/Tmp/*.MV ~/Pictures |
||||
~/TOS/Bin/QEMU/emu_umnt |
||||
cd ~/Pictures |
||||
rm MOVIE.MP4 |
||||
~/TOS/Bin/TOSZ -mp4 |
||||
rm *.AU |
||||
rm *.MV |
||||
|
@ -0,0 +1,7 @@
@@ -0,0 +1,7 @@
|
||||
#!/bin/bash |
||||
|
||||
#Transfer files out of QEMU. |
||||
|
||||
echo EMU Out |
||||
sudo ~/TOS/Bin/QEMU/emu_out2 |
||||
|
@ -0,0 +1,13 @@
@@ -0,0 +1,13 @@
|
||||
#!/bin/bash |
||||
|
||||
#Transfer files out of QEMU. |
||||
|
||||
~/TOS/Bin/QEMU/emu_mnt |
||||
rm -R ~/TOS/Home |
||||
rm -R ~/TOS/Site/Downloads |
||||
mv /mnt/qemu_disk/Downloads/TOS_Staff.ISO ~/TOS |
||||
cp -R --preserve=all /mnt/qemu_disk/Home ~/TOS/Home |
||||
cp -R --preserve=all /mnt/qemu_disk/Downloads ~/TOS/Site/Downloads |
||||
chmod -R 777 ~/TOS |
||||
~/TOS/Bin/QEMU/emu_umnt |
||||
|
@ -0,0 +1,5 @@
@@ -0,0 +1,5 @@
|
||||
#!/bin/bash |
||||
|
||||
#Start QEMU and boot Dropbox CDROM in order to install new TempleOS files. |
||||
|
||||
qemu-system-x86_64 -hda ~/qemu_disk.qcow2 -machine kernel_irqchip=off -smp cores=1 -enable-kvm -cpu host -m 2048 -rtc base=localtime -soundhw pcspk -cdrom ~/TOS/TOS_Staff.ISO -boot d |
@ -0,0 +1,5 @@
@@ -0,0 +1,5 @@
|
||||
#!/bin/bash |
||||
|
||||
#Start QEMU and boot Dropbox CDROM in order to install new TempleOS files. |
||||
|
||||
qemu-system-x86_64 -hda ~/qemu_disk.qcow2 -machine kernel_irqchip=off -smp cores=1 -enable-kvm -cpu host -m 2048 -rtc base=localtime -soundhw pcspk -cdrom ~/Downloads/TOS_Distro.ISO -boot d |
@ -0,0 +1,9 @@
@@ -0,0 +1,9 @@
|
||||
#!/bin/bash |
||||
|
||||
#Unmount QEMU drive. |
||||
|
||||
echo EMU Umnt |
||||
sudo umount /mnt/qemu_disk |
||||
sudo qemu-nbd -d /dev/nbd0 |
||||
sudo partprobe |
||||
|
@ -0,0 +1,23 @@
@@ -0,0 +1,23 @@
|
||||
TempleOS |
||||
|
||||
You can't do anything until you burn a TempleOS CD/DVD from the ISO file |
||||
and boot it, or you aim your virtual machine's CD/DVD at the ISO file |
||||
and boot. |
||||
|
||||
TempleOS is 64-bit and will not run on 32-bit hardware. |
||||
|
||||
TempleOS requires 512 Meg of RAM minimum and can have 256 Gig of RAM or more! |
||||
|
||||
TempleOS files are compressed with a nonstandard LZW format and the source |
||||
code can only be compiled by the TempleOS compiler because it is HolyC, a |
||||
nonstandard C/C++ dialect. You must boot TempleOS. Then, you can compile it |
||||
because it is 100% open source and all source present on the distro. |
||||
|
||||
If attempting to run on native hardware, TempleOS may require you to enter I/O |
||||
port addresses for the CD/DVD drive and the hard drive. In Windows, you can |
||||
find I/O port info in the Accessories/System Tools/System Info/Hardware |
||||
Resources/I/O ports. Look for and write down "IDE", "ATA" or "SATA" port numbers. |
||||
In Linux, use "lspci -v". Then, boot the TempleOS CD and try all combinations. |
||||
(Sorry, it's too difficult for TempleOS to figure-out port numbers, automatically.) |
||||
|
||||
|
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Loading…
Reference in new issue