> From: Sandro Ronco [mailto:sandroronco@gmail.com]
> Sent: Wednesday, September 16, 2009 12:48 AM
> To: submit@mamedev.org
> Subject: MAME cheat update
>
> I have added the byte swap to the cheat search.
Sent: Thursday, September 10, 2009 7:10 AM
To: submit@mamedev.org
Cc: upstephh_wip@yahoo.com
Subject: Quick fix for the F6 toggle
Hi
My last diff got altered before getting included, I appreciate this would likely get done (and many
thanks for doing it) but it did lose the F6 functionality when a cheat was selected. Eg. if you have
the cursor bar over Infinite Time then F6 will not work. My original solution using numbered calls
was not ideal but it did work, I'd spent ages trying to find the appropriate routine to call without
joy. Annoyingly I just tried again with 0.134 and it took less than 5 minutes to fix it
properly....DOH!!!
Anyway I've attached a simple one-line diff for 0.134 to hook up F6 wherever the cursor bar is on
the cheat menu screens.
It just changes this in uimenu.c.:-
- if (exclusive_input_pressed(menu, IPT_UI_TOGGLE_CHEAT, 0))
+ if (ui_input_pressed_repeat(menu->machine, IPT_UI_TOGGLE_CHEAT, 0))
Martin 'Pugsy' Pugh
- this emulates the RS/WS and READY handshaking according
to the tms5220 manual. Drivers reading the ready line
should most probably use it.
- Note: For cases where the READY handshake is done by the cpu
sufficient cycles have to be burnt to simulate that the
cpu waited. This yet has to be implemented.
- use tms rom clock as sense input for the s2650. darkwar now speaks again on startup.
- only one latch used for sound & speech.
- hooked up 393Hz signal to "dac3"
- pcb pictures indicate discrete logic on the sound board. Marked all games as GAME_IMPERFECT_SOUND since we seem to miss some sounds.
- 4bit dac remains mysterious
(Off the record)
I verified this thing against IDA Pro's 56156 disassembler and the docs.
Every time I found a bug in IDA's disassembler, I cross-referenced the
manual. There remain 3 opcodes which are questionably disassembled,
since even the manual is ambiguous on the details, but beyond that,
this thing should be 100% correct.
Whew. This might have actually fleshed out a bug in the
disassembly/execution. Time will tell...
CVS:
- hook up speech cpu
- get rid of "temporary" code which hardwire ctl & pdc writes
tms5110:
- Implement ctl port input/output for status reads.
- Input/output is switched by clocking pdc after a TALK STATUS command.
- update drivers to support new tms5110_ctl_r
Not worth mentioning, I think. NSS bios does not need update, so it's a minor change for MAME (but necessary for the possible legal issues of including those bits in the source)