sjy96525 发表于 2025-7-15 14:37:59

mame 0.279修复部分Konami游戏,完善Irem M72,M92驱动

本帖最后由 sjy96525 于 2025-7-20 13:19 编辑

部分Konami游戏
k007121: sprite list and related fixes
I was recently doing some testing on a contra board around the 007121 IC and found the following

- There is no sprite limit, but instead a 264 8x8 sprite block limit
- There is no buffering of sprite data on the attached SRAM

From this the follow changes have been made

- Use the 264 8x8 sprite block limit to determine number of sprites that should be rendered
- Remove sprite ram buffering, and move logic for picking sprite ram bank into k007121.cpp
- Comment updates related to the limit and non-buffering

Additionally the high bit of tiles are stored in one of the control registers, if this bit changes all tiles should be marked as dirty.

These changes fix a number of sprite related issues on games using this chip

mametesters 00185 (combatsc: missing sprites)
mametesters 00401 + issue #7957 (contra: left over sprites)

https://github.com/mamedev/mame/ ... bcb66b3e1804df4c9a8

k007121: add sprite buffer (otherwise 1 frame sprite lag in eg. hcastle, contra, labyrunr)
https://github.com/mamedev/mame/ ... 9add37bef94f5f085da

k007121: update notes,
combatsc: assume vtotal=264 (refresh rate is same as before)
https://github.com/mamedev/mame/ ... d5d4ec9208bf7c6b009

konami drivers with k007121: add screen raw params
https://github.com/mamedev/mame/ ... 86e9c48af4eaf10fc67

k007232: log wav data at keyon instead of at every stream update
https://github.com/mamedev/mame/ ... a3bd0fb16ab9e27184b

k007232: remove really old changelog
https://github.com/mamedev/mame/ ... 890c78bc94ea4dc5715

k007121: do flipscreen and dirty tilemap marking with callbacks
https://github.com/mamedev/mame/ ... e588c90f3cffd3f16c0

contra,fastlane,flkatck,labyrunr: fix flipscreen (except for labyrunr ending sequence)
https://github.com/mamedev/mame/ ... ea0ea07050d86e7e049

labyrunr: fix flipscreen for ending sequence
https://github.com/mamedev/mame/ ... f7eb4de64c9cbe2f88b

contra: add missing watchdog
https://github.com/mamedev/mame/ ... c49d2af09265fd7c4f8

k007121: update notes, avoid shift with negative amount in drivers
https://github.com/mamedev/mame/ ... 2dbc33e25dd989fe6e3

k007121 drivers: remove "not verified" comment for screen raw params,
contra: add watchdog period
https://github.com/mamedev/mame/ ... 0f0044f61d3fd9bf062

k007121: add interrupts and scrollram
https://github.com/mamedev/mame/ ... d76b7999c28dfdba11c

contra,fastlane,flkatck,labyrunr: correction to bgcolor
https://github.com/mamedev/mame/ ... f83df1f2384b49a3f7a

k007121 drivers: correct pixel clock
https://github.com/mamedev/mame/ ... a9b7c4b28217a419842

k051733: added nmi timer
https://github.com/mamedev/mame/ ... ee34c4f8fb6b6b13f27

mainevt: add note about htotal,
misc konami sprite chips: small cleanup
https://github.com/mamedev/mame/ ... 6f3f472ede93c636f88

k051733: fix divide by 0, fix sqrt off-by-1, change rng to machine().rand()
https://github.com/mamedev/mame/ ... f4bcb5e1502d7a91ad6

k051733: add lfsr, improve collision detection
https://github.com/mamedev/mame/ ... e27a671230437f5dbf8

k051733: no need to shift lfsr by 2, remove old notes about then-unknown reg 6
https://github.com/mamedev/mame/ ... 9bb6ac1d117b8b71294

k051733: shorthand variable types
https://github.com/mamedev/mame/ ... 3a53cb0aa8a24c5d7d0

k051733: simpler sqrt function (result is same)
https://github.com/mamedev/mame/ ... cdc2ddd2afdf5da9772

k051733: improve reg 7
https://github.com/mamedev/mame/ ... 61e2924dae6c534a587

k051733: division appears to be signed
https://github.com/mamedev/mame/ ... 1fed34ba51f4caa10c4

k051960: disable shadow config bit 0 (it was only used in chqflag and ultraman, and both needed a workaround),
ultraman: shadows_w is actually irq enable
https://github.com/mamedev/mame/ ... 719b0e3ef1843b30163

chqflag: headlights are still on at dawn
https://github.com/mamedev/mame/ ... bc9689377898c6a6288

chqflag: improve highlights
https://github.com/mamedev/mame/ ... f312430e3f2956e11d9

tmnt: lower overall volume
https://github.com/mamedev/mame/ ... f79c8401367af3d55fc

