Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[anotherworld] Delete old & broken codewheel bypass hack #9

Closed
felipesanches opened this issue May 29, 2017 · 7 comments
Closed

[anotherworld] Delete old & broken codewheel bypass hack #9

felipesanches opened this issue May 29, 2017 · 7 comments
Assignees

Comments

@felipesanches
Copy link
Owner

@fabiensanglard original code has a hack to skip the codewheel challenge. I could not get it to work so it is commented out. Actually, I was able to trick the VM with a simpler hack, so I'll delete the old one.

@felipesanches felipesanches self-assigned this May 29, 2017
@fabiensanglard
Copy link

Can you send a pull request on the original project, I am not sure how this is related to mame.

@felipesanches
Copy link
Owner Author

Sorry, I should have provided you with more context. This repo is a port of your code into MAME. I'm not really asking for any code review from you. I was just acknowledging you as the original author of the code I'm working on.

@felipesanches
Copy link
Owner Author

Also, the code won't ever be merged into official MAME because the game was never released as an arcade board, so it is out-of-scope for MAME. But I'm using MAME's infrastructure to get a nice interactive debugger and also because I thought it would be neat to try to understand how this game engine would be implemented if it was built as a real JAMMA board. As MAME codebase is all designed around hardware concepts, it seems to be the best testbed for prototyping such a thing.

@felipesanches
Copy link
Owner Author

felipesanches commented May 30, 2017

@fabiensanglard
Copy link

This debugger is absoluetly gorgeous. Is it disassembling the bytecode?

@felipesanches
Copy link
Owner Author

@fabiensanglard The MAME port is available in this repo at the anotherworld branch.

Relevant source files are:

  • src/devices/cpu/anotherworld/anotherworld.cpp //vm opcodes
  • src/devices/cpu/anotherworld/anotherworld_dasm.cpp //disasm (for the debugger dialog)
  • src/mame/video/anotherworld.cpp //video rendering
  • src/devices/sound/anotherw.cpp/h //sound emulation
  • src/mame/drivers/anotherworld.cpp //the "pcb" driver where everything is hooked together (including ROMset checksums and other metadata)
  • src/mame/includes/anotherworld.h

@felipesanches
Copy link
Owner Author

yes, that's interactive disassembly of the bytecode at runtime. With breakpoints, dynamic memory views, etc... All that the generic MAME debugger can offer :-)

felipesanches added a commit that referenced this issue Jun 1, 2017
felipesanches pushed a commit that referenced this issue Dec 1, 2018
* taito_zm.cpp : Updates
Add DSP, Reduce MCFGs, Add device_mixer_interface for sound gain, Add imperfect_features related to DSP, Add notes

* taito_zm.cpp : Fix TMS57002 clock

* Improve Taito Zoom ZSG-2 sound emulation

zsg2.cpp: implement emphasis filter, this is a noise reduction scheme
that amplifies higher frequncies to reduce quantization noise.

zsg2.cpp: Add sample interpolation and another adjustable lowpass
filter. This seems to be roughly what real hardware does...

zsg2.cpp: Improve panning registers and identify DSP output gain
registers.

* zsg2: minor changes [nw]

zsg2: Register 0b appears to be status flags [nw]

zsg2: Linear ramping probably makes more sense [nw]

* zsg2: slight adjustment of emphasis filter [nw]

* zsg2: slight adjustment of emphasis filter #2 [nw]

* zsg2: more sober ramping algorithm [nw]

* tms57002: add instructions 3c/3d, make them behave as NOP as they're undocumented and not understood

* tms57002: Add dready callback for superctr (nw)

* tms57002: Fixes to make Taito Zoom DSP working

tms57002: Add undocumented instruction saom / raom, they set saturation
mode for the ALU.

tms57002: Implement MACC pipeline.

tms57002: Add callbacks for EMPTY and PC0 pins.

tms57002: Add a few unimplemented instructions.

tms57002: Proper behavior of CMEM UPLOAD mode.

tms57002: Fix an issue where program is not properly loaded if PLOAD is
set after a program has already been written.

* Documentation fix, properly identified registers as ramping control, will implement that soon [nw]

* taito_zm: Working DSP emulation

Pretty much OST quality now. A pretty decent upgrade from how it was
previously, I'd say.

* typo [nw]

* just adding some quick notes about the WIP [nw]

* Fix build [nw]

* zsg2: Proper ramping implemenation, add register map, minor cleanups

* oops [nw]

* taito_zm.cpp / zsg2.cpp - more improvements

zsg2.cpp: Attempt to reduce clicks

