Alternatively, join us on Discord.
You can help CodeWalrus stay online by donating here.

Getting started with TI-84 Plus CE Programming [ASM] [ICE] [BASIC] [emulator]

Started by DJ Omnimaga, March 25, 2015, 10:36:41 PM

Previous topic - Next topic

0 Members and 1 Guest are viewing this topic.

Snektron

When there is an emulator available, i will centrainly try my hand at coding :)
  • Calculators owned: TI-84+
Legends say if you spam more than DJ Omnimaga, you will become a walrus...


DJ Omnimaga

Does it mean that if no emulator ever comes out (which is a possibility, considering that's what happened with the Casio fx-CG20), 84+CE development will be almost dead or sparse like HP/Casio dev? It would be a shame if that new calc never took off because of that >.<

Perhaps there could be some collab thing setup for trusted community members where people can submit their programs for testing, and there could be volunteer 84+CE owners to beta-test them to see if bugs are fixed? That wouldn't be ideal but it would be better than nothing. Plus TI-Planet C compiler features group projects.
  • Calculators owned: TI-84 Plus C Silver Edition, TI-84 Plus CE, Casio fx-CG10, HP Prime, fx 1.0 Plus, fx-7400G Plus, fx-9750G Plus, fx-9860G, HP 39gII
  • Consoles, mobile devices and vintage computers owned: Huawei P30 Lite

Lionel Debroux

I'm positive that there shall be at least one emulator for the TI-eZ80 series :)
Technically, the eZ80 isn't that much more complex than the Z80 is, and it's definitely much simpler than most other ISAs from the 2-3 last decades. Likewise, the devices integrated into the ASIC can be emulated, they're simpler than various devices emulated by e.g. QEMU.
Emulating the USB controller faithfully enough shall be a departure from past TI-Z80 emulators, but there's no alternative: the TI-eZ80 series doesn't have a legacy I/O port. TI-Z80 emulators would also have to bite the bullet of implementing emulation of the older USB controller, if faithful emulation of the 82A became a goal.
Member of the TI-Chess Team.
Co-maintainer of GCC4TI (GCC4TI online documentation), TIEmu and TILP.
Co-admin of TI-Planet.

DJ Omnimaga

November 26, 2015, 07:07:13 PM #108 Last Edit: November 26, 2015, 07:11:43 PM by DJ Omnimaga
I hope, because people hoped for a FX-CG20 emulator when it came out and 5 years later, still none from the community, and while the ez80 isn't that much complex to emulate than the z80, what about the various protections from TI, such as the RSA keys? Also would the lack of an I/O port prevents such emulator from having the ability to receive files by drag-n-drop for the few years it would take to figure out how the USB controller works?

I don't want to pressurize anyone to make such emu, but from what I could gather on CodeWalrus, an TI-84+CE emulator is a prerequisite to convince our members to adopt the TI-84+CE as a development platform, even in TI-BASIC, and remember what happened with the PRIZM a few years after it became clear that no community emulator would ever come out: Game development for that platform came to a nearly complete halt. Could an existing base be used for the emulator, such as z80e, WabbitEmu or TilEm, for temporary purposes? TI-Smartview isn't an option since it doesn't emulate undocumented stuff, and jsTIfied is closed-source, so only its main author can update it and that's if a CE update is still being considered.


Also, is it even possible right now to dump a ROM from a CE?
  • Calculators owned: TI-84 Plus C Silver Edition, TI-84 Plus CE, Casio fx-CG10, HP Prime, fx 1.0 Plus, fx-7400G Plus, fx-9750G Plus, fx-9860G, HP 39gII
  • Consoles, mobile devices and vintage computers owned: Huawei P30 Lite

Adriweb

Even if an emu doesn't emulate USB at first, I suppose that it could, until it's properly figured out, mess with the RAM directly, but that's quite hacky, so the earliest USB is understood, the better.
  • Calculators owned: TI-Nspire CX CAS, TI-Nspire CX, TI-Nspire CAS (x3), TI-Nspire (x2), TI-Nspire CM-C CAS, TI-Nspire CAS+, TI-80, TI-82 Stats.fr, TI-82 Plus, TI-83 Plus, TI-83 Plus.fr USB, TI-84+, TI-84+ Pocket SE, TI-84+ C Silver Edition, TI-84 Plus CE, TI-89 Titanium, TI-86, TI-Voyage 200, TI-Collège Plus, TI-Collège Plus Solaire, 3 HP, some Casios
Co-founder & co-administrator of TI-Planet and Inspired-Lua

DJ Omnimaga

That could probably work. I think that'S what WabbitEmu does, right? What about the Flash? IIRC with Wabbitemu the main problem is that sending APPS was a PITA, often requiring restarts because the apps menu would remain empty. But regular files seemed to send fine overall. It would be better than nothing, since there is no community app for the CE anyway.


It's kind of a shame that the future of CodeWalrus, Cemetech and TI-Planet ez80 ASM/BASIC/C programming community depends entirely on the release of an emulator, though (judging by the abysmal amount of CE releases compared to when the CSE came out). I kinda wish that people would just get the calc and test on-calc, like everyone did with the TI-82, 85 and 92 back in the days. I personally made First Fantasy: Mana Force CE entirely on-calc and only used an emu for screenshots.
  • Calculators owned: TI-84 Plus C Silver Edition, TI-84 Plus CE, Casio fx-CG10, HP Prime, fx 1.0 Plus, fx-7400G Plus, fx-9750G Plus, fx-9860G, HP 39gII
  • Consoles, mobile devices and vintage computers owned: Huawei P30 Lite

DJ Omnimaga

From https://www.cemetech.net/forum/viewtopic.php?p=242220#242220

It looks like programs that uses xLIBC in half-resolution mode, as well as Celtic 2 CSE, will be supported. Basically, FF:MF CSE, which abused half-res mode, would not be supported, but there is already a CE Textlib version of the game out anyway. But if DCE 9 works out and that Kerm doesn't get hit by roadblocks during development (or real life), then that is great news for xLIBC users, since that would mean that not many modifications have to be made to your games to run on the CE (I assume most modifications will involve slowing down the game :P)
  • Calculators owned: TI-84 Plus C Silver Edition, TI-84 Plus CE, Casio fx-CG10, HP Prime, fx 1.0 Plus, fx-7400G Plus, fx-9750G Plus, fx-9860G, HP 39gII
  • Consoles, mobile devices and vintage computers owned: Huawei P30 Lite

DJ Omnimaga

I wonder if this could run fast enough on the TI-84 Plus CE in 8 bits mode (or lower, if available)? http://www.ticalc.org/archives/files/fileinfo/333/33316.html

Here is the source code: http://www.ticalc.org/archives/files/fileinfo/409/40992.html

From what I remember in 2004, the camera capture of the second animated GIF was speed up, while the emulator one was not, and this was before the TI-89 Titanium came out, meaning that the max speed showcased was 12 MHz.

The TI-84 Plus CE can go up to 48 MHz, right? I wonder if this could be ported to the CE and possibly at an higher resolution (or doubled-pixels) without massive slowdowns?


This engine could be handy for a port of Big Rigs: Over the Road Racing :trollface:
  • Calculators owned: TI-84 Plus C Silver Edition, TI-84 Plus CE, Casio fx-CG10, HP Prime, fx 1.0 Plus, fx-7400G Plus, fx-9750G Plus, fx-9860G, HP 39gII
  • Consoles, mobile devices and vintage computers owned: Huawei P30 Lite

DJ Omnimaga

Does anyone remember how much RAM does the CE has? I know it has 150 KB of user RAM, but I forgot how much in total it has (eg 256, 512, etc)
  • Calculators owned: TI-84 Plus C Silver Edition, TI-84 Plus CE, Casio fx-CG10, HP Prime, fx 1.0 Plus, fx-7400G Plus, fx-9750G Plus, fx-9860G, HP 39gII
  • Consoles, mobile devices and vintage computers owned: Huawei P30 Lite

MateoConLechuga

The CE has 256Kb of available ram, plus 150Kb of video ram. Hope this helps! :)

