Ultimate Amiga
Network Boards => AMOS Factory => Extensions Forum => Topic started by: Lonewolf10 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
-
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
-
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