Author Topic: Disassembling OS's / IDA v5.0 is Freeware  (Read 3434 times)

0 Members and 1 Guest are viewing this topic.

Offline thepenguin77

  • z80 Assembly Master
  • LV10 31337 u53r (Next: 2000)
  • **********
  • Posts: 1594
  • Rating: +823/-5
  • The game in my avatar is bit.ly/p0zPWu
    • View Profile
Disassembling OS's / IDA v5.0 is Freeware
« on: August 28, 2011, 03:12:31 pm »
So... it looks like they nerfed the free version and took out z80. Sorry about that...

This isn't exactly breaking news, but I thought people should know about this. IDA v5.0 is free now and is by far the best way to disassemble OS's and files, the reason it's so good is simply because you make changes along the way.

Here is the download page for IDA.

A good way to start with IDA would be to disassemble your boot code. To get your boot code, take the .8xv that Rom8x gives you and cut off the 8xv data up front. The last two bytes you will remove will be $00, $40 and the first one you will save will be $3E. You'll also want to take off the two byte checksum at the end.

Once you have that, go into ida, X out the window that pops up and open your .bin file. From there, select processor = Zilog z80 and set 0000-7fff as rom and 8000-ffff as ram. Then set the loading address to $4000 and have fun.

After you've gotten used to the feel of IDA and now understand the purpose of the boot code better, you can try to disassemble the OS. The problem with OS's is that they need to be broken up into several pages. You can do this manually, or you can use BrandonW's Pterodactyl which will do it for you. After you have the pages, just load each on individually and start disassembling. Also, with Pterodactyl, it will make a .idc file for each page. If you run that on the correct page, it will mark ram with the labels in ti83plus.inc as well as marking OS routines in the code.

Well, have fun. Hopefully this will lead to a greater knowledge of the operating system and perhaps a few more cool projects in the future. (It might also show you why Ti sucks at coding  ;D)
« Last Edit: August 28, 2011, 04:34:02 pm by thepenguin77 »
zStart v1.3.013 9-20-2013 
All of my utilities
TI-Connect Help
You can build a statue out of either 1'x1' blocks or 12'x12' blocks. The 1'x1' blocks will take a lot longer, but the final product is worth it.
       -Runer112

Offline the_mad_joob

  • LV6 Super Member (Next: 500)
  • ******
  • Posts: 346
  • Rating: +47/-0
    • View Profile
Re: Disassembling OS's / IDA v5.0 is Freeware
« Reply #1 on: August 28, 2011, 03:25:28 pm »
May be quite useful for some...
Thx 4 the share =]
« Last Edit: August 28, 2011, 03:26:04 pm by the_mad_joob »

Offline Deep Toaster

  • So much to do, so much time, so little motivation
  • Administrator
  • LV13 Extreme Addict (Next: 9001)
  • *************
  • Posts: 8217
  • Rating: +758/-15
    • View Profile
    • ClrHome
Re: Disassembling OS's / IDA v5.0 is Freeware
« Reply #2 on: September 04, 2011, 10:58:51 pm »
So... it looks like they nerfed the free version and took out z80. Sorry about that...
Aww phoo, a pity. I was actually planning on using it.




Offline AngelFish

  • Is this my custom title?
  • Administrator
  • LV12 Extreme Poster (Next: 5000)
  • ************
  • Posts: 3242
  • Rating: +270/-27
  • I'm a Fishbot
    • View Profile
Re: Disassembling OS's / IDA v5.0 is Freeware
« Reply #3 on: September 05, 2011, 01:49:58 am »
Yeah, they tend to nerf the free versions they release. The full package is very nice...

...or so I've heard...

>.>
∂²Ψ    -(2m(V(x)-E)Ψ
---  = -------------
∂x²        ℏ²Ψ