Add TempleOS files

master
Tyler Sommer 2018-09-05 10:41:20 -06:00
commit 2b2d89b147
Signed by: tyler-sommer
GPG Key ID: C09C010500DBD008
20 changed files with 1222 additions and 0 deletions

BIN
Linux/TOSZ Normal file

Binary file not shown.

1084
Linux/TOSZ.CPP Normal file

File diff suppressed because it is too large Load Diff

7
Linux/make_tosz Normal file
View File

@ -0,0 +1,7 @@
#!/bin/bash
#Make TOSZ
echo Make TOSZ
cc TOSZ.CPP -o TOSZ
chmod 777 TOSZ

5
QEMU/emu8core Normal file
View File

@ -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

7
QEMU/emu_in Normal file
View File

@ -0,0 +1,7 @@
#!/bin/bash
#Transfer files into QEMU.
echo EMU In
sudo ~/TOS/Bin/QEMU/emu_in2

22
QEMU/emu_in2 Normal file
View File

@ -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

10
QEMU/emu_install Normal file
View File

@ -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

10
QEMU/emu_mnt Normal file
View File

@ -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

15
QEMU/emu_mov Normal file
View File

@ -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

7
QEMU/emu_out Normal file
View File

@ -0,0 +1,7 @@
#!/bin/bash
#Transfer files out of QEMU.
echo EMU Out
sudo ~/TOS/Bin/QEMU/emu_out2

13
QEMU/emu_out2 Normal file
View File

@ -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

5
QEMU/emu_staff_new Normal file
View File

@ -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

5
QEMU/emu_std Normal file
View File

@ -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

9
QEMU/emu_umnt Normal file
View File

@ -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

23
ReadMe.TXT Normal file
View File

@ -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.)

BIN
TOS_Distro.ISO Normal file

Binary file not shown.

BIN
TOS_Lite.ISO Normal file

Binary file not shown.

BIN
TOS_Supplemental1.ISO.C Normal file

Binary file not shown.

BIN
TOS_Supplemental2.ISO.C Normal file

Binary file not shown.

BIN
TOS_Supplemental3.ISO.C Normal file

Binary file not shown.