apersson850 #426 Posted September 5, 2020 (edited) I had it in my vault (I wasn't at home when I wrote the first answer). But it's on the net too. The p-system program development manual for the TI Professional computer. Look in appendix H for the backend errors. Edited September 5, 2020 by apersson850 1 Quote Share this post Link to post Share on other sites
Vorticon #427 Posted September 5, 2020 39 minutes ago, apersson850 said: I had it in my vault (I wasn't at home when I wrote the first answer). But it's on the net too. The p-system program development manual for the TI Professional computer. Look in appendix H for the backend errors. That manual states that Backend Error 8 is triggered when the jump table has more than 400 entries. I'm pretty certain I don't have that many jumps in the procedure in question, so I'm guessing the TI implementation has a smaller jump table limit? In any case, braking up the procedure into two separate procedures solved the problem Quote Share this post Link to post Share on other sites
apersson850 #428 Posted September 5, 2020 Well, it's for the TI professional computer, which had much more memory than the 99/4A. So it makes sense that the problem comes quicker on our little machine. That's why I didn't give you any number, just a general explanation. Quote Share this post Link to post Share on other sites
Vorticon #429 Posted September 6, 2020 I have a 4 character string which I want to split into 2 sub-strings each 2 characters long. The following gives an error 125 (type error) which I assume is because the concat intrinsic is being passed characters rather than strings. program test; var pmove,pto,pfrom : string; begin readln(input,pmove); pfrom:=concat(pmove[1],pmove[2]); pto:=concat(pmove[3],pmove[4]); writeln(pfrom,pto); end. I there another way of doing this? EDIT: Ok figured it out using the copy function. prom:=copy(pmove,1,2); pto:=copy(pmove,3,2); I am now keeping this little handy UCSD Pascal reference card on hand to help with remembering what's available on the system... UCSD Pascal Quick Reference Card.pdf 2 Quote Share this post Link to post Share on other sites
apersson850 #430 Posted September 6, 2020 (edited) Using copy is the neat way. The brutal way to copy any data from any variable to any other variable is using moveleft. moveleft(pmove[1],pfrom[1],2) will move two bytes starting from pmove[1] to pfrom. It starts filling at pfrom[1]. In pfrom[0] is the length indicator. So either you have to turn off range checking and set that to 2 manually, or you have to first assign pfrom a two character dummy string. moveleft(pmove[3],pto[1],2) vill take care of the other one, with the same prerequisites. For such short strings and where an easy, neat way exists, moveleft isn't really worth it. But there are other cases where it's very handy. Edited September 6, 2020 by apersson850 2 Quote Share this post Link to post Share on other sites
Vorticon #431 Posted September 6, 2020 Handy feature indeed. It's going into my reference notes. Quote Share this post Link to post Share on other sites
+DPOLARA #432 Posted October 18, 2020 WOW! Just finished reading this entire thread. I used the TI-99/4A UCSD PASCAL with P-CODE card in the late 80's when I was in college. I think I was the only student using the TI at University of Iowa in the 80's. The Terminal Emulator did great connecting to main frames so I could upload my code, test it on the University's systems, then print my code on greenbar sheets and turn it in to the TA. I'm buying a fairly complete system with a P-CODE card, so going to start looking for the Editor, Compiler and Linker software online. (If anyone has a complete set of the original manuals and disks, let me know.) Thanks! Ron 5 Quote Share this post Link to post Share on other sites
Vorticon #433 Posted October 18, 2020 8 hours ago, [email protected] said: WOW! Just finished reading this entire thread. I used the TI-99/4A UCSD PASCAL with P-CODE card in the late 80's when I was in college. I think I was the only student using the TI at University of Iowa in the 80's. The Terminal Emulator did great connecting to main frames so I could upload my code, test it on the University's systems, then print my code on greenbar sheets and turn it in to the TA. I'm buying a fairly complete system with a P-CODE card, so going to start looking for the Editor, Compiler and Linker software online. (If anyone has a complete set of the original manuals and disks, let me know.) Thanks! Ron Hi Ron. All the disk images are here. Quote Share this post Link to post Share on other sites
+DPOLARA #434 Posted November 20, 2020 On 10/18/2020 at 10:59 AM, Vorticon said: Hi Ron. All the disk images are here. Vorticon, Thanks for the link! I didn't see this posted on this thread, but here is a great page that references plenty of good info on the UCSD P-Code system on the TI 99/4a http://pascal.hansotten.com/ucsd-p-system/texas-instruments-and-ucsd/ Thanks all! 2 Quote Share this post Link to post Share on other sites
+TheBF #435 Posted November 20, 2020 What a beautiful site. Thanks. There is a lot of reading there. I found this by Dick Pountain. http://pascal.hansotten.com/simplicity/ I remember his name from years back. He was a big proponent of object oriented extensions to Forth which gave rise to a language called NEON and Yerks Forth. It was like Smalltalk but with a data stack. 2 Quote Share this post Link to post Share on other sites
apersson850 #436 Posted November 20, 2020 7 hours ago, [email protected] said: I didn't see this posted on this thread, but here is a great page that references plenty of good info on the UCSD P-Code system on the TI 99/4a http://pascal.hansotten.com/ucsd-p-system/texas-instruments-and-ucsd/ Interesting to see that apart from the official documentation from TI, he has also chosen to add copies of some of my development efforts for the TI 99/4A UCSD p-system. 3 Quote Share this post Link to post Share on other sites
Vorticon #437 Posted February 6 A new version of Pcode Tool has been released by Rhodanaj. If you program in pcode, this is a must. p-code-tool-V3.0.exe manual.pdf 3 Quote Share this post Link to post Share on other sites
+Ksarul #438 Posted February 9 On 11/20/2020 at 5:07 AM, apersson850 said: Interesting to see that apart from the official documentation from TI, he has also chosen to add copies of some of my development efforts for the TI 99/4A UCSD p-system. Hans Otten has been a p-System person almost forever--I remember seeing things from him back when I was a member of USUS. . .and stuff from you too, for that matter, @apersson850 2 Quote Share this post Link to post Share on other sites
Vorticon #439 Posted February 20 A small bug fix for pcode tool was released today (attached). Also the same author created a Windows program called Read Dir which, when given a folder containing disk images, will create a directory listing of every TI and pcode disk it finds and dump it into a text file for easy reference. Great for archiving purposes. I have attached an example listing of my UCSD Pascal directory to give you an idea. p-code-tool V3.1 manual.pdf p-code-tool-V3.1.exe read_dir-v1.0.exe Read-Dir manual.pdf tmp.txt 4 Quote Share this post Link to post Share on other sites