about this blog

Here you can find latest hack progress reports and other raw information.


tags


recent entries   


Donate for GH1 hack project! 

-April 23, 2010

GH1 firmware update research 

-April 19, 2010

GH1 related 

-April 17, 2010

More info on Panasonic 

-April 14, 2010

Panasonic Cameras 

-April 12, 2010


recent comments

for two weeks i have been asking how to use frmcrypt.exe, it loads in win7 ... 

-October 04, 2014

hello I've discovered this site searching for the state-of-the-art about any pentax hack. With the ... 

-May 29, 2013

Just a hunch. The last three digits are 505 for K5, and 504 for ... 

-October 23, 2012

Is there a way to disable dfs on my K7 with v1.11 firmware? 

-February 22, 2012

As a practical matter since you can stuff 100,000 files into a FAT32 file system, ... 

-November 30, 2011


archive

april 2010

march 2010

september 2009

august 2009



topics

General (13)

Dumping (1)

Disassembling (5)

Features (0)


admin*

Thursday, August 6, 2009


22:46



How to turn build in script interpreter
 
You must enable script mode :
 
MODSET.xxx file
[SCRIPT_EN_MODE EN]
 
Make 'AUTORUN.xxx' file (xxx same as in MODSET file) with script inside.
 
Available BASIC keywords
END, EXIT, PAUSE, WAIT,
GOTO, IFGOTO, ALLCLR, CLS,
PRINT, LANGUAGE, COLOR, $ % ( for values )
GOSUB, IFGOSUB , RETURN, IF, ELSE,
WHILE, INTERVAL, CYCLE, FILEOUT, FSEARCH,
TIMERON, TIMEROFF.

Looks like quite full functional BASIC 
You could try "hello world" first.
 
AUTORUN.xxx hello world example
PRINT "Hello World";
EXIT
 
According to first test results, you must turn camera on with MENU button and after firmware version number you'll see your program execution result.
 
Test volunteers are welcome.


General  comments (11)




1 - 1 of 1

COMMENTS


[ Posted by Neil,August 07, 2009 2:25 ]
     The *istD V1.11 autorun is AUTORUN.321, but the MODSET stuff doesn't appear to work. The firmware has the filename MODSET.TXT, but neither that nor MODSET.321 work for me. Hello world works if scripting is enabled, but you don't need to hold the menu button on when turning the camera on. Hello world shows up when you just press the menu button.

[ Posted by Zebooka,August 08, 2009 1:19 ]
     On mine *isdDs, MODSET also doesn't work? (I've tried MODSET.TXT as written in firmware .bin file). Autorun shows Hello world only for a fraction of second, then screen turns-off. Even if there are print commands after first print.

[ Posted by tr13,August 08, 2009 2:01 ]
     *isdDs Firmware is too different. Use PAUSE to wait until any key will be pressed.

[ Posted by Zebooka,August 08, 2009 2:25 ]
     This doesn't work. Only first line of AUTORUN executed. Maybe it's because I have linux line-ends? will try on Windows in few minutes. Still my main desire - enable permanently AF TEST menu on K10D ver.1.30

[ Posted by Zebooka,August 08, 2009 2:32 ]
     Yes. It's true. You need CRLF windows/dos line endings in AUTORUN file. Also I've added ; at the end of each line. Now I'll test all colors available.

[ Posted by Zebooka,August 08, 2009 3:10 ]
     COLOR: 0 - black 1 - blue 2 - green 3 - cyan 4 - red 5 - violet 6 - yellow 7 - white 8 - orange 9 - gray Colors with values larger than 9 are strange, they are all similar, but have different lightness. (upto 269 almost all are green) 10 - dark green 22 - dark red 19 - dark blue ? 30 - very dark green 110,112 - light pink/violet 113 - light orange 125 - light yellow 138 - very dark cyan NOTE: This is for *ist Ds.

[ Posted by KristoVeeR,August 31, 2009 9:02 ]
     What's the autorun file extension for k10d v1.30? I tried .txt .421, and it doesn't work :(

[ Posted by sean,September 30, 2009 1:35 ]
     How to add another text?

[ Posted by tr13,September 30, 2009 10:19 ]
     What do you want to add?

[ Posted by mugabo,January 28, 2010 23:53 ]
     I still dint get it...will the word hello world will flick in the lcd after strart turning on the camera?

[ Posted by mugabo,January 28, 2010 23:55 ]
     So there were 3 file inserted 3 times? btw i have a k10d


Post comment

Your name*

Email address*

Comments*

Verification code*

Comment note

















(c) 2009 Pentax Hacking Community