Register Guidelines E-Books Today's Posts Search

Go Back   MobileRead Forums > E-Book Readers > Sony Reader > Sony Reader Dev Corner

Notices

Reply
 
Thread Tools Search this Thread
Old 02-27-2011, 10:20 AM   #1681
kartu
PRS+ author
kartu ought to be getting tired of karma fortunes by now.kartu ought to be getting tired of karma fortunes by now.kartu ought to be getting tired of karma fortunes by now.kartu ought to be getting tired of karma fortunes by now.kartu ought to be getting tired of karma fortunes by now.kartu ought to be getting tired of karma fortunes by now.kartu ought to be getting tired of karma fortunes by now.kartu ought to be getting tired of karma fortunes by now.kartu ought to be getting tired of karma fortunes by now.kartu ought to be getting tired of karma fortunes by now.kartu ought to be getting tired of karma fortunes by now.
 
Posts: 1,637
Karma: 2446233
Join Date: Dec 2007
Device: Sony PRS-300, 505, 600, 650, 950
Quote:
Originally Posted by Mark Nord View Post
Analysis of rotation functions and patched versions of ebook.so attached.
Patches are applied atop of num-hold, kUp-hold respectively.

doRotate (hold magnifier) now rotates the screen thru all four (4) possible states,
Joypad Up/Down Left/Right will be toggled via kOrientation, but with flipped and right rotated screen Up/Down action isn't reversed, so button action is opposite to reaction on screen.

If you want to use LD_PRELOAD you have at least to rewrite ebookEinkDoRotate ()

Tested with 1.4.00.23260
Mark, is there a file for 600 model?
kartu is offline   Reply With Quote
Old 02-27-2011, 02:13 PM   #1682
Mark Nord
2B || !2B
Mark Nord ought to be getting tired of karma fortunes by now.Mark Nord ought to be getting tired of karma fortunes by now.Mark Nord ought to be getting tired of karma fortunes by now.Mark Nord ought to be getting tired of karma fortunes by now.Mark Nord ought to be getting tired of karma fortunes by now.Mark Nord ought to be getting tired of karma fortunes by now.Mark Nord ought to be getting tired of karma fortunes by now.Mark Nord ought to be getting tired of karma fortunes by now.Mark Nord ought to be getting tired of karma fortunes by now.Mark Nord ought to be getting tired of karma fortunes by now.Mark Nord ought to be getting tired of karma fortunes by now.
 
