Browse Source

Add TempleOS files

master
Tyler Sommer 3 years ago
commit
2b2d89b147
Signed by: tyler-sommer GPG Key ID: C09C010500DBD008
20 changed files with 1222 additions and 0 deletions
  1. BIN
      Linux/TOSZ
  2. +1084
    -0
      Linux/TOSZ.CPP
  3. +7
    -0
      Linux/make_tosz
  4. +5
    -0
      QEMU/emu8core
  5. +7
    -0
      QEMU/emu_in
  6. +22
    -0
      QEMU/emu_in2
  7. +10
    -0
      QEMU/emu_install
  8. +10
    -0
      QEMU/emu_mnt
  9. +15
    -0
      QEMU/emu_mov
  10. +7
    -0
      QEMU/emu_out
  11. +13
    -0
      QEMU/emu_out2
  12. +5
    -0
      QEMU/emu_staff_new
  13. +5
    -0
      QEMU/emu_std
  14. +9
    -0
      QEMU/emu_umnt
  15. +23
    -0
      ReadMe.TXT
  16. BIN
      TOS_Distro.ISO
  17. BIN
      TOS_Lite.ISO
  18. BIN
      TOS_Supplemental1.ISO.C
  19. BIN
      TOS_Supplemental2.ISO.C
  20. BIN
      TOS_Supplemental3.ISO.C

BIN
Linux/TOSZ View File


+ 1084
- 0
Linux/TOSZ.CPP
File diff suppressed because it is too large
View File


+ 7
- 0
Linux/make_tosz View File

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

+ 5
- 0
QEMU/emu8core 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
- 0
QEMU/emu_in View File

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

+ 22
- 0
QEMU/emu_in2 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
- 0
QEMU/emu_install 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
- 0
QEMU/emu_mnt 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
- 0
QEMU/emu_mov 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
- 0
QEMU/emu_out View File

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

+ 13
- 0
QEMU/emu_out2 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
- 0
QEMU/emu_staff_new 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
- 0
QEMU/emu_std 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
- 0
QEMU/emu_umnt 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
- 0
ReadMe.TXT 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 View File


BIN
TOS_Lite.ISO View File


BIN
TOS_Supplemental1.ISO.C View File


BIN
TOS_Supplemental2.ISO.C View File


BIN
TOS_Supplemental3.ISO.C View File


Loading…
Cancel
Save