fujifilm finepix s series - page 12 - Non-CANON cameras development - CHDK Forum

fujifilm finepix s series

  • 113 Replies
  • 96852 Views
*

Offline SX720

  • *
  • 43
Re: fujifilm finepix s series
« Reply #110 on: 14 / September / 2020, 02:20:09 »
Advertisements
Some of the information in this thread also applies to the HP Photosmart M525 since the OEM or chip manufacturer is the same. I'm not sure of the exact connection.

Here is something I figured out we already knew about FOREIGN and SYSTEM function calls but there is a third type: "direct" (no keyword) function calls. If you get anything wrong you will have to take the batteries out. This makes testing very slow. It would be nice if there were a way to figure out how many parameters each function takes and what the type should be (Ex: int, string, bool).

For example here is a script that should in theory disable de-noising (runs but not sure what effect it has)
Code: [Select]
10 IRP_SetDenoiseTH(0)
20 IRP_NoDenoiseFun()
30 IRP_NoCbCrAverageFun()
RUN

Code: [Select]
10 IRP_SetSaveCFARaw()
RUN

If I run this it saves a 10-bit raw. Sadly it's already somewhat processed and it's not the 12-bit RAWs that I want.

Code: [Select]
10 SYSTEM ScreenString(10, 10, "Test")
RUN
This displays the string "Test" on the screen but when I ran it I saw garbage characters after it.

Code: [Select]
10 FOREIGN DownloadAllCaliData()
RUN
It created a file called "DownloadCali.txt" on the root directory.

Code: [Select]
10 FOREIGN KeyFlash(1)
Works, it opens the normal flash settings just as if I had pressed the button

Code: [Select]
10 IRP_SaveNocompressImg()
RUN
Displays Save YCC444 before JPEG. It saved an image just like expected.

Code: [Select]
10 KeyScan()
RUN
Works, press all keys and it will tell you that the test was a success. S1 = half press shutter, S2 = full press I believe.

I have not been able to get into any hidden menus yet.

*

Offline Caefix

  • *****
  • 948
  • Sorry, busy deleting test shots...
« Last Edit: 15 / September / 2020, 15:04:14 by Caefix »
All lifetime is a loan from eternity.

*

Offline SX720

  • *
  • 43
Re: fujifilm finepix s series
« Reply #112 on: 16 / September / 2020, 21:18:13 »
I haven't tested that. I don't know if the BASIC interpreter accepts backslash escapes.

The menus are competently different so the instructions you linked don't work.

*

Offline Caefix

  • *****
  • 948
  • Sorry, busy deleting test shots...
Re: fujifilm finepix s series
« Reply #113 on: 25 / September / 2020, 15:49:10 »
:) Got a S4500 today, buggy sensor :( , but good enough to play...  ;)
Found out so far:
Needs folder /Batch in root,
File Batch/BatchScript.txt with line poem
Script poem.srt , NOT poem.srt.txt !!
Code: [Select]
1 SYSTEM delay_us(1000000)
2 SYSTEM ScreenString(1, 144,  ":....:...1....;....2....;....3.")
5 SYSTEM delay_us(1000000)
10 SYSTEM ScreenString(1, 24,  "The Universe is missing a Byte")
15 SYSTEM delay_us(1000000)
20 SYSTEM ScreenString(244, 44, "Where is it-                  ")
25 SYSTEM delay_us(1000000)
30 SYSTEM ScreenString(288, 64, "tell me-                      ")
35 SYSTEM delay_us(1000000)
40 SYSTEM ScreenString(204, 84, "is it on site?")
45 SYSTEM delay_us(1000000)
50 SYSTEM ScreenString( 1, 144, ":....:...1....;....2....;....3..")
51 SYSTEM delay_us(1000000)
52 SYSTEM ScreenString(244, 44, "WHERE IS IT-   ")
62 SYSTEM delay_us(1000000)
65 SYSTEM ScreenString( 24, 124,"%4d+-*/<^>\0$@#&_'[]{1x}")
90 SYSTEM delay_us(1000000))
95 SYSTEM ScreenString(204, 164, "   ")
100 END
RUN

rem ScreenString(124, 124,"(),=") forbidden chars, ==>> Crash.
rem fill line with spaces to avoid garbage
All lifetime is a loan from eternity.

 

Related Topics


SimplePortal © 2008-2014, SimplePortal