DJ Omnimaga

Ok thanks for the info, and I didn't know its video memory was separate. :)
  • Calculators owned: TI-84 Plus C Silver Edition, TI-84 Plus CE, Casio fx-CG10, HP Prime, fx 1.0 Plus, fx-7400G Plus, fx-9750G Plus, fx-9860G, HP 39gII
  • Consoles, mobile devices and vintage computers owned: Huawei P30 Lite

MateoConLechuga

Quote from: DJ Omnimaga on February 24, 2016, 12:26:37 AM
Ok thanks for the info, and I didn't know its video memory was separate. :)
It's actually not known if it *is* separate, (I personally believe that they just encoded it on the same die), but you never know :)

DJ Omnimaga

Oh ok. TO be honest I was surprised and I think it might be part of the same chip, but still memory-mapped display. Perhaps it's a chip combo?
  • Calculators owned: TI-84 Plus C Silver Edition, TI-84 Plus CE, Casio fx-CG10, HP Prime, fx 1.0 Plus, fx-7400G Plus, fx-9750G Plus, fx-9860G, HP 39gII
  • Consoles, mobile devices and vintage computers owned: Huawei P30 Lite

DJ Omnimaga

There is a new BASIC lib that recently came out here: https://tiplanet.org/forum/archives_voir.php?id=510643 (original topic: https://tiplanet.org/forum/viewtopic.php?f=12&t=18327 )

It displays 10x10 sprites (you can store 5 sprites at a time) one by one. I am trying to convince the author to implement the ability to chain sprites (eg display multiple ones in one command, like CE Textlib can do with rectangles and other stuff) and zoomed sprites display (eg  2x, 3x, 4x, etc, via a 4th argument). If that got implemented, then this lib could be a good alternative for hybrid BASIC programmers since DCE9 isn't out yet.
  • Calculators owned: TI-84 Plus C Silver Edition, TI-84 Plus CE, Casio fx-CG10, HP Prime, fx 1.0 Plus, fx-7400G Plus, fx-9750G Plus, fx-9860G, HP 39gII
  • Consoles, mobile devices and vintage computers owned: Huawei P30 Lite

DJ Omnimaga

This isn't really big news and perhaps not related to TI-84 Plus CE programming, but TI just posted a picture of TI-84 Plus CE calculators still in production at a factory:

https://twitter.com/AroundTI/status/732597838543216640


I do not know if that is the assembling process or if the flashing process is separate, and I don't know if they flash calculators with OSes in a different building or not, but it's still interesting from them to show this to us :)

https://tiplanet.org/forum/viewtopic.php?f=41&t=18398
  • Calculators owned: TI-84 Plus C Silver Edition, TI-84 Plus CE, Casio fx-CG10, HP Prime, fx 1.0 Plus, fx-7400G Plus, fx-9750G Plus, fx-9860G, HP 39gII
  • Consoles, mobile devices and vintage computers owned: Huawei P30 Lite

Powered by EzPortal