drhelius / Gearcoleco

ColecoVision emulator for macOS, Windows, Linux, BSD and RetroArch.
https://x.com/drhelius
GNU General Public License v3.0
62 stars 15 forks source link

Disassembler off? Not catching code? #22

Closed KPreston2900050 closed 12 months ago

KPreston2900050 commented 1 year ago

In an instance it outputs as RET LD ($7148), HL CALL $1FB2 Above this line is correct from the amount I checked, below is what occurred after. CALL $1FA6 CALL $1FA6 CALL $1F8B CALL $1F8B CALL $1F8B CALL $1F8B CALL $1F8B -------------------------this is where it corrected itself CALL $1FA6

The actual code is after CALL $1FB2 is: FD,85,48,71.........

Which translates to FD85 ADD A, IYL 48 LD C, B 71 LD (HL), C ............. I know this is not a whole lot to go on but is it my setting? Am I missing something? Could it be the undocumented Opcode IYL?

drhelius commented 1 year ago

The emulator disassembles as it goes executing opcodes. If the memory address has not been executed it doesn't get disassembled.

Have you checked if the memory addressees you are referring as bad are consecutive in space? Because it could happen that the editor is showing you disassembled portions of code that are distant in memory and will not fill in the blanks until it runs over those addressees.

Can you post some screenshots?

drhelius commented 1 year ago

By the way, (ADD A, IYL) should be handled normally:

https://github.com/drhelius/Gearcoleco/blob/main/src/opcodefd_names.h#L165

KPreston2900050 commented 1 year ago

Thank you for the feedback and despite me being late to respond, it's just been one of those months.

I am thinking a lot of these errors are on me and not the program.

I would like to add though that there is another user who has been floating around Atari Age because he has a hardware project that is nothing but a custom Raspberry Pi or some deal trying to make it out as the next big ADAM computer.

If he has not contacted you he has been trying to use open source emulators that everyone else made to run his equipment. In essence he is trying to use other peoples work to make money without paying them. Now he has openly admitted on FaceBook to taking your source code and trying to modify it to run ADAM software with the intent on using it in his project after being rejected by everyone else for not paying their license fee.

The guy knows how to put hardware together but not smart enough to write his own emulator and now he is trying to steal yours.

His statement after being accused of theft, If I may paraphrase, My understanding of open source is that it is open and should be able to use it any way I want. I would like the cost of the project down and open source is the only way.

The guy's name is Danny Heuvel and he is making something called the ADAM+

Just FYI

drhelius commented 12 months ago

Closing this as it doesn’t look like a bug. Don’t hesitate to open it again if youhave more info.