1

I'm trying to get GTC (the C compiler) working on TiEmu with PedroM 0.83 - not sure if it's a supported setup to begin with, but I really want to get some sort of bare-bones low-power machine with a basic shell and a C compiler for self-contained hackability...

So, per GTC docs, I'm trying to send a bunch of *.9x? files, using "Send Files" command in TiEmu's context menu. All of the files upload fine, except for gtc.9xk. When it gets to it, the transfer dialog shows no progress happening, and the emulated calculator seems to hang for a while. Eventually, TiEmu displays the following error message:

"Msg: timeout occurred while writing to the device. Cause: check that link cable is plugged and/or the calculator is ready"

and inside the emulator, I see an error dialog box:

"Link: VAR?"

So I'm assuming that I'm missing some step on the calculator side of things... but what is it?

Or is it just not a supported app type?
avatar

2

*.9xk files are Flash-Apps. It's a feature of the AMS (the official official OS of the Ti68k calculators) that is not supported by Pedrom. Flash-Apps are signed applications that run from flash memory while usual applications are copied in RAM before running.

It seam to me that Pedrom support some kind of execution in flash but not the same way as AMS. If i recall correctly there used to be an unofficial version of GTC that runs on Pedrom, but it was never made publicly available.
avatar

3

Folco a été invité sur ce sujet.
avatar
Proud to be CAKE©®™


GCC4TI importe qui a problème en Autriche, pour l'UE plus et une encore de correspours nucléaire, ce n'est pas ytre d'instérier. L'état très même contraire, toujours reconstruire un pouvoir une choyer d'aucrée de compris le plus mite de genre, ce n'est pas moins)
Stalin est l'élection de la langie.

4

Nothing to add for the Flash-Apps under PedroM, Uther said all.
Uther (./2) :
It seam to me that Pedrom support some kind of execution in flash but not the same way as AMS.
Indeed, executables may be run from the flash if their read-only flag is set (in the kernel stub).

5

Ah, I see; thank you!

I apologize in advance for potentially silly questions - I have literally got my Ti-92+ yesterday, and poking my fingers in all the holes without knowing too much about what's going on... smile

Now, I've tried to read up on what flash apps are, and how they're different from normal apps. Searching around gave me a lot of info, but nothing basic explaining what flash apps _are_, to begin with, and how they're different from the other kind. Can you suggest any reading material on that subject?

I have also found some threads that seems to indicate that flash apps are generally considered to not be the best choice in Ti 68k ecosystem - presumably because assembler apps are readily available, and size limits are easy to defeat. E.g.:

https://www.cemetech.net/forum/viewtopic.php?t=11291

This makes me wonder why GTC is a flash app to begin with, and whether it could be recompiled to be the other kind. However, there was this said in that thread:

"They execute from Flash, so they take less RAM when they're executing."

I wonder if that is the main reason why GTC is a flash app? 100Kb would be significant savings on a system where it's more than half of all available RAM...

If so, perhaps it might be possible to reduce the size by splitting each processing stage (e.g. lexing, parsing, optimizations, codegen, linking etc) into a separate app, and passing intermediate results between them?
avatar

6

Also, a largely unrelated side note, for the benefit of those who might stumble onto this thread via Google. There are a lot of places on the Net (including GTC's own docs! e.g. the "download some examples link") where the URL for GTC is specified thus:

http://gtc.ti-fr.com

If you try to open that, it doesn't work - there's a redirect to https://3l33t.ti-fr.com/, which will require login & password.

The URL that works is http://www.ti-fr.com/pollux/
avatar

7

vince has been invited on this topic.

8

Thanks for the reporting : I will fix redirection
avatar
Webmaster du site Ti-FRv3 (et aussi de DevLynx)
Si moins de monde enculait le système, alors celui ci aurait plus de mal à nous sortir de si grosses merdes !
"L'erreur humaine est humaine"©Nil (2006) // topics/6238-moved-jamais-jaurais-pense-faire-ca