|PedroM V 0.82 by PpHd|
PedroM -Open Source ROM for Ti-92+, Ti-89 & V200 systems- |
Copyright (C) 2003-2011 PpHd - Time To Team.
This program is free software ; you can redistribute it and/or modify it under the
terms of the GNU General Public License as published by the Free Software Foundation;
either version 2 of the License, or (at your option) any later version.
This program is distributed in the hope that it will be useful, but WITHOUT ANY WARRANTY;
without even the implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.
See the GNU General Public License for more details.
You should have received a copy of the GNU General Public License along with this program;
if not, write to the
Free Software Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA
PedroM uses also some non-GPL extra code which are distribute under their own licence.
Thanks to the authors of theses original programs for letting me distributing it:
Side Copyright (c) 2002 Clement Vasseur.
Unpack routines and PPG files Copyright (C) 2001-2002 Pasi "Albert" Ojala & Thomas Nussbaumer
ExtGraph Graph Functions Copyright (C) 2001-2002 Thomas Nussbaumer
MD5 Copyright (C) 1999, 2000, 2002 Aladdin Enterprises.
TIB Receiver 1.20 Copyright (c) 2000-2001 Julien Muchembled.
PedroM is a complete new Operating System (OS) for Ti-68k calculators. It doesn't use any code from Texas Instruments OS, Advanced Math Software (AMS). The goal was to create an OS useable on real calcs, which can run safely 95% of the assembly programs designed for AMS 1.0x. So that, I was obbliged to rewrite many romcalls of the original OS. The rewritten romcalls are often faster, but always smaller: only 192K of Flash Rom are reserved for the system (64K for the boot, 8+8K reserved by the hardware, 48K+64K for PedroM itself). As a consequence, there is plenty of Flash memory available (228 Kbytes of RAM and 1900 Kbytes of Archive) and there is no Computer Algebra System (CAS). Of course, this OS sets the hardware protection (in RAM and in ROM) off. But all the assembly programs use either self modifing code, or data in code segment. So only the PedroM programs would be able to be executed in ROM. AMS Flash Application won't never be supported.
The Ti link protocol is not complete: you can't send a Product Code, neither receive/send backup. Other things should work (Prefer Ti-GraphLink or tilp to TiConnect).
PedroM has a modified version of PreOS core as built-in, so you don't need to install a kernel extender. It uses the latest version of PreOS. PedroM can also run natively PPG programs (See http://tict.ticalc.org for more infos about PPG programs). In conclusion, you can run at the moment :
- Nostub Programs.
- Kernel Programs (version 2, 3, 4 & 5) -See "Kernel History" in PreOS.txt.
- PPG Programs.
- Pack Archive Programs.
Kernel v1 programs can be converted using "ck1tok2" program to kernel v2 so you can even use kernel v1 with PedroM (Sorbo Quest! Lovely.) (on HW1 only).
Many romcalls have been rewritten (>400). Many program work. TSR programs won't work since EV-hook doesn't work (In fact, EV_hook works but there is no AMS like application installed, so it does nothing since there is no event). PedroM is detected as AMS 1.01 by nostub programs but kernel programs will detect AMS 1.48.
"stdlib" is also a built-in library (But you can update it!)
Contrary to AMS, PedroM looks like a unix shell. You can receive any files (sent throught the link port) in this shell, just like in the AMS Home application. You enter a command in the line prompt, and you validate it by pressing ENTER. There is an history of the last used commands and an auto completion of the current command. F1-F8 are dsigned to put the memorised commands. You can of course abort the current program by pressing ON+ESC. There is also a Task Switcher. By pressing [2nd]+[SWITCH], you restart another Shell Command. You can also configure PedroM so that you can switch inside a program. By pressing [diamond]+F1-F8, you go to background process # 0-7 (Process must have been created using [SWITCH]). The Shell supports also the redirection just like Unix (the standard flux stdin, stdout, stderr can be redirected using >, <, 2> or | ).
Here is the list of the commands: install product code, install tib, install format, help, cls, echo, more, cat,flags, clean, reset, mem, cd, arc, unarc, ls, mkdir, rmdir, rm, rmarc, mv, cp, sendcalc, getcalc, read, unpgg, ps, go, kill, and a built-in text editor: side.
You can also use PedroM as a basic calculator: 2+2*3-ln(3.23)^2.3 should work.
PedroM recognizes also some special text files as script files. The extra commands used by the scripts are: if, else, elif, while.
Finally, there is a special folder ("system") which contains system vairables: start, apd, path, home, args, fkey1, temp.