0 Members and 1 Guest are viewing this topic.
Quote from: z80man on December 27, 2010, 03:23:09 amAfter changing some of the data you can see a change in the icon, but then the app becomes unrunnable. Any ideas why would be helpful.The first 2 bytes in the headers are 0xAA and 0xAC, right? On the fx-9860, to disable the checksum you would change the first byte (0xAA) to 0xAC. Try and see if that works.
After changing some of the data you can see a change in the icon, but then the app becomes unrunnable. Any ideas why would be helpful.
Quote from: kucalc on December 27, 2010, 04:17:30 amQuote from: z80man on December 27, 2010, 03:23:09 amAfter changing some of the data you can see a change in the icon, but then the app becomes unrunnable. Any ideas why would be helpful.The first 2 bytes in the headers are 0xAA and 0xAC, right? On the fx-9860, to disable the checksum you would change the first byte (0xAA) to 0xAC. Try and see if that works. I tried changing the first byte from $AA to $AC, but the app is still not running.
Quote from: z80man on December 27, 2010, 04:31:55 amQuote from: kucalc on December 27, 2010, 04:17:30 amQuote from: z80man on December 27, 2010, 03:23:09 amAfter changing some of the data you can see a change in the icon, but then the app becomes unrunnable. Any ideas why would be helpful.The first 2 bytes in the headers are 0xAA and 0xAC, right? On the fx-9860, to disable the checksum you would change the first byte (0xAA) to 0xAC. Try and see if that works. I tried changing the first byte from $AA to $AC, but the app is still not running.What happens if the first byte of an unmodified app is changed to 0xAC?
Quote from: JosJuice on December 27, 2010, 04:38:07 amQuote from: z80man on December 27, 2010, 04:31:55 amQuote from: kucalc on December 27, 2010, 04:17:30 amQuote from: z80man on December 27, 2010, 03:23:09 amAfter changing some of the data you can see a change in the icon, but then the app becomes unrunnable. Any ideas why would be helpful.The first 2 bytes in the headers are 0xAA and 0xAC, right? On the fx-9860, to disable the checksum you would change the first byte (0xAA) to 0xAC. Try and see if that works. I tried changing the first byte from $AA to $AC, but the app is still not running.What happens if the first byte of an unmodified app is changed to 0xAC?ah ha!! I figured it out!!! The OS uses a modular sum checksum. So as long as I keep the sum of all the bytes added together the app will run. All we need to do now is find out where this sum is located that way we can start modifying some code. Also if you change the first byte to $AC the app does not run.
Yes there are two icons in the header one at 0x1000 and the other at 0x4000. The former is for when the cursor is off the icon and the latter is when it is on. How I figured out a modular sum checksum was used, Whenever I changed some data in the program I would keep track of how much much I added or subtracted from each byte and When I was done the net change must be at 0. eg. If there is a byte that reads $C0 and I change it $B0 then I must add $10 to another byte. So $60 becomes $70
There needs to be a site like wikiti.brandonw.net/ but for casio calcs