Ultimate Amiga

Please login or register.

Login with username, password and session length
Advanced search  
Pages: [1]   Go Down

Author Topic: Extension Examiner  (Read 2991 times)

0 Members and 2 Guests are viewing this topic.

Lonewolf10

  • AMOS Extensions Developer
  • AMOS Dev
  • A2000
  • *****
  • Karma: 3
  • Offline Offline
  • Gender: Male
  • Posts: 618
    • http://www.aliensrcooluk.com
Extension Examiner
« on: July 27, 2010, 09:50:05 PM »


Hi,

Does anyone here have a program that examines extensions? For example, the program can automatically list the extension number and all the commands in it.

The reason I ask is that I started to create such a program, but it isn't as easy as I first thought. The reason being that Devpac 2 throws a bunch of code (36 bytes) onto the start of the extension, and I suspect there may be more code thrown in aswell.
I may be able to work around it, but at the moment I am having to learn the hex codes for the M68000 CPU too, to try and understand what the extension actually contains. (This involves writing a single instruction, compiling it and then examining the generated code in hex - this needs to be done multiple times for each command)


Regards,
Lonewolf10

Logged

Lonewolf10

  • AMOS Extensions Developer
  • AMOS Dev
  • A2000
  • *****
  • Karma: 3
  • Offline Offline
  • Gender: Male
  • Posts: 618
    • http://www.aliensrcooluk.com
Re: Extension Examiner
« Reply #1 on: August 05, 2010, 06:27:25 PM »


Things are now going better :)

Firstly Devpac adds 32 bytes (not 36!) to the start of extensions, so no wonder I was getting confused! With that solved everything is moving along nicely.
My extension examiner can now:

 - Display all commands (untranslated and translated)
 - Display all error messages
 - Display the extension title and additional info.
 - Display the main offsets of each section (e.g. Start, C_Off, C_Tk, C_Lib, C_Title and C_End)


I am currently working on how to get the extension number :)


Regards,
Lonewolf10

Logged

Lonewolf10

  • AMOS Extensions Developer
  • AMOS Dev
  • A2000
  • *****
  • Karma: 3
  • Offline Offline
  • Gender: Male
  • Posts: 618
    • http://www.aliensrcooluk.com
Re: Extension Examiner
« Reply #2 on: September 08, 2010, 09:50:19 PM »

Beta version now available in the "Submissions" section, in the thread "Extension Examiner [EXE]".


Edit, added 6th April, 2011:

Extension Examiner now available on Aminet. Search for "ADBs" to find all my stuff.


Regards,
Lonewolf10

« Last Edit: April 06, 2011, 07:02:04 PM by Lonewolf10 »
Logged
Pages: [1]   Go Up
 

TinyPortal 2.2.2 © 2005-2022