Jump to content



Photo
- - - - -

Battery consumption


  • Please log in to reply
11 replies to this topic

#1 Brazzucko

Brazzucko

    UCF BASIC Programming Champion

  • Super Member
  • PipPipPipPipPipPip
  • 412 posts

  • Calculators:
    FX 1.0, CFX 9850 GB Plus and FX 9750G

Posted 23 August 2003 - 02:24 PM

:huh: I have asked some time ago about the battery consumption of the calcs.

For what I know the BASIC programs use the calculators CPU at 100%, that means that the battery consumption are extremely high right, so why the same don?t happen whit the AMS/C games and programs.

Why whit the CPU at 100% the BASIC games and programs are slower??

#2 huhn_m

huhn_m

    Casio Maniac

  • [Legends]
  • PipPipPipPipPipPipPipPip
  • 1957 posts
  • Gender:Male
  • Location:Germany / Dresden
  • Interests:Assembler(!!!)
    Computers and Programming
    Operating Systems
    Programmable Calculators
    Maths and everything arround it

  • Calculators:
    FX-82SX / AFX 2.0+ (ROM 1.03) / FX 1.0+ (ROM 1.03)

Posted 23 August 2003 - 03:35 PM

Because the CPU needs a lot of clock cycles.
On asm you can execute arround 400000 Instructions / second (every instruction takes between 2 and 15 clock cycles) and now compare it to the basic files.

on asm you can set the CPU in HALT mode so it does nothing but wait for input.

If you want to do so in Basic you have to loop and this means let the PC work all the time.

But while working the consumption of power is the same (and also with programs that don't have a HALT command.
what I think are most.

#3 betoe

betoe

    UCF Spanish Translator

  • [Legends]
  • PipPipPipPipPipPipPip
  • 846 posts
  • Gender:Male
  • Location:Guadalajara/Mazatlan, Mexico.
  • Interests:Electronics, SW development, automotive. Swim->bike->run

  • Calculators:
    Algebra FX2.0 (R.I.P.), Classpad 300

Posted 23 August 2003 - 07:10 PM

Thats the great advantaje of the assembler. I read that intel's 8086 CPU make .5MIPS (million of instructions per second), a number like the huhn_m mention. In the 80286 this number is 2.5 MIPS.

#4 huhn_m

huhn_m

    Casio Maniac

  • [Legends]
  • PipPipPipPipPipPipPipPip
  • 1957 posts
  • Gender:Male
  • Location:Germany / Dresden
  • Interests:Assembler(!!!)
    Computers and Programming
    Operating Systems
    Programmable Calculators
    Maths and everything arround it

  • Calculators:
    FX-82SX / AFX 2.0+ (ROM 1.03) / FX 1.0+ (ROM 1.03)

Posted 24 August 2003 - 09:49 AM

Yes i read once the AFX makes 4Million instructions / second but each command/instruction takes 2-15 clock cycles
and so i made the number somewhat lower :)

And the 80286 has fewer MIPS and is faster though because of the folowing:

8086:
MOV Al,moffs8 -> 10 Clock cycles

80286:
MOV AL,moffs8 -> 5 Clock cycles

The operations take fewer clock cycles.

#5 betoe

betoe

    UCF Spanish Translator

  • [Legends]
  • PipPipPipPipPipPipPip
  • 846 posts
  • Gender:Male
  • Location:Guadalajara/Mazatlan, Mexico.
  • Interests:Electronics, SW development, automotive. Swim->bike->run

  • Calculators:
    Algebra FX2.0 (R.I.P.), Classpad 300

Posted 24 August 2003 - 02:21 PM

Do you have some documents of the AFX hardware? I have seen some in french websites (but i have a lot of problems with french and the translations of websites like babelfish are too bad). I'm too interested in that...

#6 huhn_m

