View Single Post
Old 02-26-2019, 04:33 PM   #185
geek1011
Wizard
geek1011 ought to be getting tired of karma fortunes by now.geek1011 ought to be getting tired of karma fortunes by now.geek1011 ought to be getting tired of karma fortunes by now.geek1011 ought to be getting tired of karma fortunes by now.geek1011 ought to be getting tired of karma fortunes by now.geek1011 ought to be getting tired of karma fortunes by now.geek1011 ought to be getting tired of karma fortunes by now.geek1011 ought to be getting tired of karma fortunes by now.geek1011 ought to be getting tired of karma fortunes by now.geek1011 ought to be getting tired of karma fortunes by now.geek1011 ought to be getting tired of karma fortunes by now.
 
Posts: 2,808
Karma: 7423683
Join Date: May 2016
Location: Ontario, Canada
Device: Kobo Mini, Aura Edition 2 v1, Clara HD
Quote:
Originally Posted by nedward View Post
Just wanted to let you know that thanks to your resources, hints and the existing patches, I could write the patch.

The one thing I couldn‘t quite understand is why
Code:
4F F0 01 00
is a boolean true – maybe you can help me understand that. I guess this is a reference to some place where true is returned, but I might be way off.

Thanks so much for your effort in writing the patches and publishing it out in the open at GitHub.
No problem! 4FF00100 is MOV r0, #1. True is stored as 1, and false as 0. r0 is where the return value is stored.

Quote:
Originally Posted by ps67 View Post
Is it possible a patch to have indentation levels in index? I know that Kobo index is flatten by design and I don't know if that behavior can be changed with a patch, but if:

1) it is not too difficult (like hours of work);
2) it is funny for You to do the patch;
3) You have time to do it;

I would like to see how could appear a patched index.

Probably not at the moment, unless I end up writing a tool for injecting significant amounts of additional assembly (it would involve finding enough contiguous free space and possibly messing with the ELF table).
geek1011 is offline   Reply With Quote