Author Topic: Lowercase toggle ASM program ported to the 84C  (Read 4061 times)

0 Members and 1 Guest are viewing this topic.

Offline Adriweb

  • Editor
  • LV10 31337 u53r (Next: 2000)
  • **********
  • Posts: 1708
  • Rating: +229/-17
    • View Profile
    • TI-Planet.org
Lowercase toggle ASM program ported to the 84C
« on: February 21, 2013, 09:05:12 am »
Hi,

Looking at the famous code to toggle lowercase typing on the 83/84, I looked up the new address + offset (got lucky that it's still the same on the 84C) and successfully ported the one line program :-)
(Old code : 21148A3E08AE77C9    New one : 214A8B3E08AE77C9  )



( http://i.imgur.com/x7TEDlE.png )

So, run it once to be able to double-tap the [Alpha] key to switch to lowercase, and run it again to disable it.


Needless to say, porting something for a device I don't even have (yet? :P) in a language I know pretty much nothing about, I feel proud (and it's my first asm prgm :P) x)

Thanks to Brandon for WikiTI, DrDnar for the 84C include file, FloppusMaximus for the original code, Runner112 for the z80 bot, and KermM for the emu ;)



Download: http://tiplanet.org/forum/archives_voir.php?id=11342


( Source : http://tiplanet.org/forum/viewtopic.php?f=12&t=11294&lang=en )
« Last Edit: February 21, 2013, 09:07:40 am by adriweb »
My calculator programs
TI-Planet.org co-admin.
TI-Nspire Lua programming : Tutorials  |  API Documentation

Offline Matrefeytontias

  • Axe roxxor (kinda)
  • LV10 31337 u53r (Next: 2000)
  • **********
  • Posts: 1982
  • Rating: +310/-12
  • Axe roxxor
    • View Profile
    • RMV Pixel Engineers
Re: Lowercase toggle ASM program ported to the 84C
« Reply #1 on: February 21, 2013, 09:22:31 am »
Congrats for your first program ;D

Also, I don't think the binary will be much of help regarding how few people there are that will be able to use it (we can count it with two hands - or even one).

Offline DJ Omnimaga

  • Clacualters are teh gr33t
  • CoT Emeritus
  • LV15 Omnimagician (Next: --)
  • *
  • Posts: 55943
  • Rating: +3154/-232
  • CodeWalrus founder & retired Omnimaga founder
    • View Profile
    • Dream of Omnimaga Music
Re: Lowercase toggle ASM program ported to the 84C
« Reply #2 on: February 21, 2013, 09:23:46 am »
Awesome work Adriweb. Glad to see that programs can be ported quite easily in general and this might be handy for us BASIC coders (although Français app will most likely do it by default, it can be annoying to have to access the Caractères menu everytime just to type lowercase). :)

You should put it on ticalc.org as well, though, since otherwise everyone there will just do "clones" of those programs like there are already for older models. :P

Offline Spyro543

  • LV9 Veteran (Next: 1337)
  • *********
  • Posts: 1189
  • Rating: +74/-3
    • View Profile
Re: Lowercase toggle ASM program ported to the 84C
« Reply #3 on: February 21, 2013, 09:25:31 am »
I never quite understood why TI added lowercase support to their calcs, but made it so most normal users can't enable it.

Offline Adriweb

  • Editor
  • LV10 31337 u53r (Next: 2000)
  • **********
  • Posts: 1708
  • Rating: +229/-17
    • View Profile
    • TI-Planet.org
Re: Lowercase toggle ASM program ported to the 84C
« Reply #4 on: February 21, 2013, 09:35:38 am »
Thanks :D

Also, maybe it is not to confuse users with lowercase chars not being usable variables ?
My calculator programs
TI-Planet.org co-admin.
TI-Nspire Lua programming : Tutorials  |  API Documentation

Offline Matrefeytontias

  • Axe roxxor (kinda)
  • LV10 31337 u53r (Next: 2000)
  • **********
  • Posts: 1982
  • Rating: +310/-12
  • Axe roxxor
    • View Profile
    • RMV Pixel Engineers
Re: Lowercase toggle ASM program ported to the 84C
« Reply #5 on: February 21, 2013, 10:13:57 am »
@Spyro mostly for being able to use them is the menus I think.

Offline Hayleia

  • Programming Absol
  • Coder Of Tomorrow
  • LV12 Extreme Poster (Next: 5000)
  • ************
  • Posts: 3367
  • Rating: +393/-7
    • View Profile
Re: Lowercase toggle ASM program ported to the 84C
« Reply #6 on: February 21, 2013, 12:27:26 pm »
I never quite understood why TI added lowercase support to their calcs, but made it so most normal users can't enable it.
In fact, they "made" it so most normal users can use it since they are enabled by default when you buy a calc (at least they were enabled when I bought my calc, without me installing anything). But one RAM Clear disables it, and this is where TI was stupid, forgetting to put a way to enable them back, hence why programmers need a way to reenable it.
I own: 83+ ; 84+SE ; 76.fr ; CX CAS ; Prizm ; 84+CSE
Sorry if I answer with something that seems unrelated, English is not my primary language and I might not have understood well. Sorry if I make English mistakes too.

click here to know where you got your last +1s

Offline DJ Omnimaga

  • Clacualters are teh gr33t
  • CoT Emeritus
  • LV15 Omnimagician (Next: --)
  • *
  • Posts: 55943
  • Rating: +3154/-232
  • CodeWalrus founder & retired Omnimaga founder
    • View Profile
    • Dream of Omnimaga Music
Re: Lowercase toggle ASM program ported to the 84C
« Reply #7 on: March 09, 2013, 09:32:57 pm »
I never quite understood why TI added lowercase support to their calcs, but made it so most normal users can't enable it.
Lowercase letters takes 2 bytes of RAM instead of 1. Letting people use them by default would cause many complains from users running out of RAM very quickly.