Posts: 854
Karma: 327896
Join Date: Feb 2010
Location: Austria
Device: Sony PRS505/650/T1/tolino vision 5
Kartu, not at the moment.
(Thought that it was done in boroda or amutin FW via JS, but can't find a reference now)

A quick check of the disassemblies shows that the 3 functions (eBook_rotate, ebookEinkDoRotate and ebookSubcpuDoRotate) are implementd in a different way for the 600 as for the 300/505.

The op-code is optimized, so there is not much space for patching.
Mark Nord is offline   Reply With Quote
Advert
Old 02-27-2011, 02:18 PM   #1683
kartu
PRS+ author
kartu ought to be getting tired of karma fortunes by now.kartu ought to be getting tired of karma fortunes by now.kartu ought to be getting tired of karma fortunes by now.kartu ought to be getting tired of karma fortunes by now.kartu ought to be getting tired of karma fortunes by now.kartu ought to be getting tired of karma fortunes by now.kartu ought to be getting tired of karma fortunes by now.kartu ought to be getting tired of karma fortunes by now.kartu ought to be getting tired of karma fortunes by now.kartu ought to be getting tired of karma fortunes by now.kartu ought to be getting tired of karma fortunes by now.
 
Posts: 1,637
Karma: 2446233
Join Date: Dec 2007
Device: Sony PRS-300, 505, 600, 650, 950
Mark, all combinations of rotations are done via JS only on x50s.
I've tried to do doRotate 600 the same way, but it simply ignores params and toggles betwen 0 and 90 degrees.
kartu is offline   Reply With Quote
Old 02-27-2011, 02:49 PM   #1684
Mark Nord
2B || !2B
Mark Nord ought to be getting tired of karma fortunes by now.Mark Nord ought to be getting tired of karma fortunes by now.Mark Nord ought to be getting tired of karma fortunes by now.Mark Nord ought to be getting tired of karma fortunes by now.Mark Nord ought to be getting tired of karma fortunes by now.Mark Nord ought to be getting tired of karma fortunes by now.Mark Nord ought to be getting tired of karma fortunes by now.Mark Nord ought to be getting tired of karma fortunes by now.Mark Nord ought to be getting tired of karma fortunes by now.Mark Nord ought to be getting tired of karma fortunes by now.Mark Nord ought to be getting tired of karma fortunes by now.
 
Posts: 854
Karma: 327896
Join Date: Feb 2010
Location: Austria
Device: Sony PRS505/650/T1/tolino vision 5
Thinking of the implementation of the screensaver/standby pic, I doubt if ebook.so for PRS-600 is used anyway.

Here is code from defsked ebooksystem.so

Spoiler:
Code:
	<obj41> = new this.Object()
	this.ebook.device.framebuffer.orientation = <obj41>
	this.ebook.device.framebuffer.orientation.portrait = this.__xs__number.parse('0');
	this.ebook.device.framebuffer.orientation.landscape = this.__xs__number.parse('1');
	this.ebook.device.framebuffer.orientation.timer = null;
	this.ebook.device.framebuffer.orientation.onCallback = function () {
		var target, orientation;
		target = this.target;
		orientation = target.getCurrent();
		target.setCurrent((orientation == target.portrait)?target.landscape:target.portrait);
		target.timer.close();
		target.timer = null;
	};
	this.ebook.device.framebuffer.orientation.rotate = function () {
		var timer;
		if (!this.timer) {
			this.timer = new <global>.Timer();
		}
		else {
			this.timer.cancel();
		}
		timer = this.timer;
		timer.target = this;
		timer.onCallback = this.onCallback;
		timer.schedule(10);
	};
	this.ebook.device.framebuffer.orientation.setCurrent = this.@[63];
	this.ebook.device.framebuffer.orientation.getCurrent = this.@[64];
	this.ebook.device.framebuffer.orientation.reset = this.@[65];
	this.ebook.device.framebuffer.orientation;


Assuming that this.ebook.device.framebuffer.orientation.setCurre nt can handle all four states it may be worth to overload "this.ebook.device.framebuffer.orientation.rot ate" and try calling target.setCurrent() with params 2 and 3

[Edit] or even better just set this.ebook.device.framebuffer.orientation.landscap e to the desired value [/Edit]

Last edited by Mark Nord; 02-27-2011 at 03:04 PM.
Mark Nord is offline   Reply With Quote
Old 02-27-2011, 02:59 PM   #1685
kartu
PRS+ author
kartu ought to be getting tired of karma fortunes by now.kartu ought to be getting tired of karma fortunes by now.kartu ought to be getting tired of karma fortunes by now.kartu ought to be getting tired of karma fortunes by now.kartu ought to be getting tired of karma fortunes by now.kartu ought to be getting tired of karma fortunes by now.kartu ought to be getting tired of karma fortunes by now.kartu ought to be getting tired of karma fortunes by now.kartu ought to be getting tired of karma fortunes by now.kartu ought to be getting tired of karma fortunes by now.kartu ought to be getting tired of karma fortunes by now.
 
Posts: 1,637
Karma: 2446233
Join Date: Dec 2007
Device: Sony PRS-300, 505, 600, 650, 950
Great findings, it should do the trick.
kartu is offline   Reply With Quote
Advert
Old 03-01-2011, 11:35 AM   #1686
johnnyb
Cloud Reader
johnnyb ought to be getting tired of karma fortunes by now.johnnyb ought to be getting tired of karma fortunes by now.johnnyb ought to be getting tired of karma fortunes by now.johnnyb ought to be getting tired of karma fortunes by now.johnnyb ought to be getting tired of karma fortunes by now.johnnyb ought to be getting tired of karma fortunes by now.johnnyb ought to be getting tired of karma fortunes by now.johnnyb ought to be getting tired of karma fortunes by now.johnnyb ought to be getting tired of karma fortunes by now.johnnyb ought to be getting tired of karma fortunes by now.johnnyb ought to be getting tired of karma fortunes by now.
 
Posts: 1,124
Karma: 4000066
Join Date: Aug 2010
Device: Kindle Oasis, Kindle Scribe, iPad Pro 11
Quote:
Originally Posted by noxx View Post
ok, i think its better (for me) to wait for your "prs+ flasher"

Regard
+1

When ca we expect the flasher to be ready??? just askin
johnnyb is offline   Reply With Quote
Old 03-02-2011, 03:53 PM   #1687
VICTORSJG
Addict
VICTORSJG once ate a cherry pie in a record 7 seconds.VICTORSJG once ate a cherry pie in a record 7 seconds.VICTORSJG once ate a cherry pie in a record 7 seconds.VICTORSJG once ate a cherry pie in a record 7 seconds.VICTORSJG once ate a cherry pie in a record 7 seconds.VICTORSJG once ate a cherry pie in a record 7 seconds.VICTORSJG once ate a cherry pie in a record 7 seconds.VICTORSJG once ate a cherry pie in a record 7 seconds.VICTORSJG once ate a cherry pie in a record 7 seconds.VICTORSJG once ate a cherry pie in a record 7 seconds.VICTORSJG once ate a cherry pie in a record 7 seconds.
 
Posts: 318
Karma: 1846
Join Date: Dec 2009
Device: PRS-505
Kartu, are you going implement in the scripts of the games a localization for the name of these?

thanks

pd. for the script 505_core_zLang.js i have made a modification to change the icon for a earth globe, if i have time i'll send you.

Last edited by VICTORSJG; 03-02-2011 at 03:56 PM.
VICTORSJG is offline   Reply With Quote
Old 03-04-2011, 02:15 AM   #1688
anyone
Enthusiast
anyone began at the beginning.
 
Posts: 34
Karma: 10
Join Date: Apr 2009
Device: none
What about the PRS-700. Did anyone do any work on this?
anyone is offline   Reply With Quote
Old 03-04-2011, 05:15 AM   #1689
kartu
PRS+ author
kartu ought to be getting tired of karma fortunes by now.kartu ought to be getting tired of karma fortunes by now.kartu ought to be getting tired of karma fortunes by now.kartu ought to be getting tired of karma fortunes by now.kartu ought to be getting tired of karma fortunes by now.kartu ought to be getting tired of karma fortunes by now.kartu ought to be getting tired of karma fortunes by now.kartu ought to be getting tired of karma fortunes by now.kartu ought to be getting tired of karma fortunes by now.kartu ought to be getting tired of karma fortunes by now.kartu ought to be getting tired of karma fortunes by now.
 
Posts: 1,637
Karma: 2446233
Join Date: Dec 2007
Device: Sony PRS-300, 505, 600, 650, 950
Victor, I have no plans for localizing games at the moment.

anyone, 700 is not supported, sorry.
kartu is offline   Reply With Quote
Old 03-06-2011, 03:32 PM   #1690
Kast
Member
Kast is kind to children and small, furry animalsKast is kind to children and small, furry animalsKast is kind to children and small, furry animalsKast is kind to children and small, furry animalsKast is kind to children and small, furry animalsKast is kind to children and small, furry animalsKast is kind to children and small, furry animalsKast is kind to children and small, furry animalsKast is kind to children and small, furry animalsKast is kind to children and small, furry animalsKast is kind to children and small, furry animals
 
Posts: 10
Karma: 6604
Join Date: Sep 2009
Device: PRS-505
Hi I was wondering, is there a chance for Greek Fonts support in PRS-505? It seems 505 is the only one that doesn't have support Greek alphabet yet. Is there a specific reason that makes it difficult? Thank you in advance.

Also can I somehow manually add Greek fonts support using your firmware?

Last edited by Kast; 03-06-2011 at 03:39 PM.
Kast is offline   Reply With Quote
Old 03-06-2011, 03:43 PM   #1691
kartu
PRS+ author
kartu ought to be getting tired of karma fortunes by now.kartu ought to be getting tired of karma fortunes by now.kartu ought to be getting tired of karma fortunes by now.kartu ought to be getting tired of karma fortunes by now.kartu ought to be getting tired of karma fortunes by now.kartu ought to be getting tired of karma fortunes by now.kartu ought to be getting tired of karma fortunes by now.kartu ought to be getting tired of karma fortunes by now.kartu ought to be getting tired of karma fortunes by now.kartu ought to be getting tired of karma fortunes by now.kartu ought to be getting tired of karma fortunes by now.
 
Posts: 1,637
Karma: 2446233
Join Date: Dec 2007
Device: Sony PRS-300, 505, 600, 650, 950
Kast
Please check this.

Updated fonts will be released for 505 as well.
kartu is offline   Reply With Quote
Old 03-06-2011, 03:44 PM   #1692
Kast
Member
Kast is kind to children and small, furry animalsKast is kind to children and small, furry animalsKast is kind to children and small, furry animalsKast is kind to children and small, furry animalsKast is kind to children and small, furry animalsKast is kind to children and small, furry animalsKast is kind to children and small, furry animalsKast is kind to children and small, furry animalsKast is kind to children and small, furry animalsKast is kind to children and small, furry animalsKast is kind to children and small, furry animals
 
Posts: 10
Karma: 6604
Join Date: Sep 2009
Device: PRS-505
Thank you very, very much.
Kast is offline   Reply With Quote
Old 03-07-2011, 08:00 AM   #1693
FinancialWar
Banned
FinancialWar understands the Henderson-Hasselbalch Equation.FinancialWar understands the Henderson-Hasselbalch Equation.FinancialWar understands the Henderson-Hasselbalch Equation.FinancialWar understands the Henderson-Hasselbalch Equation.FinancialWar understands the Henderson-Hasselbalch Equation.FinancialWar understands the Henderson-Hasselbalch Equation.FinancialWar understands the Henderson-Hasselbalch Equation.FinancialWar understands the Henderson-Hasselbalch Equation.FinancialWar understands the Henderson-Hasselbalch Equation.FinancialWar understands the Henderson-Hasselbalch Equation.FinancialWar understands the Henderson-Hasselbalch Equation.
 
Posts: 397
Karma: 85500
Join Date: Feb 2011
Location: Sydney
Device: Sony PRS350, Onyx M92, Onyx T68 (defective!)
kartu can you please make the instructions more detailed for those of us not so smart people.
FinancialWar is offline   Reply With Quote
Old 03-07-2011, 08:09 AM   #1694
kartu
PRS+ author
kartu ought to be getting tired of karma fortunes by now.kartu ought to be getting tired of karma fortunes by now.kartu ought to be getting tired of karma fortunes by now.kartu ought to be getting tired of karma fortunes by now.kartu ought to be getting tired of karma fortunes by now.kartu ought to be getting tired of karma fortunes by now.kartu ought to be getting tired of karma fortunes by now.kartu ought to be getting tired of karma fortunes by now.kartu ought to be getting tired of karma fortunes by now.kartu ought to be getting tired of karma fortunes by now.kartu ought to be getting tired of karma fortunes by now.
 
Posts: 1,637
Karma: 2446233
Join Date: Dec 2007
Device: Sony PRS-300, 505, 600, 650, 950
Quote:
Originally Posted by warakawa View Post
kartu can you please make the instructions more detailed for those of us not so smart people.
Wait for PRS+ base flashers. They will be straightforward to use.
kartu is offline   Reply With Quote
Old 03-07-2011, 08:40 AM   #1695
FinancialWar
Banned
FinancialWar understands the Henderson-Hasselbalch Equation.FinancialWar understands the Henderson-Hasselbalch Equation.FinancialWar understands the Henderson-Hasselbalch Equation.FinancialWar understands the Henderson-Hasselbalch Equation.FinancialWar understands the Henderson-Hasselbalch Equation.FinancialWar understands the Henderson-Hasselbalch Equation.FinancialWar understands the Henderson-Hasselbalch Equation.FinancialWar understands the Henderson-Hasselbalch Equation.FinancialWar understands the Henderson-Hasselbalch Equation.FinancialWar understands the Henderson-Hasselbalch Equation.FinancialWar understands the Henderson-Hasselbalch Equation.
 
Posts: 397
Karma: 85500
Join Date: Feb 2011
Location: Sydney
Device: Sony PRS350, Onyx M92, Onyx T68 (defective!)
Quote:
Originally Posted by kartu View Post
Wait for PRS+ base flashers. They will be straightforward to use.
not meaning to sound pushy but do you have an estimate date when it will come out?
FinancialWar is offline   Reply With Quote
Reply


Forum Jump

Similar Threads
Thread Thread Starter Forum Replies Last Post
Using HD Folders as Collections on Sony PRS-505 fglaysher Calibre 8 07-26-2010 09:55 PM
Enhanced Firmware for V3 keng2000 HanLin eBook 12 04-12-2010 09:30 AM
Poll: Sony Reader PRS-505 upgrade to Sony PRS-700 Kris777 Sony Reader 70 02-18-2009 06:34 PM
Sony Reader PRS-505 upgrade to Sony PRS-700 Kris777 Sony Reader 23 12-08-2008 06:56 AM
Sub folders in firmware v1.08 Prince Hal Amazon Kindle 28 10-23-2008 03:20 PM


All times are GMT -4. The time now is 02:00 PM.


MobileRead.com is a privately owned, operated and funded community.