English Amiga Board


Go Back   English Amiga Board > Coders > Coders. General

 
 
Thread Tools
Old 25 December 2023, 23:41   #1
copse
Registered User
 
Join Date: Jul 2009
Location: Lala Land
Posts: 522
Looking at Spectrum Analyser for inspiration

I was looking at ports of ZX Spectrum games to cross-platform C, and stumbled across Spectrum Analyser. This seems like good inspiration for a similar Amiga tool.
Spectrum Analyser is a tool that is designed to help reverse engineer ZX Spectrum games & programs.

It is a combination of an emulator, debugger & interactive disassembler. Programs are loaded and run in the emulator and their state can be inspected using the tools provided.


If you envisioned a version of this for Amiga, how would it work? How would it be better than WinUAE / WinUAE debugger and ira, Ghidra or Resource? Could reassembling be integrated into a tool like this almost like a form of CI, with visual binary diffing?
copse is offline  
Old 26 December 2023, 08:36   #2
hitchhikr
Registered User
 
Join Date: Jun 2008
Location: somewhere else
Posts: 515
Didn't know that emulator.

I'm working on such tool but for the NES (https://github.com/hitchhikr/crudNES), it's only on early developments & the disassembler isn't interactive, tho.

I thought about doing that for the Amiga but it's executable files are much easier to disassemble (except track loading stuff) compared to the ZXSpectrum or other 8 bit ones which are basically raw binary files and concluded that it wasn't worth the hassle.

However, such tool could be valuable for MegaDrive ROMs (for eventual conversions to Amiga ) as they are a pita to disassemble, or MS-DOS executables (especially to track the memory segments usage).

Also that kind of disassembling emulators could be made to generate some sort of virtual "über-processor" mnemonics that could be then translated into any other real processor code to ease eventual conversions processes.
hitchhikr is offline  
Old 26 December 2023, 09:08   #3
zenox98
Joy Division
 
zenox98's Avatar
 
Join Date: Nov 2006
Location: East Yorkshire
Age: 60
Posts: 239
Thanks for the heads-up on Spectrum Analyser.

It's great for my own remake projects.
zenox98 is offline  
Old 26 December 2023, 14:38   #4
freehand
Registered User
 
Join Date: Mar 2010
Location: wisbech
Posts: 276
I think the Spectrum Analyser is awesome by the looks of it:
My friend made it to the end of star quake and it crashed lol so never see the ending.
freehand is offline  
Old 27 December 2023, 04:13   #5
copse
Registered User
 
Join Date: Jul 2009
Location: Lala Land
Posts: 522
Quote:
Originally Posted by zenox98 View Post
Thanks for the heads-up on Spectrum Analyser.

It's great for my own remake projects.
FYI there's a c64 analyser and maybe others in progress, but not at this level.
copse is offline  
Old 19 January 2024, 13:10   #6
lmimmfn
Registered User
 
Join Date: May 2018
Location: Ireland
Posts: 674
Work is ongoing to port this to the CPC - https://www.cpcwiki.eu/forum/program...ineering-tool/

Its an awesome tool, i took a look at CPC Buggy Boy a year or so ago, just finding the main loops from an emulator and where the road is drawn, then the sprites etc. Was horribly cumbersome and wondered why there were no tools to address reverse engineering
lmimmfn is online now  
Old 19 January 2024, 13:30   #7
zenox98
Joy Division
 
zenox98's Avatar
 
Join Date: Nov 2006
Location: East Yorkshire
Age: 60
Posts: 239
Struggling a little with this - even though it's the easiest way i've found to trace program flow - but that's down to my own limitations I reckon ;/

My 2 ongoing projects are Splat! and Moon Cresta.

The plan is to create html 5 versions.
zenox98 is offline  
Old 29 February 2024, 09:38   #8
zenox98
Joy Division
 
zenox98's Avatar
 
Join Date: Nov 2006
Location: East Yorkshire
Age: 60
Posts: 239
Been using this for a while now and find it very useful.

I agree with copse 'op' and think this would be perfect fo the amiga. I know there are many ways to disassemble amiga games but this prog allows you to easily drill into the logic and mechanics of any part of the game, and document what is happening. Makes remakes or updates much easier. Just my 2 cents.

Last edited by zenox98; 29 February 2024 at 10:30.
zenox98 is offline  
Old 29 February 2024, 23:45   #9
copse
Registered User
 
Join Date: Jul 2009
Location: Lala Land
Posts: 522
CPC, c64 and spectrum are a lot simpler. It's very unlikely we'll see something similar for Amiga. The best current options are using winuae and it's tools, like the debugger. And also using ghidra either for disassembled assembly or decompiled C (it gets pretty close).

No-one has the time for this. Best just to crack on and work using what we have for the Amiga :-)
copse is offline  
 


Currently Active Users Viewing This Thread: 1 (0 members and 1 guests)
 
Thread Tools

Similar Threads
Thread Thread Starter Forum Replies Last Post
Data cache hit/miss ratio analyser selco request.UAE Wishlist 6 23 November 2023 00:36
Give me inspiration Ray Norrish Amiga scene 6 17 January 2023 16:52
Logic Analyser for A500 GhstWlf support.Hardware 3 13 June 2015 16:45
What gives you coding inspiration? pmc Coders. General 55 16 November 2009 21:45
Inspiration is none Fozzie support.Demos 6 22 September 2004 22:58

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off

Forum Jump


All times are GMT +2. The time now is 18:40.

Top

Powered by vBulletin® Version 3.8.11
Copyright ©2000 - 2024, vBulletin Solutions Inc.
Page generated in 0.10872 seconds with 13 queries