Can all registered uses please login, even just for a few minutes..
It helps build a picture where our "good traffic" is coming from..
Thanks :)

RISKY MSX Cart - Rev 1 (Beta Release)

Home for the Terriblefire MSX clone

Moderators: terriblefire, Terriblefire Moderator

Locked
User avatar
arkadiusz.makarenko
Moderator Team
Moderator Team
Posts: 1371
Joined: Wed Jun 19, 2019 7:36 am
Location: Edinburgh

Re: RISKY MSX Cart - Rev 1 (Beta Release)

Post by arkadiusz.makarenko »

PhilC wrote: Mon Feb 10, 2025 9:19 pm @arkadiusz.makarenko always worth checking the soldering
Soldering is fine.... (unfortunately)

I took a programmer and removed read protect and set up memory assignment (which I have internal routine to set it up as well) and set up again 288KB flash + 32KB RAM. and it works now!

Issue is that I have internal piece of code to do it at power up, and during programming it should be set up at this value as well.


Edit:
...5 minutes later stopped working again ... AA!!
Do not trust people. They are capable of greatness.
~ Stanislaw Lem
User avatar
arkadiusz.makarenko
Moderator Team
Moderator Team
Posts: 1371
Joined: Wed Jun 19, 2019 7:36 am
Location: Edinburgh

Re: RISKY MSX Cart - Rev 1 (Beta Release)

Post by arkadiusz.makarenko »

I honestly believe I am hitting performance celling of this chip, and some MSXs are a little bit more tolerant than other.
I can't do much more in code. It is optimized to almost maximum now.

I have two options, look for faster chip and port code.
Alternatively I can add a crystal oscillator and experiment with overclocking by like 10-15%. I was about to order new PCBs anyway, so I can include external crystal setup (conveniently I have space on PCB exactly where oscillator should go).
Do not trust people. They are capable of greatness.
~ Stanislaw Lem
User avatar
arkadiusz.makarenko
Moderator Team
Moderator Team
Posts: 1371
Joined: Wed Jun 19, 2019 7:36 am
Location: Edinburgh

Re: RISKY MSX Cart - Rev 1 (Beta Release)

Post by arkadiusz.makarenko »

I have came up with few improvements.
I managed to play Nemesis 3 with SCC stable to like 10 minutes (on hardware that refused to cooperate yesterday)

There is some stuff that has to happen during the cycle, like reseting interrupt flag. I was doing it at the begging, but I moved it to slot when cart is waiting for end of the cycle.

Second move was when I do checks and basic calculations waiting for start of write cycle. Like reading data from the bus.
I maybe will move other staff there as well like calculating next position for circular buffer etc.

Hopefully this will work for most MSXs.
Do not trust people. They are capable of greatness.
~ Stanislaw Lem
Higgy
Posts: 489
Joined: Tue Apr 23, 2019 8:05 pm
Location: Somerset

Re: RISKY MSX Cart - Rev 1 (Beta Release)

Post by Higgy »

I tried 0.7.3 and unfortunately it seems to break Nemesis 3 on my HX-10.
After you select weapons and the main action screen starts the action part of the screen has loads of horizontal lines. The UI part of the screen is ok though.
Will be interesting to see what @PhilC gets
User avatar
arkadiusz.makarenko
Moderator Team
Moderator Team
Posts: 1371
Joined: Wed Jun 19, 2019 7:36 am
Location: Edinburgh

Re: RISKY MSX Cart - Rev 1 (Beta Release)

Post by arkadiusz.makarenko »

Higgy wrote: Tue Feb 11, 2025 9:53 pm I tried 0.7.3 and unfortunately it seems to break Nemesis 3 on my HX-10.
After you select weapons and the main action screen starts the action part of the screen has loads of horizontal lines. The UI part of the screen is ok though.
Will be interesting to see what @PhilC gets
Sorry,
I haven't released this version with workarounds yet. I need to retest all mappers first.

It will be marked as v0.8
Do not trust people. They are capable of greatness.
~ Stanislaw Lem
User avatar
arkadiusz.makarenko
Moderator Team
Moderator Team
Posts: 1371
Joined: Wed Jun 19, 2019 7:36 am
Location: Edinburgh

Re: RISKY MSX Cart - Rev 1 (Beta Release)

Post by arkadiusz.makarenko »

And I have released v0.8 now.
I really hope it will make a difference, at least on HX-10s

I have adjusted HSI clock to max - "micro overclocking"

I have reviewed data types on circular buffer to make sure they work as efficiently as possible.
I have moved some processing to sections in bus cycle when we should be waiting for something
Do not trust people. They are capable of greatness.
~ Stanislaw Lem
User avatar
arkadiusz.makarenko
Moderator Team
Moderator Team
Posts: 1371
Joined: Wed Jun 19, 2019 7:36 am
Location: Edinburgh

Re: RISKY MSX Cart - Rev 1 (Beta Release)

Post by arkadiusz.makarenko »

I have added one more optimisation on v0.8.3 - I moved some constant values to literal pool. This should shave off another few cycles. Plus fix pointer
...plus cold boot fix for KONAMI SCC mapper
Do not trust people. They are capable of greatness.
~ Stanislaw Lem
User avatar
PhilC
Moderator
Moderator
Posts: 7524
Joined: Fri Mar 23, 2018 8:22 pm

Re: RISKY MSX Cart - Rev 1 (Beta Release)

Post by PhilC »

I'll hopefully be able to give it a go shortly
If it ain't broke, test it to Destruction.
Higgy
Posts: 489
Joined: Tue Apr 23, 2019 8:05 pm
Location: Somerset

Re: RISKY MSX Cart - Rev 1 (Beta Release)

Post by Higgy »

0.8.3 seems to be working well for me. 8-) Also got Knightmare (SSC) working, which I had not got running on previous Firmware.

Tried about 10 various games and got them running apart from a 'Tape to ROM', which I've not investigated beyond trying 2 different mappers.
User avatar
arkadiusz.makarenko
Moderator Team
Moderator Team
Posts: 1371
Joined: Wed Jun 19, 2019 7:36 am
Location: Edinburgh

Re: RISKY MSX Cart - Rev 1 (Beta Release)

Post by arkadiusz.makarenko »

Higgy wrote: Wed Feb 12, 2025 6:08 pm 0.8.3 seems to be working well for me. 8-) Also got Knightmare (SSC) working, which I had not got running on previous Firmware.

Tried about 10 various games and got them running apart from a 'Tape to ROM', which I've not investigated beyond trying 2 different mappers.
Great news!

I hope we will be able to replicate this on other MSXs.
Do not trust people. They are capable of greatness.
~ Stanislaw Lem
Locked

Return to “TFMSX”