> -----Original Message-----
> From: Gabriele Gorla [mailto:gorlik@penguintown.net]
> Sent: Saturday, August 29, 2009 5:39 AM
> To: submit@mamedev.org
> Cc: Gabriele Gorla
> Subject: Re: i386: fix carry/borrow flag in ADC/SBB
>
> > the original code implements ADC and SBB as 2 consecutive ADDs.
> > This will not produce the correct result when the carry is generated
> by
> > the first addition as it is overwritten by the second operation.
>
> updated patch, fixes a typo.
Compiling src/mame/video/stvvdp2.c...
src/mame/video/stvvdp2.c: In function 'stv_vdp2_draw_rotation_screen':
src/mame/video/stvvdp2.c:4752: internal compiler error: Segmentation fault
Please submit a full bug report,
with preprocessed source if appropriate.
See <http://gcc.gnu.org/bugs.html> for instructions.
mingw32-make: *** [obj/windows/mamed/mame/video/stvvdp2.o] Error 1
* Corrected CPU clock to Xtal/8.
* Discovered 3 new I/O lines coming from PPI-2, PC0-PC2. They are mixed with the handshake ones.
* Added the READOUT button to noraut12 games.
* Splitted the main machine driver to cover 2 different Noraut systems.
* Added partial support for PPI-2, PC0-PC2 output lines on noraut11 games.
* Figured out other remaining I/O lines.
* Added new handlers to simulate the handshake lines. Still need real support through PPI-2.
* Updated technical notes.
Hi mamedev,
This patch continues deglobalifying the MAME core, this time targeting
sound.c. The first two patches adds running_machine to apis in
sound.h that lack it (the first patch is generated by the perl script,
the second patch fixes some cases it didn't handle well). The last
patch then removes the globals in the traditional way.
~aa
Date: Sun, 23 Aug 2009 10:09:43
To: submit@mamedev.org<submit@mamedev.org>
Subject: Clones
Found some ROM dumps on the internet that MAME didn't recognize.
kchampa - Karate Champ (US, set 2) - kchamp.c (renamed Karate Champ
(US) to Karate Champ (US, set 1))
strongx - Strong X (Strategy X bootleg) - scobra.c
The bprom for Royal Card Pro v2.0 was verified correct as the current driver listed. Originally the bprom wasn't dumped and one was used from another set.
(NOTE: Apologies if this ruins your previous cleaning, Aaron. The previous machine/kaneko16.c I posted just minutes before you made the version snap didn't have the Shogun improvements).
* Fixed the coin counters.
* Documented all the output ports.
* Added a scheme with descriptions for every existent port.
* Added full lamps support to naroutp, naroutjp, naroutrh and naroutpn.
* Created lamps layouts for 11 and 12-lamps scheme.
* Rerouted some inputs to mantain the inputs layout.
* Renamed some inputs to match the text with the real cab buttons.
* Removed the imperfect colors flag from the existent sets.
* Added 2 different control panel layouts to the source.
* Updated technical notes.
- some more "list-ification"
- No more constraints on number of input and output nodes
- input nodes now make use of a context
Some of these changes are needed to introduce "internally buffered" input nodes going forward. These will use an internal stream to buffer all inputs so that stream_update will always calculate 20ms of samples.
- Disabled RAM/ROM clocking, going with instant transfer for now
- Understood and re-enabled pipelined instruction architecture, Star Fox runs farther
- Fixed a ridiculous typo in ROL instruction
- Corrected carry flag behavior in ROL opcode
- Corrected BRA target address calculation (maybe still wrong)
- Corrected LOOP target address calculation
- Made sure that FROM sets cpustate->sreg_idx
- Redumped GFX Roms [Guru]
- Added hitbox simulation based on suprnova / game requirements [Tomasz Slanina]
- Converted MCU writes to use write_byte [David Haywood]
- Added kludge to reset MCU data write address to prevent game from running out of ram and crashing [David Haywood]
- Added DSWs [David Haywood]
New games added or promoted from NOT_WORKING status
---------------------------------------------------
B.Rap Boys / B.Rap Boys Special [David Haywood, Tomasz Slanina, Luca Elia]
Corrected one rom name for Mega Touch 6 set
Added dip port locations
Corrected dips for the 2 Pit Boss Megastar sets
Improved the dips for Pit Boss Supertouch 30
Minor information / documentation updates
* Executed a trojan on 2 noraut systems to confirm the way 16x32 tiles are decoded.
* Fixed the x-offset for 32x32 tiles lines.
* Fixed the screen aspect and visible area.
* Confirmed correct colors. No bipolar PROM involved.
* Added Noraut Joker Poker hardware and PCB layouts.
* Documented the discrete audio circuitry. Added a full diagram.
The following driver updates: [Brian Troha]
Corrected rom names for the Megastar & Supertouch 30
Added missing rom to Supertouch 30 and verified old bad_dumps
Added documentation about the Megastar sets
Made pbst30b a clone of pbst30 and added program versions to the name, IE: Pit Boss Supertouch 30 (9234-10-01)
New Clone Added
-------------------------
Pit Boss Megastar (9244-00-01) [Brian Troha, Dumping Union]
Introduced DISCRETE_TASK_START, DISCRETE_TASK_END
DISCRETE_TASK_START
- Start a new task. A task is a set of nodes which only depend on input nodes and nodes in the set
DISCRETE_TASK_END(task_output_node)
- Marks the end of the task. task_output_node is the node whose output over time should be preserved. This node can be accessed by nodes in the main thread.
Order of execution:
a) All tasks in parallel
b) All nodes not part of a task. These may only refer to nodes listed in DISCRETE_TASK_END
Illustrated the concept in the dkong discrete emulation. This also has been enhanced to buffer DAC output.
Further changes:
- DISCRETE_OUTPUT now is a stepping node.
- DISCRETE_STREAM_INPUT now advances input pointer in step.
- More linked_list usage.
I estimate that the rework without tasks leads to a 5% performance gain. For dkong, the usage of tasks adds another 15%.
There are some features missing:
- Multiple nodes in DISCRETE_TASK_END
- More task consistency checks
- Task identifiers for tasks