0 Members and 3 Guests are viewing this topic.
Is there any way to write flash apps for the 68k calcs anymore, without using TI's Flash Studio?
I'd have put this in either the ASM or C forums, but I'm not sure what language apps on 68k calcs are written in.
Microsoft JVM is not available directly from Microsoft, but I found it on a third party website and I got TI Flash Studio working . I have never really tried to make a flash app for a 68k calc, but I have always wondered if this was possible. TI Flash Studio does not use the same syntax as TIGCC/GCC4TI so I can not copy and paste code to it, but I think I did make a small app once when I first got TI Flash Studio working that cleared the screen or something. If I am not mistaken, TI Flash Studio allows you to write flash apps in C.EDIT: You should be able to download Microsoft JVM from one of the links on this website: http://java-virtual-machine.net/download.html. I think it is the site I used.
QuoteIs there any way to write flash apps for the 68k calcs anymore, without using TI's Flash Studio?Well, no. The only decent use case for TIFS is indeed FlashApps. But then you have to withstand the crappy C compiler which understands only an old dialect of C and generates bad code.For what purpose would you like to write a FlashApp ? Better system integration ?
QuoteI'd have put this in either the ASM or C forums, but I'm not sure what language apps on 68k calcs are written in.As apcalc wrote, usually C. I'm not aware of full-ASM FlashApps. Some bits, such as the declaration of frames and string frames, may need to be in C.
Okay, which brings me to question 2: would it work on Windows 7? The site doesn't list 7, but it does list Vista, and I assume it could be out of date.
To be honest, I'm not sure, which brings me to question 3: are there any advantages to writing 68k programs in flash apps, rather than normal programs?
QuoteTo be honest, I'm not sure, which brings me to question 3: are there any advantages to writing 68k programs in flash apps, rather than normal programs?There are some advantages, indeed, but mostly for uncommon use cases, e.g.:* deeper system integration, such as Greg Dietsche's SuperStart program decompressor & launcher. ASM programs would have to resort to event hooks;* programs > 64 KB large. That said, those are pretty easy as well for ASM programs if relying on HW3Patch on all models (it's almost necessary for daily use of 89T calculators anyway; the production of the 89 and 92+ stopped long ago);* FlashApps execute from Flash, so they don't need to take RAM for their own code, unlike ASM programs. That said, it's pretty hard to make a program that uses the entire RAM, the only example that comes to my mind is the Chrono Fantasy masterpiece.Downsides of TIFS / FlashApps, including but not limited to:* the crappy compiler, and the less efficient instructions used to read RAM from Flash memory;* the smaller set of programmer-accessible functions, focused on higher-level things;* no way to use the large set of external libraries designed for TIGCC/GCC4TI ASM programs, you're limited to what the OS proposes (and performance suffers because AMS's graphical functions are slow) or you have to make the new code yourself...* TIGCC's documentation is much more complete (especially about low-level aspects) than that of TIFS, and GCC4TI's documentation is a superset of TIGCC's;* FlashApps consume RAM permanently, for their own data (.data and .bss sections, where they store writable stuff). Many apps use several dozens of bytes, but several apps take up more than 1 KB (granted, the PreOS "kernel" consumes much more than 1 KB, but it yields more advanced functionality that ASM programs can build on, though almost nobody does nowadays);(* compatibility with AMS 2.05 and later only, while many ASM programs happily run on AMS 1.01 92+ / AMS 1.00 89 - but nowadays, this is a weak argument, as AMS 2.05 was released in 2000)Pretty much anybody in the community will tell you that you should make ASM programs, hands down. Except maybe if you have a specific use case that is better fulfilled with a FlashApp.In all fairness, I should mention that the damage of TI's crappy compiler can be mitigated by compiling chunks with TIGCC/GCC4TI and somehow integrating them in the FlashApp. The only FlashApp doing this (that I know) is the GTC on-calc C compiler / ASM assembler FlashApp (which is a FlashApp because it contains > 64 KB of code and because the process of compiling with decent optimization requires significant amounts of RAM, so it had better run from Flash). But obviously, it's more complicated...
I think the reason why Flash APPs are more popular on z80 calcs is because of their even more limited memory and the 8 KB code limit present on the 83+/84+. The disadvantage of flash apps, though, is that they can take a long while to transfer to the calc and they disallows self-modifying code. On 68K calcs, you have a lot of RAM so you don't need to rely on APPs as much.As for the 68k community, one thing that could maybe be done is attempt at setting up a main hub forum for the 68k programmers and it would have a spiral effect in terms of activity increase, as people would join due to the higher activity. The problem, though, is that TI-Freakware tried to do that a few years ago and despite the absence of troublemakers on their board, it still didn't work. From experience, I also remember that some 68K C programmers were rather narrow-minded about BASIC programmers, so if Omnimaga managed to attract 68K coders again, I am a bit worried that it would clash between z80 BASIC/Axe+68K/Nspire BASIC programmers and 68K ASM/C programmers, like I've seen happen before when I ran into 68k coders. One example would be the reply to the first comment on this page: http://www.ticalc.org/archives/news/articles/13/139/139347.html That said, there are so many BASIC/Axe programmers and open-minded people right now on Omni that if someone came and caused trouble, he would get most of the community against himself.
For Nspire dev, it will depend of how TI behaves, I think (and if Ndless 2 comes out)
Having seen how NewProg got its own section like BBC Basic, I assume it is an interpreted language, though. The fact people most likely need the NewProg APP on their calc to run games made with it probably doesn't help. I think the 68k scene kinda died, though, but unlike the z80 scene, in 2009 and 2010, it did not pick up again.