Author Topic: XXEdit  (Read 8946 times)

0 Members and 1 Guest are viewing this topic.

Offline calcdude84se

  • Needs Motivation
  • LV11 Super Veteran (Next: 3000)
  • ***********
  • Posts: 2272
  • Rating: +78/-13
  • Wondering where their free time went...
    • View Profile
Re: Axe Memory Mapper
« Reply #15 on: January 23, 2011, 03:08:32 pm »
Glad to help, and I'm sure graph was too :D
Can't wait for an updated version with bank-swapping support! :) (at which point I will download it ;D)
"People think computers will keep them from making mistakes. They're wrong. With computers you make mistakes faster."
-Adam Osborne
Spoiler For "PartesOS links":
I'll put it online when it does something.

Offline jnesselr

  • King Graphmastur
  • LV11 Super Veteran (Next: 3000)
  • ***********
  • Posts: 2270
  • Rating: +81/-20
  • TAO == epic
    • View Profile
Re: Axe Memory Mapper
« Reply #16 on: January 23, 2011, 03:30:20 pm »
*graphmastur, and glad I could help. ;-)

Offline calcdude84se

  • Needs Motivation
  • LV11 Super Veteran (Next: 3000)
  • ***********
  • Posts: 2272
  • Rating: +78/-13
  • Wondering where their free time went...
    • View Profile
Re: Axe Memory Mapper
« Reply #17 on: January 23, 2011, 03:32:22 pm »
I call you graph for short, graphmastur :P
"People think computers will keep them from making mistakes. They're wrong. With computers you make mistakes faster."
-Adam Osborne
Spoiler For "PartesOS links":
I'll put it online when it does something.

Offline calc84maniac

  • eZ80 Guru
  • Coder Of Tomorrow
  • LV11 Super Veteran (Next: 3000)
  • ***********
  • Posts: 2912
  • Rating: +471/-17
    • View Profile
    • TI-Boy CE
Re: Axe Memory Mapper
« Reply #18 on: January 23, 2011, 03:48:37 pm »
I think you can also read from any archive page in pure Axe by modifying the File objects directly. If I'm not mistaken, it would work like:
Code: [Select]
Address->{°Y1}r
Page->{°Y1+2}
.Now use {Y1} to read the byte

Edit:
Forgot the "r" after the address store.
« Last Edit: January 23, 2011, 03:49:10 pm by calc84maniac »
"Most people ask, 'What does a thing do?' Hackers ask, 'What can I make it do?'" - Pablos Holman

Offline squidgetx

  • Food.
  • CoT Emeritus
  • LV10 31337 u53r (Next: 2000)
  • *
  • Posts: 1881
  • Rating: +503/-17
  • rawr.
    • View Profile
Re: Axe Memory Mapper
« Reply #19 on: January 23, 2011, 06:18:35 pm »
Update! Woah, look at all this cool stuff :D
  • Binary display of highlighted byte
  • Search for any program, appvar, or protected program. Doesn't matter if it's in RAM or Archive :o
  • Search for any 8 byte string of characters or hex in RAM
  • Memory bank swapping :D
Controls for all this new stuff:
Press MODE to open the search menu. From there, decide what you want to search for (2nd+arrow keys), then type in the name of what you want to search for, then press 2nd to search for it!
If you aren't looking for a program/appvar, you have the choice of starting from your current position (Find Next) or from the beginning of RAM (Find First: $8000). Note that you can search inside of archive by moving the cursor to any position before $8000.
If you are looking for a program/appvar, the mapper will automatically jump to the location of the program/appvar. If the program/appvar is in RAM, the page will be changed automatically for you. :)
I also added a new shortcut key: pressing 8 will take you to $4000, or the current page of flash. To change the memory bank, simply press Y= and use the arrow keys to select which page you want to switch to. WARNING: I did not put any restrictions on which banks you can switch to. You can attempt to switch to any bank between 0 and 255. Be warned that switching to a bank that does not exist could, at the very least, cause a RAM clear Apparently, it doesn't :P My bad. But I still wouldn't try it if I were you XD

Enjoy! :D
« Last Edit: January 24, 2011, 05:39:50 pm by squidgetx »

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: Axe Memory Mapper
« Reply #20 on: January 23, 2011, 06:38:54 pm »
Thanks for the explanation. [friendlysarcasm]I like how you pointed to the massive 188 page SDK for "more info" lol [/fs]

At least I didn't link you to the system routines PDF (506 pages) ;D




Offline jnesselr

  • King Graphmastur
  • LV11 Super Veteran (Next: 3000)
  • ***********
  • Posts: 2270
  • Rating: +81/-20
  • TAO == epic
    • View Profile
Re: Axe Memory Mapper
« Reply #21 on: January 23, 2011, 07:38:14 pm »
I call you graph for short, graphmastur :P
I go by pretty much anything but graphy. ;-)

Offline DJ Omnimaga

  • Clacualters are teh gr33t
  • CoT Emeritus
  • LV15 Omnimagician (Next: --)
  • *
  • Posts: 55943
  • Rating: +3154/-232
  • CodeWalrus founder & retired Omnimaga founder
    • View Profile
    • Dream of Omnimaga Music
