找回密码
 立即注册

微信扫码登录

使用验证码登录

QQ登录

只需一步,快速开始

查看: 147|回复: 8

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

[复制链接]

437

主题

303

回帖

5033

积分

版主

积分
5033

优秀版主

发表于 6 小时前 | 显示全部楼层 |阅读模式
本帖最后由 sjy96525 于 2025-7-15 15:52 编辑

部分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 [hap, Jim Westfall]
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() [hap, Jim Westfall]
https://github.com/mamedev/mame/ ... f4bcb5e1502d7a91ad6

k051733: add lfsr, improve collision detection [hap, Jim Westfall]
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 [hap, Jim Westfall]
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 [hap, Jim Westfall]
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 [hap, Jim Westfall]
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 [hap, Jim Westfall]
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 [hap, Jim Westfall]
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) [hap, Jim Westfall]
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 [hap, Jim Westfall]
https://github.com/mamedev/mame/ ... 023e09436390f07b25d

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

模拟器:
32.zip (17.49 MB)
64.zip (17.45 MB)

战斗学校
bootcamp.zip (524.07 KB)
bootcampa.zip (524.03 KB)
combatsc.zip (524.12 KB)
combatscj.zip (523.94 KB)
combatsct.zip (524.02 KB)

魂斗罗,超级魂斗罗
contra.zip (379.31 KB)
contra1.zip (379.3 KB)
contrae.zip (383.5 KB)
contraj.zip (379.37 KB)
contraj1.zip (379.36 KB)
gryzor.zip (379.2 KB)
gryzor1.zip (379.32 KB)
scontra.zip (1.17 MB)
scontraa.zip (1.15 MB)
scontraj.zip (1.17 MB)

饿流祸
devstors.zip (613.87 KB)
devstors2.zip (614.91 KB)
devstorsv.zip (613.86 KB)
devstorsx.zip (614.9 KB)
garuka.zip (614.92 KB)

雷霆战机
链接: https://pan.baidu.com/s/1HXrOf9xNlY_c2CZ4BcqDTg 提取码: 9ugw
thunderx.zip (506.88 KB)
thunderxa.zip (504.41 KB)
thunderxb.zip (506.87 KB)
thunderxj.zip (506.88 KB)

雷霆战机2
链接: https://pan.baidu.com/s/1uqgT0_dk2UVlbeubj2GX_Q 提取码: 7auy
thndrx2.zip (1 MB)
thndrx2a.zip (1 MB)
thndrx2j.zip (1 MB)

异形魂斗罗
https://pan.baidu.com/s/1slfXQcl
aliens.zip (1.44 MB)
aliens2.zip (1.44 MB)
aliens3.zip (1.44 MB)
aliens4.zip (1.44 MB)
aliensa.zip (1.43 MB)
aliensj.zip (1.43 MB)
aliensj2.zip (1.43 MB)
aliensu.zip (1.44 MB)

棒球最后关头
bottom9.zip (962.1 KB)
bottom9n.zip (962.05 KB)
mstadium.zip (971.2 KB)

街头赛车
chqflag.zip (1.22 MB)
chqflagj.zip (1.22 MB)

完善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

模拟器:
32.zip (18.27 MB)
64.zip (18.66 MB)

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

47

主题

570

回帖

1424

积分

金牌会员

积分
1424
发表于 6 小时前 | 显示全部楼层
附件是arcade64 ,不是mame 啊

4

主题

45

回帖

3679

积分

论坛元老

积分
3679
发表于 6 小时前 来自手机 | 显示全部楼层
多謝分享!希利大冒險同野球忍者兵累積多年嘅問題終於解決咗!

38

主题

2741

回帖

8967

积分

论坛元老

积分
8967
QQ
发表于 6 小时前 来自手机 | 显示全部楼层
感谢分享
1227
回复

使用道具 举报

0

主题

5

回帖

82

积分

注册会员

积分
82
发表于 5 小时前 | 显示全部楼层
忍者棒球 终于能在MAME上完美模拟了 这一等不知道过去了多少年!

1

主题

40

回帖

442

积分

中级会员

积分
442
发表于 5 小时前 | 显示全部楼层
又更新了
回复

使用道具 举报

0

主题

72

回帖

1399

积分

金牌会员

积分
1399
发表于 5 小时前 | 显示全部楼层
希望落日骑士的图像问题某一天也能得到修复

1

主题

91

回帖

2148

积分

金牌会员

积分
2148
发表于 5 小时前 | 显示全部楼层
好消息!MAME越来越完善了。

152

主题

1万

回帖

2万

积分

论坛元老

积分
22859

推广达人最佳新人

发表于 4 小时前 | 显示全部楼层
进来支持一下
您需要登录后才可以回帖 登录 | 立即注册

本版积分规则

QQ|Archiver|手机版|小黑屋|肖琪模拟游戏站 ( 沪ICP备2023018581号-5|沪公网安备31011702888952号 )

GMT+8, 2025-7-15 21:25 , Processed in 0.078269 second(s), 4 queries , Redis On.

Powered by Discuz! X3.5

© 2001-2025 Discuz! Team.

快速回复 返回顶部 返回列表