Is native Canon BASIC actually used? - Script Writing - CHDK Forum

Is native Canon BASIC actually used?

  • 2 Replies
  • 3683 Views
*

Offline j

  • *
  • 10
Is native Canon BASIC actually used?
« on: 03 / June / 2012, 04:40:13 »
Advertisements
Are Canon cameras programmed with native Canon BASIC?
Does the firmware contain the scripts which could be extracted
and used as examples?
 

Re: Is native Canon BASIC actually used?
« Reply #1 on: 03 / June / 2012, 05:40:34 »
Cameras are programmed in compiled langs, C and assemmbler. AFAIK firmware doesn't contain any scripts, but you can find strings, which are script commands. Canin BASIC is probably used for service.

About Canon BASIC examples and syntax read:
http://chdk.wikia.com/wiki/Canon_Basic

There are links to pdf of the original documentation written by hackers. No Canon documentation is known. Althought it must exist it's owned by Canon itself and it's secret. It would be great to have a spy there;)
if (2*b || !2*b) {
    cout<<question
}

Compile error: poor Yorick

*

Offline reyalp

  • ******
  • 14126
Re: Is native Canon BASIC actually used?
« Reply #2 on: 03 / June / 2012, 15:56:51 »
AFAIK firmware doesn't contain any scripts
Agreed, I've never seen any sign of scripts embedded in the firmware. There are several filenames known to be associated with scripts, extend.m (which we know how to load), factory.m and autotest.m (which we don't know how to load but the names are suggestive) I'd expect Canon basic exists for some combination of development, testing and service.
Don't forget what the H stands for.

 

Related Topics


SimplePortal © 2008-2014, SimplePortal