ticalc.org
Basics Archives Community Services Programming
Hardware Help About Search Your Account
   Home :: Archives :: News :: PedroM 68k OS Released

PedroM 68k OS Released
Posted by Michael on 10 December 2003, 23:21 GMT

Patrick Pelissier, author of PreOS and other fine 68k programs, has written the first third-party operating system for the 68k calcs. The open-source PedroM looks like a Unix shell, has task switching and a much smaller size (only 192 KB). It is designed to be compatible with the AMS 1.xx series.

In order to include this OS in our archives, we have added categories for TI-89 Operating Systems, TI-92 Plus Operating Systems, and Voyage 200 Operating Systems.

Morgan has also been fixing up the TI-83 Plus Flash directory into subcategories of games, science, math, et cetera. New submissions should no longer go into the general Flash category but rather one of these new subcategories.

Update (Michael): We are currently being Slashdotted, but holding up just fine because HTTP requests are load-balanced among our Beowulf cluster of 2000 TI-85s. Bring it on!

 


The comments below are written by ticalc.org visitors. Their views are not necessarily those of ticalc.org, and ticalc.org takes no responsibility for their content.


Re: PedroM 68k OS Released
Torael  Account Info

Interesting. Will it run normal basic/68k programs, or not?

Also...TI seemed to have a fit when asked about Michael V's OS that he was working on for the 83+. Would they have or have they had a fit about this? If not, what's different?

     11 December 2003, 01:11 GMT

Re: Re: PedroM 68k OS Released
Konrad Meyer  Account Info
(Web Page)

well, i know it will run asm... i tried with aspirin. i dont kno about basic, as that was all part of TI's OS, and not directly of the processor. thus, i think that normal TI BASIC progs wont be able to be run, at least not at first.

     11 December 2003, 01:30 GMT


Re: Re: Re: PedroM 68k OS Released
ti_is_good_++  Account Info

1. Aspirin?

2. This may spur development of a TI-BASIC compiler

     11 December 2003, 01:50 GMT

Re: Re: Re: Re: PedroM 68k OS Released
Konrad Meyer  Account Info
(Web Page)

aspirin is a good game for the 89 (ASM)

     11 December 2003, 03:15 GMT


Re: Re: Re: Re: PedroM 68k OS Released
firstkiwi  Account Info
(Web Page)

Is there a well defined grammar for Ti-Basic? It should be relatively simple to make a compiler... The basic programming features (loops, conditional statements, variables) are very easy to deal with--and the TI-specific calls could just be mapped to the rom?

     13 December 2003, 03:31 GMT

Re: Re: Re: Re: Re: PedroM 68k OS Released
Eugene Talagrand Account Info
(Web Page)

There's a few problems with TI-Basic that really make it a pain. I don't know the 89basic, but on Z80 you can do this:

While 1
...
Goto A
...
End
Label A
...Dostuff....
End <--- This will jump back to the While Statement

Basically, it looks like statements that require End's are pushed on the stack, and every time an End is encountered they are popped off.
This is very different than with C for example, you couldn't write a Basic2C translator.

And if you want to support _all_ of basic you need to bundle the compiler with the runtime:
(can't remember the syntax, but):

InputString S
toEquation S, y1
y1

This evaluates arbitrary CAS strings

     13 December 2003, 19:11 GMT


Re: Re: Re: Re: Re: Re: PedroM 68k OS Released
ti_is_good_++  Account Info

With 89 BASIC, there are definite blocks of code-not like in Z80 BASIC.

     13 December 2003, 21:38 GMT


Re: Re: Re: Re: Re: PedroM 68k OS Released
ti_is_good_++  Account Info

In Morvlon 3.00, there is a compiler for a new language, MCL, that is surprisingly similar to TI-BASIC.

Here I present my conveniently timed alternative :)!

Please!Please!Please! state below your perceived deficiencies in PedroM and everyone who cares about OS or shell development (including me) will take note for PedroM's future competitors. Spur the free market, encourage the development of software, contribute to the advancement of information technology, and, best of all, complain freely!

     14 December 2003, 04:48 GMT

Re: Re: PedroM 68k OS Released
ti_is_good_++  Account Info

They will have a fit++, even if it includes no TI code. Ugh. I don't even want to consider what will happen.

     11 December 2003, 01:47 GMT

Re: Re: PedroM 68k OS Released
Kevin Kofler Account Info
(Web Page)

TI-BASIC doesn't run. There is no TI-BASIC interpreter yet. Assembly/C programs using any symbolic mathematics won't work either, because there is no CAS. Most TSRs won't work either. And some other ROM_CALLs are also missing. But some assembly/C programs do run (my backgammon game for example :-) ).

     11 December 2003, 02:37 GMT


Re: Re: PedroM 68k OS Released
Michael McElroy Account Info
(Web Page)

If I were really pressed to do it (and begged, pleaded, etc.) I could probably write a BASIC detokenizer, at the very least... MAYBE an interpreter...

please note that I don't promise that I would finish it.

     11 December 2003, 11:41 GMT

Re: Re: Re: PedroM 68k OS Released
W Hibdon  Account Info

Oh, Michael, Please, please, please, won't you find it in your heart to do it for us all?

-That was my effort, from W-

     12 December 2003, 03:31 GMT

Re: Re: Re: PedroM 68k OS Released
Konrad Meyer  Account Info
(Web Page)

