SMS core

https://github.com/MiSTer-devel/Main_MiSTer/wiki

Moderators: Mug UK, Zorro 2, Greenious, spiny, Sorgelig, Moderator Team

slingshot
Atari God
Atari God
Posts: 1281
Joined: Mon Aug 06, 2018 3:05 pm

Re: SMS core

Postby slingshot » Thu May 02, 2019 1:03 am

If ioctl_addr[9] is 1, then it means a +512 byte (normal ROM size is 2^n, so ioctl_addr[n-1:0] is zero after the ROM download, add 512, and you'll get 1 at [9]).

theflynn49
Atari User
Atari User
Posts: 36
Joined: Fri Apr 19, 2019 9:06 am

Re: SMS core

Postby theflynn49 » Thu May 02, 2019 7:35 am

slingshot wrote:If ioctl_addr[9] is 1, then it means a +512 byte (normal ROM size is 2^n, so ioctl_addr[n-1:0] is zero after the ROM download, add 512, and you'll get 1 at [9]).


silly me, of course 2^9=512 ... This morning its making more sense :)

theflynn49
Atari User
Atari User
Posts: 36
Joined: Fri Apr 19, 2019 9:06 am

Re: SMS core

Postby theflynn49 » Sun May 05, 2019 3:20 pm

My fellow SMSers,

I just released a new core, from a new branch, named SMSMSX_20190507.rbf and you can find it here https://github.com/theflynn49/MiSTer_cores/tree/master/mode2-msx
This core supports
- mode2 graphics (like in f16 fighter)
- SMS/MSX dual compatible games (like in Cyborg Z),
- SG-1000 games (like in .. err you know.)

The question that arose is that this core has a lot of modifications in the graphic engine, more than usual, and maybe I broke a few things ...

So it would be nice if you'd test it thoroughly to see if you can find any regression, I mean any SMS native game that worked but doesn't work properly with this new core, and, at the end, choose which branch you want to keep : the new one or the old one more simple.

The mode2 graphic engine has still a few issues, like :
- the left 8 pixels columns should not be here in some games
- sprites appear on the right side of the screen in an erroneous manner

Thank you .

albconde
Atari maniac
Atari maniac
Posts: 95
Joined: Thu Nov 30, 2017 8:56 am

Re: SMS core

Postby albconde » Sun May 05, 2019 10:38 pm

Test a lot of games with version 0506.
Only one regression found ,present in version 0507 too.
Arcade Smash Hits (Europe) : problems with screen in pal mode , Works in ntsc but the image is shrunken , Works pal an ntsc in last oficial version 0427

theflynn49
Atari User
Atari User
Posts: 36
Joined: Fri Apr 19, 2019 9:06 am

Re: SMS core

Postby theflynn49 » Mon May 06, 2019 9:22 am

Very nice catch Albconde ! try this hotfix : SMSMSX_FIX_20190507.rbf

A few more goodies :

- most SMSMSX games need the OSD parameter "no bios"

- some of them need a patch :

F-1 Spirit : adr $0000 is : F3 C3 E4 00 00 00 should be : 41 42 F3 C3 E4 00
Knightmare II : adr $0000 is : F3 C3 A5 00 00 00 s/b : 41 42 F3 C3 A5 00
Nemesis2 : adr $0000 is F3 C3 E9 00 00 00 s/b : 41 42 F3 C3 E9 00
Penguin Adv : adr $0000 is F3 C3 A6 00 00 00 s/b : 41 42 F3 C3 A6 00

(thanx to "hyperterminal" ... who by the way is the guy who insisted to have mode2 implemented in the core)

theflynn49
Atari User
Atari User
Posts: 36
Joined: Fri Apr 19, 2019 9:06 am

Re: SMS core

Postby theflynn49 » Mon May 06, 2019 12:04 pm

I made a MiST version of the latest core : sms_mist_20190507.rbf ... aaaand I just realized it's not the correct forum to talk about it :D

Sorgelig
Ultimate Atarian
Ultimate Atarian
Posts: 5284
Joined: Mon Dec 14, 2015 10:51 am
Location: Russia/Taiwan

Re: SMS core

Postby Sorgelig » Mon May 06, 2019 1:11 pm

I don't understand.
Games made for SMS but they need a patch?

theflynn49
Atari User
Atari User
Posts: 36
Joined: Fri Apr 19, 2019 9:06 am

Re: SMS core

Postby theflynn49 » Mon May 06, 2019 1:34 pm

Sorgelig wrote:I don't understand.
Games made for SMS but they need a patch?


These are dual compatible MSX/SMS games, and they are supposed to start with the two-bytes "AB" which are quite alike NOPs in z80.
That's the way they (but who is "they" ?) choose to recognize these games, but in real life, not all of them had this modification.
At the end, the choice could be to recognize all these dual-compatible games with a separate extension, or finish the job by modifying the roms.

I should add : only about 10 roms are involved by this SMS/MSX special korean mapper.

grips03
Retro freak
Retro freak
Posts: 12
Joined: Thu May 16, 2019 3:37 am

Re: SMS core

Postby grips03 » Sat May 18, 2019 6:47 pm

SMS core's menu is off by one. Example: Press menu, go to an option in the SMS menu, press button 1, notice how the option above what you have highlighted changes. I ran update script today and still get the same result.

Sorgelig
Ultimate Atarian
Ultimate Atarian
Posts: 5284
Joined: Mon Dec 14, 2015 10:51 am
Location: Russia/Taiwan

Re: SMS core

Postby Sorgelig » Sat May 18, 2019 7:02 pm

You need to update MiSTer binary

grips03
Retro freak
Retro freak
Posts: 12
Joined: Thu May 16, 2019 3:37 am

Re: SMS core

Postby grips03 » Sat May 18, 2019 8:59 pm

Updating MiSTer binary fixed the issue. I also updated the Menu at the same time.

Thank you.

onaryc29
Atari nerd
Atari nerd
Posts: 45
Joined: Mon Dec 10, 2018 9:47 am

Re: SMS core

Postby onaryc29 » Mon Jun 03, 2019 3:43 pm

Is there any work concerning an auto region loading?

After some research (http://www.smspower.org/Development/ROMHeader), for the sms, there are only 2 regions in the header, japan or export (which seems to regroup the US and europe), so there is no way to auto select also the video mode :evil:.


Return to “MiSTer”

Who is online

Users browsing this forum: metaview, tom5151, wwark and 11 guests