chqflag: update prev commit, a bit more tweaking
https://github.com/mamedev/mame/ ... 9ceef08c9ce307d1f21

k051960: improve sprite y zoom
https://github.com/mamedev/mame/ ... efd2e391400e2f74ded

k051960: add sprite buffer
https://github.com/mamedev/mame/ ... 13398873c908bcb1154

aliens: revert change i didn't intend to commit (although it is likely correct)
https://github.com/mamedev/mame/ ... 7f98f88ef3588b798de

k051960: add sprite busy flag
https://github.com/mamedev/mame/ ... 22a14a812def609b93a

k051960: add irq enable
https://github.com/mamedev/mame/ ... 4e1288f484eecebcbc6

chqflag: assume vtotal is 264
https://github.com/mamedev/mame/ ... adb15bc3072ff5d276f

k052109 drivers: add screen raw params, small cleanup
https://github.com/mamedev/mame/ ... d7b22fa1cbac33a91f1

k051960: improve nmi timer
https://github.com/mamedev/mame/ ... b523d507f116c78154e

k007121: firq is every other frame
https://github.com/mamedev/mame/ ... 7e296d6ed4883c62d9b

chqflag: tweak analog controls
https://github.com/mamedev/mame/ ... 4d3f7c4e19403a4c57b

bottom9: fix sprite priority regression, small cleanup
https://github.com/mamedev/mame/ ... 44d4db7ae5623cda7fe

k051960: improve sprite busy duration
https://github.com/mamedev/mame/ ... bbd1605061a5ea29738

tilemap: add col+rowscroll, and also add it to k052109
https://github.com/mamedev/mame/ ... 7c6b3e2520a9fab1b5d

k052109: add nmi and firq timers (copy paste to/from k051960)
https://github.com/mamedev/mame/ ... 8e51f67c5a73149793f

crimfght,vendetta: set VIDEO_UPDATE_AFTER_VBLANK flag
crimfght: writes tilemap registers during active display area, which won't have effect until the next frame
vendetta: probably just sprite dma
https://github.com/mamedev/mame/ ... 90cf899b810b13dac43

tilemap: add callback for custom scrolling, and add one to k052109 for its combined col/rowscroll
https://github.com/mamedev/mame/ ... 023e09436390f07b25d

修复了战斗学校,魂斗罗,饿流祸,雷霆战机2,异形魂斗罗,棒球最后关头,街头赛车图像问题。

模拟器:



战斗学校






魂斗罗,超级魂斗罗











饿流祸






雷霆战机
链接: https://pan.baidu.com/s/1HXrOf9xNlY_c2CZ4BcqDTg 提取码: 9ugw





雷霆战机2
链接: https://pan.baidu.com/s/1uqgT0_dk2UVlbeubj2GX_Q 提取码: 7auy




异形魂斗罗
https://pan.baidu.com/s/1slfXQcl









棒球最后关头




街头赛车



完善Irem M72,M92驱动
m72: tweak bg layer 2 transmask workaround
https://github.com/mamedev/mame/ ... 8611745fc2f8aeebe8b

m72: improve tile priorities
https://github.com/mamedev/mame/ ... 7104db49a3afd388a84

nec cpu: rep opcodes are interruptable
https://github.com/mamedev/mame/ ... 9fcb402a6b7167487b1

m92: add sprite/video disable flags, put bootlegs on different hw in subclass
https://github.com/mamedev/mame/ ... d324a4b30700f5aafae

Irem M72+M92 Roms
链接: https://pan.baidu.com/s/1QJslnY9dIcJwWhVM85GAmg 提取码: 4jkc

模拟器:



修复了Mr.HELI 大冒险,忍者棒球图像问题。

william 发表于 2025-7-15 14:57:11

附件是arcade64 ,不是mame 啊

昇龍霸拳 发表于 2025-7-15 15:03:42

多謝分享!希利大冒險同野球忍者兵累積多年嘅問題終於解決咗!

Alifu1227 发表于 2025-7-15 15:24:19

感谢分享

lsq0723 发表于 2025-7-15 15:48:40

忍者棒球 终于能在MAME上完美模拟了 这一等不知道过去了多少年!

txblyys 发表于 2025-7-15 16:00:39

又更新了

jsjyqz 发表于 2025-7-15 16:02:37

希望落日骑士的图像问题某一天也能得到修复

LeiBen 发表于 2025-7-15 16:22:37

好消息!MAME越来越完善了。

爱唱歌的汤姆猫 发表于 2025-7-15 16:53:17

进来支持一下

145230 发表于 2025-7-16 09:09:33

lsq0723 发表于 2025-7-15 15:48
忍者棒球 终于能在MAME上完美模拟了 这一等不知道过去了多少年!

上面还有盗版忍者棒球和盗版铁钩船长有待修正
页: [1] 2
查看完整版本: mame 0.279修复部分Konami游戏,完善Irem M72,M92驱动