huhn_m

    Casio Maniac

  • [Legends]
  • PipPipPipPipPipPipPipPip
  • 1957 posts
  • Gender:Male
  • Location:Germany / Dresden
  • Interests:Assembler(!!!)
    Computers and Programming
    Operating Systems
    Programmable Calculators
    Maths and everything arround it

  • Calculators:
    FX-82SX / AFX 2.0+ (ROM 1.03) / FX 1.0+ (ROM 1.03)

Posted 25 August 2003 - 09:07 AM

I have the opcode / instruction table of the processor including a clock cycles table. Do you want it?
I'll either upload it or send it to you via e-mail.

#7 betoe

betoe

    UCF Spanish Translator

  • [Legends]
  • PipPipPipPipPipPipPip
  • 846 posts
  • Gender:Male
  • Location:Guadalajara/Mazatlan, Mexico.
  • Interests:Electronics, SW development, automotive. Swim->bike->run

  • Calculators:
    Algebra FX2.0 (R.I.P.), Classpad 300

Posted 25 August 2003 - 06:19 PM

Yes i want it. :rock:

#8 huhn_m

huhn_m

    Casio Maniac

  • [Legends]
  • PipPipPipPipPipPipPipPip
  • 1957 posts
  • Gender:Male
  • Location:Germany / Dresden
  • Interests:Assembler(!!!)
    Computers and Programming
    Operating Systems
    Programmable Calculators
    Maths and everything arround it

  • Calculators:
    FX-82SX / AFX 2.0+ (ROM 1.03) / FX 1.0+ (ROM 1.03)

Posted 26 August 2003 - 09:16 AM

Everyone can download it

Here

from My site

#9 Brazzucko

Brazzucko

    UCF BASIC Programming Champion

  • Super Member
  • PipPipPipPipPipPip
  • 412 posts

  • Calculators:
    FX 1.0, CFX 9850 GB Plus and FX 9750G

Posted 26 August 2003 - 08:10 PM

:lol: Very cool thanks a lot for that huhn_m, I only get info in French, for me there is no problem I understand it, but for my Brazilian friends that ask me for that info, they don?t understand French?? :)

#10 betoe

betoe

    UCF Spanish Translator

  • [Legends]
  • PipPipPipPipPipPipPip
  • 846 posts
  • Gender:Male
  • Location:Guadalajara/Mazatlan, Mexico.
  • Interests:Electronics, SW development, automotive. Swim->bike->run

  • Calculators:
    Algebra FX2.0 (R.I.P.), Classpad 300

Posted 27 August 2003 - 03:25 PM

The link of huhn_m dont work here... But i search in google "v30inst.pdf" and i find it in this website:

http://shine.sourcef...ets/v30inst.pdf

#11 huhn_m

huhn_m

    Casio Maniac

  • [Legends]
  • PipPipPipPipPipPipPipPip
  • 1957 posts
  • Gender:Male
  • Location:Germany / Dresden
  • Interests:Assembler(!!!)
    Computers and Programming
    Operating Systems
    Programmable Calculators
    Maths and everything arround it

  • Calculators:
    FX-82SX / AFX 2.0+ (ROM 1.03) / FX 1.0+ (ROM 1.03)

Posted 27 August 2003 - 04:14 PM

It works. You only shouldn't click on it.
Right click and select "save as .."
or if the error page appers click in the adresse filed (of your browser) and press enter to reload the url.

Geocities prevents downloads from outside since some time.

PLEASE NOTE: THIS APPLYS TO ALL MY FILES!

#12 betoe

betoe

    UCF Spanish Translator

  • [Legends]
  • PipPipPipPipPipPipPip
  • 846 posts
  • Gender:Male
  • Location:Guadalajara/Mazatlan, Mexico.
  • Interests:Electronics, SW development, automotive. Swim->bike->run

  • Calculators:
    Algebra FX2.0 (R.I.P.), Classpad 300

Posted 27 August 2003 - 04:35 PM

"Right click and select save as .."

You are right huhn_m !


1 user(s) are reading this topic

0 members, 1 guests, 0 anonymous users