|
Joined: Jan 2006
Posts: 3,691
Very Senior Member
|
Very Senior Member
Joined: Jan 2006
Posts: 3,691 |
My bad. I should have studied better the code (I got confused by the 512 above), before jumping to the wrong fix...  Thanks for fixing it, Arbee.
|
|
|
|
Joined: Aug 2009
Posts: 1,265 Likes: 199
Very Senior Member
|
Very Senior Member
Joined: Aug 2009
Posts: 1,265 Likes: 199 |
Bug report: Notice that sprites have up and left wraparound issues, especially noticeable in Super Mario World, you can easily test it in water levels by going off-screen with Mario. Anyway, time for me to check how the Nintendo Super System BIOS works, it's a z80 plus external video output (M50458 - Mitsubishi M50458-001SP On-Screen Display (OSD) Chip (NDIP32), I haven't found any manual so far, Stiletto?  ). I've got to the point that it loads the Instruction ROM, and then it waits for a vblank irq ... by doing this: 13EC: 3E 10 ld a,$10 13EE: ED 47 ld i,a 13F0: ED 57 ld a,i 13F2: FE 10 cp $10 13F4: 28 FA jr z,$13F0 13F6: C9 retRISC-style IRQs anyone?
|
|
|
|
Joined: Jan 2006
Posts: 3,691
Very Senior Member
|
Very Senior Member
Joined: Jan 2006
Posts: 3,691 |
Bug report: Notice that sprites have up and left wraparound issues, especially noticeable in Super Mario World, you can easily test it in water levels by going off-screen with Mario. Offscreen in which direction? right-left wraparound should be quite good (e.g. Super Bomberman 5 title screen uses sprites wrap for the leftmost character and it's fine with current code) up-down wraparound is otoh not that good: I noticed it when I fixed the Sim City problem, but my first attempts to improve it were breaking some other games... I plan to do some more experiments after 0.138 is out (to avoid further regressions before the full release) EDIT: and good luck with NSS! the menus have always been a mystery to me (and Reip too, iirc)
|
|
|
|
Joined: Mar 2001
Posts: 17,239 Likes: 263
Very Senior Member
|
Very Senior Member
Joined: Mar 2001
Posts: 17,239 Likes: 263 |
I thought the NSS menu processor code was unknown and didn't disassemble meaningfully. Was it decrypted?
|
|
|
|
Joined: Aug 2009
Posts: 1,265 Likes: 199
Very Senior Member
|
Very Senior Member
Joined: Aug 2009
Posts: 1,265 Likes: 199 |
It's just a plain z80, according also to Guru^TM readme. Probably there was an old dump that didn't disassemble correctly ... or not? I've always thought that was a z80 anyway, fwiw ...
Probably major issues comes with the VDP stuff ... I'm getting some results now, the BIOS is really complex and I bet whatever you want that without major z80 dasm skills you won't go to anywhere, first thing that comes to mind are the 2 (yeah, TWO) EEPROM devices.
|
|
|
|
Joined: Oct 2006
Posts: 1,017 Likes: 21
Very Senior Member
|
Very Senior Member
Joined: Oct 2006
Posts: 1,017 Likes: 21 |
M50458 - hm, okay. Related patent: http://www.google.com/patents?id=MZ..._r&cad=0#v=onepage&q&f=falseand we will never see that user manual...  Datasheet... Sangmeister has it, I'll go ping him. [EDIT] Al may also have it, we'll see who's first...
Last edited by Stiletto; 05/18/10 07:27 PM.
|
|
|
|
Joined: Mar 2001
Posts: 17,239 Likes: 263
Very Senior Member
|
Very Senior Member
Joined: Mar 2001
Posts: 17,239 Likes: 263 |
Go go Stiletto Power! 
|
|
|
|
Joined: Jan 2006
Posts: 3,691
Very Senior Member
|
Very Senior Member
Joined: Jan 2006
Posts: 3,691 |
with latest svn, the following is now possible in MESS: ![[Linked Image from mamedev.emulab.it]](http://mamedev.emulab.it/etabeta/fast/files/0000_522002938.png) given that it's not possible for carts to enable subslots, I had to create a new driver "snesst" which (similarly to snessfx) emulates a SNES+Sufami Base Cart and offers 2 cartslot to the user to mount the st carts More screens ![[Linked Image from mamedev.emulab.it]](http://mamedev.emulab.it/etabeta/fast/files/0003_552334835.png) ![[Linked Image from mamedev.emulab.it]](http://mamedev.emulab.it/etabeta/fast/files/0009_175101260.png) ![[Linked Image from mamedev.emulab.it]](http://mamedev.emulab.it/etabeta/fast/files/0015.png) some games work, some freeze at start. also, mounting two carts is acknowledged by the emulated systems, e.g. because it warns you about carts inserted in the wrong slot ![[Linked Image from mamedev.emulab.it]](http://mamedev.emulab.it/etabeta/fast/files/0019.png) and it sees both mounted carts ![[Linked Image from mamedev.emulab.it]](http://mamedev.emulab.it/etabeta/fast/files/0017.png) but I don't think all data are read correctly... I also had some work on the BS-X memory mapping which seemed promising (the CPU was able to reach reasonable code), but it turned out to be busted. so I threw it away and I left only the BS-X cartslot work. Due to device limitations, also the bsx unit is emulated with a separate driver: snesbsx offers two cartslots, the first for the base BS-X cart or for a compatible cart (like Same Game) and the second for the flash cart. However, the driver does nothing at the moment.
|
|
|
|
Joined: May 2004
Posts: 1,009 Likes: 118
Very Senior Member
|
Very Senior Member
Joined: May 2004
Posts: 1,009 Likes: 118 |
Just a small request: Please split unrelated commits, this makes testing for regressions and viewing changes easier.
|
|
|
|
Joined: Jan 2006
Posts: 3,691
Very Senior Member
|
Very Senior Member
Joined: Jan 2006
Posts: 3,691 |
sorry. I feared I could miss some makefile change, breaking the compilation (which, of course, I managed to nevertheless, by missing one .h file)
Last edited by etabeta78; 05/19/10 09:53 AM.
|
|
|
0 members (),
58
guests, and
5
robots. |
Key:
Admin,
Global Mod,
Mod
|
|
Forums9
Topics9,331
Posts122,197
Members5,077
|
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!
|
|
|
|