Re: Axe Memory Mapper
« Reply #22 on: January 24, 2011, 01:27:34 am »
THis looks pretty nice. I doubt I'll mess much with it, though, since I'm not experienced much with reading memory stuff, although it might be useful eventually to debug and stuff.

Offline calcdude84se

  • Needs Motivation
  • LV11 Super Veteran (Next: 3000)
  • ***********
  • Posts: 2272
  • Rating: +78/-13
  • Wondering where their free time went...
    • View Profile
Re: Axe Memory Mapper
« Reply #23 on: January 24, 2011, 07:54:44 am »
WARNING: I did not put any restrictions on which banks you can switch to. You can attempt to switch to any bank between 0 and 255. Be warned that switching to a bank that does not exist could, at the very least, cause a RAM clear
Actually, just to clarify, it shouldn't ;D. On the 83+SE and 84+(SE), the calculator simply ignores bits that don't mean anything (so $92 is the same as $82, for example). Apparently the 83+ is stranger, and swapping in something out of range gets you an unpredictable page, but AFAIK it shouldn't crash. :)
Also, nice to see an update! :D
"People think computers will keep them from making mistakes. They're wrong. With computers you make mistakes faster."
-Adam Osborne
Spoiler For "PartesOS links":
I'll put it online when it does something.

Offline DJ Omnimaga

  • Clacualters are teh gr33t
  • CoT Emeritus
  • LV15 Omnimagician (Next: --)
  • *
  • Posts: 55943
  • Rating: +3154/-232
  • CodeWalrus founder & retired Omnimaga founder
    • View Profile
    • Dream of Omnimaga Music
Re: Axe Memory Mapper
« Reply #24 on: January 27, 2011, 08:42:37 pm »
Cool to see it released :D

You should make a screenshot.

Offline squidgetx

  • Food.
  • CoT Emeritus
  • LV10 31337 u53r (Next: 2000)
  • *
  • Posts: 1881
  • Rating: +503/-17
  • rawr.
    • View Profile
Re: Axe Memory Mapper
« Reply #25 on: January 31, 2011, 06:39:23 pm »
I'm now planning to turn this into a fully fledged hex editor complete with sprite support too as well as some other stuff I thought up. I'll start on it as soon as I can get (and keep) Axe .4.8 onto my calc (If you want to know why, its a long story and it has to do with Ash:Phoenix and the new line routine that doesn't clip; basically Runer112 and I are working on trying to rewrite a section of code so that I can use .4.8 with it)
« Last Edit: January 31, 2011, 06:39:31 pm by squidgetx »

Offline DJ Omnimaga

  • Clacualters are teh gr33t
  • CoT Emeritus
  • LV15 Omnimagician (Next: --)
  • *
  • Posts: 55943
  • Rating: +3154/-232
  • CodeWalrus founder & retired Omnimaga founder
    • View Profile
    • Dream of Omnimaga Music
Re: Axe Memory Mapper
« Reply #26 on: February 01, 2011, 11:12:51 pm »
Yeah I remember about Axe line clipping. You use 4.6, right? Also I'm glad to hear about the ideas. It would be nice to have sprite editing and other features integrated in this. :)

Offline squidgetx

  • Food.
  • CoT Emeritus
  • LV10 31337 u53r (Next: 2000)
  • *
  • Posts: 1881
  • Rating: +503/-17
  • rawr.
    • View Profile
Re: Axe Memory Mapper
« Reply #27 on: February 02, 2011, 09:50:21 am »
I finally got 0.4.8 :D. Runer112 managed to help me rewrite a few routines so that they don't need the clipped lines.

I tried working on this yesterday, but the program began really messing up...pressing Down acted as if I was pressing Graph...I think I have too many getkey()'s XD To fix this, I think I'll change it to BASIC style getkey->var...

Offline Happybobjr

  • James Oldiges
  • LV11 Super Veteran (Next: 3000)
  • ***********
  • Posts: 2325
  • Rating: +128/-20
  • Howdy :)
    • View Profile
Re: Axe Memory Mapper
« Reply #28 on: February 02, 2011, 09:51:58 am »
So is that why pressing up acts if i press left on one of my calcs?
School: East Central High School
 
Axe: 1.0.0
TI-84 +SE  ||| OS: 2.53 MP (patched) ||| Version: "M"
TI-Nspire    |||  Lent out, and never returned
____________________________________________________________

Offline squidgetx

  • Food.
  • CoT Emeritus
  • LV10 31337 u53r (Next: 2000)
  • *
  • Posts: 1881
  • Rating: +503/-17
  • rawr.
    • View Profile
Re: Axe Memory Mapper
« Reply #29 on: February 02, 2011, 09:53:49 am »
Perhaps...I suspect that maybe an overload of getkey()s can make it behave oddly (I don't know for sure though). I had about 20 If getkey() statements, and adding the 21st made it start acting up. RAM clearing didn't help either, only removing the new features I added did. I'll let you know if I manage to figure it out...