Author Topic: Base-N type to standard type programs conversion  (Read 3588 times)

0 Members and 1 Guest are viewing this topic.

Offline MPoupe

  • LV4 Regular (Next: 200)
  • ****
  • Posts: 168
  • Rating: +30/-1
  • The coder of yesterday
    • View Profile
    • My web site about Casio calculator
Base-N type to standard type programs conversion
« on: March 12, 2012, 01:08:56 pm »
Hello,
I am not sure if it was discussed before, but it is possible to write basic program in Base-N mode (so the basic language is much more limited, but allowing logical operations with bits) and then convert it to standard program type (without add-in help).
Method:
1. create base-N program (and type all base-N tokens here, like neg,not,xor,xnor,hex,bin,...)
2. go to main menu and select the item allowing to communicate with ea-200 (or ea-100) peripherals (not remember the exact name). There is a sub-menu with program convertor changing COM speed to 38400 bps. Run this conversion on the basic program created in step 1.
3. check this basic program. It will contain commands to open and close COM port and also all previous content. But it is in comp mode:-). So you can use clipboard and test the Base-N tokens in comp mode. Many of the commands do not work, but some (like and/or/xor,...) do

I tested it on fx 9860G SD  and fx cg 20 so I think it will probably work on all fx 9860G types and fx cg 10 too.

Offline Eiyeron

  • Urist McEiyolobster
  • LV10 31337 u53r (Next: 2000)
  • **********
  • Posts: 1430
  • Rating: +130/-10
  • (-_(//));
    • View Profile
    • Rétro-Actif : Rétro/Prog/Blog
Re: Base-N type to standard type programs conversion
« Reply #1 on: March 13, 2012, 02:35:51 pm »
I did it in exporting the progs into .txt files and subtracting the first line :-°

Offline MPoupe

  • LV4 Regular (Next: 200)
  • ****
  • Posts: 168
  • Rating: +30/-1
  • The coder of yesterday
    • View Profile
    • My web site about Casio calculator
Re: Base-N type to standard type programs conversion
« Reply #2 on: April 09, 2012, 07:01:17 am »
BTW: the same way how to "forget" Base-N flag can be also used to "forget" password:-)

Offline helder7

  • LV4 Regular (Next: 200)
  • ****
  • Posts: 185
  • Rating: +33/-1
    • View Profile
Re: Base-N type to standard type programs conversion
« Reply #3 on: April 22, 2012, 11:12:41 am »

Offline Eiyeron

  • Urist McEiyolobster
  • LV10 31337 u53r (Next: 2000)
  • **********
  • Posts: 1430
  • Rating: +130/-10
  • (-_(//));
    • View Profile
    • Rétro-Actif : Rétro/Prog/Blog
Re: Base-N type to standard type programs conversion
« Reply #4 on: April 25, 2012, 05:26:37 am »
ALways wanted, these kinds of utilities! :p