|
Joined: May 1999
Posts: 157
Senior Member
|
Senior Member
Joined: May 1999
Posts: 157 |
On a related note, I don't think I can improve the driver much further without proper waitstate support in the core. That's mnemodemo 1, part 2 in MESS (with some wip changes): Talking about waitstates and memory contention, did you know this article? It'd be interesting to replicate this technique on the different ZX Spectrum clones to determine whether they have a contended memory scheme or not.
JoJo
|
|
|
|
Joined: Jul 2007
Posts: 4,625
Very Senior Member
|
OP
Very Senior Member
Joined: Jul 2007
Posts: 4,625 |
It exist a Sharp MZ-2500 skeleton driver. I have some more ROMs and a lot of disk images for this japanese computer ( very hard to find ). If someone is interested, please send me a PM.
|
|
|
|
Joined: Aug 2009
Posts: 1,259 Likes: 187
Very Senior Member
|
Very Senior Member
Joined: Aug 2009
Posts: 1,259 Likes: 187 |
Guess that I should be interested, since it has common characteristics with the Sharp X1?
|
|
|
|
Joined: Mar 2001
Posts: 17,234 Likes: 259
Very Senior Member
|
Very Senior Member
Joined: Mar 2001
Posts: 17,234 Likes: 259 |
|
|
|
|
Joined: Jul 2007
Posts: 4,625
Very Senior Member
|
OP
Very Senior Member
Joined: Jul 2007
Posts: 4,625 |
|
|
|
|
Joined: May 2004
Posts: 1,772 Likes: 34
Very Senior Member
|
Very Senior Member
Joined: May 2004
Posts: 1,772 Likes: 34 |
looks rather nice, what's the hardware? This is exactly the kind of obscure system MESS needs the software lists for :-)
|
|
|
|
Joined: Aug 2009
Posts: 1,259 Likes: 187
Very Senior Member
|
Very Senior Member
Joined: Aug 2009
Posts: 1,259 Likes: 187 |
Sharp MZ-2500, and yes, it really looks A LOT like Sharp X1 with somewhat improved colors ;P EDIT: Actually -> This is the Sharp X1 version of Excitebike ... guess that they directly ported it without any changes ...
|
|
|
|
Joined: Feb 2005
Posts: 449
Senior Member
|
Senior Member
Joined: Feb 2005
Posts: 449 |
Which wd17xx bug is preventing Sharp MZ-2500 from working?
|
|
|
|
Joined: Aug 2009
Posts: 1,259 Likes: 187
Very Senior Member
|
Very Senior Member
Joined: Aug 2009
Posts: 1,259 Likes: 187 |
Well, I'm not an expert of this but the wd17xx hook-up doesn't make sense to me, it writes:
0xbe -> [0xdc] 0xfa -> [0xdd] 0x84 -> [0xdc] 0x12 -> [0xdd] 0xf7 -> [0xd8]
Then expect that the status bit is set high at [0xd8]. According to the source code, 0xd8-0xdb should be the usual command, track, sector, data, but if I hack the aforementioned status bit I get:
0xfe -> [0xda] 0xff -> [0xdb] 0x00 -> [0xde] (?) 0x13 -> [0xdd] 0xff -> [0xd9] 0x7f -> [0xd8] Then it reads again the status bit ... ah, doesn't read the data thing ... at all ...
Last edited by Kale; 03/29/10 12:34 PM. Reason: small info addition
|
|
|
|
Joined: Sep 2009
Posts: 15
Member
|
Member
Joined: Sep 2009
Posts: 15 |
I fixed some sprite stuff in the Super A'Can driver. Could someone commit this, please? Index: src/mess/drivers/supracan.c
===================================================================
--- src/mess/drivers/supracan.c (revision 7688)
+++ src/mess/drivers/supracan.c (working copy)
@@ -19,13 +19,11 @@
- Priorities;
- Boom Zoo: missing window effect applied on sprites;
- Sango Fighter: Missing rowscroll effect;
-- Sango Fighter: sprites doesn't get drawn on the far right of the screen;
- Sango Fighter: sprites have some bad gaps of black;
- Sango Fighter: Missing black masking on the top-down edges of the screen on gameplay?
- Sango Fighter: intro looks bogus, dunno what's supposed to draw...
- Super Taiwanese Baseball League: Missing window effect applied on a tilemap;
- Super Taiwanese Baseball League: Unemulated paging mode;
-- Super Dragon Force: sprite y masking limit looks wrong;
- Super Dragon Force: priority issues with the text;
- Super Dragon Force: wrong ysize on character select screen;
@@ -280,7 +278,7 @@
/*
[0]
---h hhh- ---- ---- Y size
- ---- ---- yyyy yyyy Y offset
+ ---- ---y yyyy yyyy Y offset
[1]
bbbb ---- ---- ---- sprite offset bank
---- d--- ---- ---- horizontal direction
@@ -294,16 +292,17 @@
for(i=spr_base/2;i<(spr_base+(state->spr_limit*8))/2;i+=4)
{
- x = supracan_vram[i+2] & 0x00ff;
- y = supracan_vram[i+0] & 0x00ff;
+ x = supracan_vram[i+2] & 0x01ff;
+ y = supracan_vram[i+0] & 0x01ff;
spr_offs = supracan_vram[i+3] << 2;
bank = (supracan_vram[i+1] & 0xf000) >> 12;
hflip = (supracan_vram[i+1] & 0x0800) ? 1 : 0;
vflip = (supracan_vram[i+1] & 0x0400) ? 1 : 0;
- /* FIXME: Sango Fighter doesn't like this, check why ... */
- if(supracan_vram[i+2] & 0x100)
- x-=256;
+ if(x > cliprect->max_x)
+ x-=0x200;
+ if(y > cliprect->max_y)
+ y-=0x200;
if(supracan_vram[i+3] != 0)
{
|
|
|
0 members (),
262
guests, and
0
robots. |
Key:
Admin,
Global Mod,
Mod
|
|
Forums9
Topics9,328
Posts122,126
Members5,074
|
Most Online1,283 Dec 21st, 2022
|
|
These forums are sponsored by Superior Solitaire, an ad-free card game collection for macOS and iOS. Download it today!
|
|
|
|