yes, please do... for all those BASIC losers out there, assist us by making a BASIC interpreter/compiler.

     12 December 2003, 05:07 GMT

Re: Re: Re: Re: PedroM 68k OS Released
Michael McElroy Account Info
(Web Page)

*twitch*
you want a compiler? hmm.
well, next YEAR in college I'll be taking a Compilers class... that could help. but if you just want an interpreter, I could probably swing that.

     12 December 2003, 16:18 GMT


Re: Re: Re: Re: PedroM 68k OS Released
BlackThunder  Account Info
(Web Page)

What do you mean by "BASIC _losers_", huh? BASIC is an excellent programming language!

     13 December 2003, 00:03 GMT


Re: Re: Re: Re: Re: PedroM 68k OS Released
W Hibdon  Account Info

What are you smking?

At least it is not good for a gme other than a menu based text adventure.

-W-

     13 December 2003, 00:10 GMT

Re: Re: Re: Re: Re: Re: PedroM 68k OS Released
ti_is_good_++  Account Info

Uhh...

Grayscale is easy in BASIC, pictures are loaded quickly, etc.

     13 December 2003, 02:47 GMT


Re: Re: Re: Re: Re: Re: Re: PedroM 68k OS Released
Michael O'Brien  Account Info
(Web Page)

Only if you use flib. In pur BASIC it is impossible to do it flickerless.

     13 December 2003, 03:25 GMT

Re: Re: Re: Re: Re: Re: Re: Re: PedroM 68k OS Released
ti_is_good_++  Account Info

I didn't say flickerless...:)

     13 December 2003, 21:39 GMT

Re: Re: Re: Re: Re: Re: Re: Re: PedroM 68k OS Released
Michael McElroy Account Info
(Web Page)

Actually, that's not quite true. You won't be able to do complex animation or anything, but if you store up to four gray planes of a single image, you can use the CyclePic command with a delay of zero to imitate grayscale. It's as close to flickerless as you can get in BASIC, and with only two planes it IS flickerless. I exploited this in a program I wrote that let you make/view grayscale images (really sets of four images) on the TI-89.

     14 December 2003, 08:32 GMT

Re: Re: Re: Re: Re: Re: Re: Re: Re: PedroM 68k OS Released
Chivo  Account Info

Hey, I did exactly that to view a 4- and later an 8-level grayscale Mandelbrot's set fractal I generated with a BASIC program I wrote. The 4-level picture I think had an occasional flicker, and the 8-level picture had more noticeable flicker.

     15 December 2003, 17:54 GMT


Re: Re: Re: Re: Re: Re: Re: Re: Re: Re: PedroM 68k OS Released
Michael McElroy Account Info
(Web Page)

Hooray! I'm not the only one that comes up with good ideas anymore! ;D

     15 December 2003, 18:52 GMT


Re: Re: Re: Re: Re: Re: Re: Re: Re: PedroM 68k OS Released
Michael O'Brien  Account Info
(Web Page)

One HW1 Cycle pic is notably flickery for a full screen 2 full screen pics. For HW2 on my V200, it flipped the pics so fast, that you could see when the screen was being refreshed.

     16 December 2003, 22:17 GMT


Re: Re: Re: Re: Re: Re: Re: Re: PedroM 68k OS Released
Michael McElroy Account Info
(Web Page)

"pure".
"without flickering."
(flickerless is close enough to not being a word. flickerlessly is not a word.)

     18 December 2003, 10:22 GMT


Re: Re: Re: Re: Re: Re: Re: Re: Re: PedroM 68k OS Released
ti_is_good_++  Account Info

Up geshut

     18 December 2003, 21:16 GMT


Re: PedroM 68k OS Released
lalu Account Info

But pretty good for writing a non-trivial symbolic manipulation program.

     13 December 2003, 04:43 GMT


Re: Re: PedroM 68k OS Released
Kevin Kofler Account Info
(Web Page)

But not the only way. :-) See Gosper89 at my web page linked above.

     13 December 2003, 05:11 GMT

Re: Re: Re: PedroM 68k OS Released
Kevin Kofler Account Info
(Web Page)

PS: I know _you_ know about it, but the people you were replying to probably don't.

     13 December 2003, 05:18 GMT


Re: Re: Re: PedroM 68k OS Released
lalu Account Info

I know :) I just meant that it's easy to get an algorithm implemented, compared to other methods (C, HP RPL, etc.) And it often works fine (besides the slow dynamic loops, which I try to avoid).

     13 December 2003, 18:09 GMT


Re: Re: Re: PedroM 68k OS Released
Eugene Talagrand Account Info
(Web Page)

It really is a huge project.
I tried to write a Basic2C translator for the TI83/5 in 1998, and failed, as I couln't finish the CAS parser, didn't have a clue about compilers.
(I wanted to pay off my hours and hours of Basic programming by automatically porting my programs to the PC.)
See my above posts about major problems with this.

Looked again in 2001, got some new ideas, but there are really a lot of details to worry about, and emulating exact behaviour is really hard.

Now that I know something about compilers, I promised myself I would finish this project someday. This summer, maybe?

Another cool use for this would be to write a Java applet that would allow ticalc.org visitors to demo BASIC programs on-site before downloading them.

     13 December 2003, 19:18 GMT

1  2  3  4  5  6  7  8  9  10  

You can change the number of comments per page in Account Preferences.

  Copyright © 1996-2012, the ticalc.org project. All rights reserved. | Contact Us | Disclaimer