zsg2.cpp: Made the emphasis filter much more simple. I think this
 matches hardware, as a filter like this could be implemented with
 very few gates in hardware. Also reset the filter state when
 the sample position reaches the start address, this fixes raycris
 song #9

taito_zm.cpp: Adjust volume balance, hopefully fixing psyvarrv.
 I would need hardware recording for proper verification though

tms57002: forgot MACC pipelining for some instructions
felipesanches pushed a commit that referenced this issue Dec 1, 2018
After another two "tehkanwch" boards were found and dumped (where this ROM matched the parent), and a deeper analisys from Roberto Fresca (who thinks that it was a bitrot, since it was a nonsense modification of a sprite), I've changed the ROM #9 (gfx1) to match the parent, as found on the new dumps.
felipesanches pushed a commit that referenced this issue Aug 3, 2024
…medev#12582)

* Improved some NV Magazine titles.
* Removed Removed "R・SYSTEM 3.2 (Japan)", (part of NV Magazine 1996-12).

New working software list items (msx2_flop.xml)
----------------------------
NV Hokkaido Vol. 1 (Japan) [file-hunter]
NV Magazine 1 (Japan) [file-hunter]
NV Magazine 2 (Japan) [file-hunter]
NV Magazine #3 (Japan) [file-hunter]
NV Magazine 4 (Japan) [file-hunter]
NV Magazine #5 (Japan) [file-hunter]
NV Magazine #7 (Japan) [file-hunter]
NV Magazine #8 (Japan) [file-hunter]
NV Magazine #9 (Japan) [file-hunter]
NV Magazine #10 (Japan) [file-hunter]
NV Magazine mamedev#20 (Japan) [file-hunter]
NV Magazine mamedev#21 (Japan) [file-hunter]
NV Magazine mamedev#22 (Japan) [file-hunter]
NV Magazine mamedev#23 (Japan) [file-hunter]
NV Magazine mamedev#24 (Japan) [file-hunter]
NV Magazine mamedev#26 (Japan) [file-hunter]
NV Magazine 1996-10 (Japan) [file-hunter]
NV Magazine 1996-11 (Japan) [file-hunter]
NV Magazine 1998-6 (Japan) [file-hunter]
NV Magazine 1998-9 (Japan) [file-hunter]
NV Magazine 1998-10 (Japan) [file-hunter]
NV Magazine 1999-1 (Japan) [file-hunter]
NV Magazine 1999-2 (Japan) [file-hunter]
NV Magazine 1999-3 (Japan) [file-hunter]
NV Magazine 1999-5 (Japan) [file-hunter]
NV Magazine 1999-6 (Japan) [file-hunter]
NV Magazine 1999-7 (Japan) [file-hunter]
NV Magazine 1999-8 (Japan) [file-hunter]
NV Magazine 1999-9 (Japan) [file-hunter]
NV Magazine 1999-10 (Japan) [file-hunter]
NV Magazine 1999-11 (Japan) [file-hunter]
NV Magazine 2000-1 (Japan) [file-hunter]
NV Magazine 2000-2 (Japan) [file-hunter]
NV Magazine 2000-3 (Japan) [file-hunter]
NV Magazine 2000-4 (Japan) [file-hunter]
NV Magazine 2000-5 (Japan) [file-hunter]
NV Magazine 2000-6 (Japan) [file-hunter]
NV Magazine 2000-7 (Japan) [file-hunter]
NV Magazine 2000-8 (Japan) [file-hunter]
NV Magazine 2000-9 (Japan) [file-hunter]
NV Magazine 2000-10 (Japan) [file-hunter]
NV Magazine 2000-11 (Japan) [file-hunter]
NV Magazine 2000-12 (Japan) [file-hunter]
NV Magazine 2002-1 (Japan) [file-hunter]
NV Magazine 2002-2 (Japan) [file-hunter]
NV Magazine 2002-4 (Japan) [file-hunter]
NV Magazine 2002-5 (Japan) [file-hunter]
NV Magazine SP #2 (Japan) [file-hunter]
NV Magazine Special #3 (Japan) [file-hunter]
NV Magazine Special #4 (Japan) [file-hunter]
NV Magazine Special #6 (Japan) [file-hunter]
NV RSDM #4 (Japan) [file-hunter]

New software list items marked not working (msx2_flop.xml)
----------------------------
NV Magazine 1996-12 (Japan) [file-hunter]
NV Magazine 1998-11 (Japan) [file-hunter]
NV Magazine 2001-12 (Japan) [file-hunter]
NV Magazine 2002-3 (Japan) [file-hunter]
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants