Scripts
Introduction
This tutorial needs at least :
- Kernel : 2024.1
- Shell : 2024.1
- vi: 2024.1
- submit: 2023.3
Checking versions
Check Kernel and shell
If it's not "v2024_1", then download and install last version: cardridge.tgz
/#cd usr/share/carts
usr/share/carts#cd 2024.1
usr/share/carts/2024.1#orixcfg -k kernelus.r64
Check Submit
/#submit
If it's not the right version, download submit
Check vi
/#vi -v
If it's not the right version, download vi, and install it :
/#cd usr/share/vi
usr/share/vi#orixcfg -r -s 0 vi.rom
Executable script
Launch basic11 with a personnal folder
vi /bin/myprg
Press "i" (vi program)
type (where /home/myfolder is created, and will be your personnal folder):
#!/bin/submit
basic11 -p /home/myfolde
exit
Press "ESC"
Type ":w"
Type ":q"
myprg
=> It will start basic11 -p /home/myfolder.
Launch 3dfongus (or any .tap file)
vi /bin/3dfong
Press "i" (vi program)
#!/bin/submit
basic11 "3DFONGUS
exit
Press "ESC"
Type ":w"
Type ":q"
3dfong
=> It will start basic11 "3DFONGUS