shooting script using Canon basic ? - page 8 - General Discussion and Assistance - CHDK Forum supplierdeeply

shooting script using Canon basic ?

  • 73 Replies
  • 34209 Views
*

Offline c_joerg

  • *****
  • 1157
Re: shooting script using Canon basic ?
« Reply #70 on: 18 / October / 2021, 12:50:46 »
Advertisements
On N,N2 LCDMsg_SetStr is same color in play & rec mode.
On M100 and G9xII never seen in play mode…
The colors vary from cam to cam. 19 is a green on M100, N2.
 ;)  The upperst line could be overwritten by Canon OSD.

I found the problem. If there is no picture on the SD card at all, then I cannot see any text in play mode. As soon as there is a picture on the card, I can also see the text.
M100 100a, M3 101a, G9x II (1.00c), 2*G1x (101a,100e), S110 (103a), SX50 (100c), SX230 (101a), S45,
Flickr https://www.flickr.com/photos/136329431@N06/albums
YouTube https://www.youtube.com/channel/UCrTH0tHy9OYTVDzWIvXEMlw/videos?shelf_id=0&view=0&sort=dd

*

Offline Caefix

  • *****
  • 638
  • Sorry, busy deleting test shots...
Re: shooting script using Canon basic ?
« Reply #71 on: 18 / October / 2021, 13:22:17 »
If there is no picture on the SD card at all, then ...
A never expected exception on Your SD-cards... :lol

In short: make sure you don't use a Canon Basic script and CHDK at the same time.
My card with dual boot:
SD-lock open runs CBasic, locked boots CHDK. If the 1st key != "set", CHDK seems undisturbed, else an existing expand.m is executed.
If I use it locked on other cam, it tries to load wrong diskboot.bin...  :-X

Edit2: Tried both together on M100 : How long "wifi" is pressed matters.
Who gets the <ALT> ?? Lucky timing leads to different menues.
At least Cbasic & Ubasic could coexist...  :haha
« Last Edit: 18 / October / 2021, 14:28:59 by Caefix »
All lifetime is a loan from eternity.

*

Offline Caefix

  • *****
  • 638
  • Sorry, busy deleting test shots...
Re: shooting script using Canon basic ?
« Reply #72 on: 20 / October / 2021, 14:08:43 »
Srsa_4c´s great double-script adapted for N2 ...  :xmas
Run extend.m with <wide>, wait until lens opens, switch modes with <wifi> then
the buttons are different, in default to use <on> for "up" and <play> for down to browse the menu. Run entry with <wide>...
Displays also zoomstep && the mysterious DIM PROPCASE_SUBJECT_DIST2=70 ...
All lifetime is a loan from eternity.

*

Offline Caefix

  • *****
  • 638
  • Sorry, busy deleting test shots...
Re: shooting script using Canon basic ?
« Reply #73 on: 21 / October / 2021, 14:30:40 »
... and for Sx600hs.  :xmas
Quote
// Camera info:
//   DRYOS R54 (DRYOS version 2.3, release #0054+p3)
//   Firmware Ver GM1.00F   // Found @ 0xff0a50f4, "GM1.00F" @ 0xff0a5101
//   Firmware build timestamp: Jul 14 2014 08:40:45
//   Canon PowerShot SX600 HS
//   PLATFORMID = 12934# (0x3286) Found @ 0xfff40040
// Port's propset (7) may be set incorrectly
(If == PS7) SD2==0!, SD1=GetZoomLensCurrentPoint()
Code: [Select]
public sub get_zoom(buf)
'    tmp = lens_get_zoom_point() ==> ASSERT!! EvntProc.c Line 222'
    tmp = GetZoomLensCurrentPoint()
        *buf = tmp
end sub
Edit: Replaced PS7 table in camspec*.m with PS6´s. Now sd1=sd2. Seems Propset 6.

Edit2: Tried every button on Ix500hs & E1. Either crashing or not switching.  :(
Seems to need "Wifi" or PressMySmaphoButton.
The script.c Assert is some syntax error like
Code: [Select]
    *set = 0x0000085E:PressSetButton
    system.create w/o ()
    dim x=1 -- Lua comment
    call_event_proc('GetCameraInformationData') ' is comment, not string.

This together gives a loong beep if bug in LoadScript(CAM) before Script.c Assert...

public sub camspec_init()
        BeepDrive(3) ' Loaded fine beep.'
end sub
« Last Edit: 22 / October / 2021, 16:31:07 by Caefix »
All lifetime is a loan from eternity.


 

Related Topics