You will not be able to post if you are still using Microsoft email addresses such as Hotmail etc
See here for more information viewtopic.php?f=20&t=7296
Check if your IP is banned
viewtopic.php?t=7286

RISKY MSX Rev2

Home for the Terriblefire MSX clone

Moderators: terriblefire, Terriblefire Moderator

ahmsx
Posts: 17
Joined: Tue May 27, 2025 9:43 pm

Re: RISKY MSX Rev2

Post by ahmsx »

arkadiusz.makarenko wrote: Fri May 30, 2025 7:20 pm @ahmsx Try this https://github.com/arkadiuszmakarenko/R ... tag/v3.1.1

I have tidy up enumeration process, and removed re-enumeration (which is causing issues on slow drives).
It did fix my issue related to hot-swapping USB, so maybe it will fix it for you as well.
Thanks.
Hot plugging seems to work better now.

But the mentioned issue about the keypresses it's still there:
- you boot the MSX with the RiskyMSX cart, pressing GRAPH
- (if you did not already) you insert a USB pen drive
- the pen drive is not detected for whatever reason (I have a bunch of those) and, for example, you press ENTER twice while the "Insert USB" message is on the screen (yeah, that's no gonna help, but we users are like that...)
- you unplug the USB pen drive that is not detected
- you plug a new USB drive, this time it is detected, and the file menu shows as expected
- but then, because you pressed ENTER twice before while the non-working USB drive was plugged, you end up flashing the first file of the working USB drive (even if it is not a rom) with the first mapper type on the RiskyMSX cart (that's what ENTER, ENTER does on the file menu), which obviously messes up the cart until you flash another rom correctly

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

Re: RISKY MSX Rev2

Post by arkadiusz.makarenko »

Do not trust people. They are capable of greatness.
~ Stanislaw Lem
ahmsx
Posts: 17
Joined: Tue May 27, 2025 9:43 pm

Re: RISKY MSX Rev2

Post by ahmsx »

arkadiusz.makarenko wrote: Fri May 30, 2025 8:24 pm @ahmsx

Try this one. https://github.com/arkadiuszmakarenko/R ... tag/v3.1.2
Yeah, now we are talking. That firmware completely fixes the key presses issue. Thank you!

About hot plugging drives: now once a USB drive is mounted and the file menu appears, if you unplug the drive the file menu does not change (it seems unaware that the usb drive was unplugged). In that situation, you can navigate the old contents (which are no longer available as the drive was unplugged), and if you try to flash one file or paginate then the file menu freezes.
In this case, you need to avoid navigating the file menu with the old contents at all (to avoid the freeze), and just manually press ESC which mounts the new USB drive and makes the file menu display the contents of the new drive correctly.
I don't know if there's a way to make the file menu aware that a USB was unplugged and switch back to the "Insert USB." state.

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

Re: RISKY MSX Rev2

Post by arkadiusz.makarenko »

I think it is good enough as it is. At least for now.
Do not trust people. They are capable of greatness.
~ Stanislaw Lem
ahmsx
Posts: 17
Joined: Tue May 27, 2025 9:43 pm

Re: RISKY MSX Rev2

Post by ahmsx »

arkadiusz.makarenko wrote: Fri May 30, 2025 9:09 pm I think it is good enough as it is. At least for now.
Fair enough. Thank for all the enhancements.
User avatar
arkadiusz.makarenko
Moderator Team
Moderator Team
Posts: 1359
Joined: Wed Jun 19, 2019 7:36 am
Location: Edinburgh

Re: RISKY MSX Rev2

Post by arkadiusz.makarenko »

I am working on improving speed of flashing cart. Currently it goes page by page (256byte pages). Erase->write->verify. I need to do it is separate steps. It will be faster.
I will need to remove the progress % (bulk writes disable IRQs), but it will be worth it.

Edit
I couldn't force chip to erase in 64KB chunks for some reason... It was the moment when I had a look at the docs, and this chip doesn't support 64KB, only 32KB. Still it is substantially faster to do it this way than page by page.
So I have proven the idea, now it is time to tidy the code.
Do not trust people. They are capable of greatness.
~ Stanislaw Lem
User avatar
arkadiusz.makarenko
Moderator Team
Moderator Team
Posts: 1359
Joined: Wed Jun 19, 2019 7:36 am
Location: Edinburgh

Re: RISKY MSX Rev2

Post by arkadiusz.makarenko »

@ahmsx New firmware that substantially improves flash programming times.
https://github.com/arkadiuszmakarenko/R ... tag/v3.2.0

EDIT

It doesn't work on V303! I was testing it on V307 and everything works fine, on 303 clearing flash clears all flash including firmware :/
Do not trust people. They are capable of greatness.
~ Stanislaw Lem
User avatar
arkadiusz.makarenko
Moderator Team
Moderator Team
Posts: 1359
Joined: Wed Jun 19, 2019 7:36 am
Location: Edinburgh

Re: RISKY MSX Rev2

Post by arkadiusz.makarenko »

I can reliability erase only first 128KB using fast 32kb block erase on v303.

Unless I find the reason for this or I need to abandon the idea. As it is not reliable enough.
Do not trust people. They are capable of greatness.
~ Stanislaw Lem
ahmsx
Posts: 17
Joined: Tue May 27, 2025 9:43 pm

Re: RISKY MSX Rev2

Post by ahmsx »

arkadiusz.makarenko wrote: Sat May 31, 2025 5:42 pm @ahmsx New firmware that substantially improves flash programming times.
https://github.com/arkadiuszmakarenko/R ... tag/v3.2.0

EDIT

It doesn't work on V303! I was testing it on V307 and everything works fine, on 303 clearing flash clears all flash including firmware :/
I have only build a V303 cartridge so I'll pass for now on that one.

Thanks and good luck with your flash erase experiments.
User avatar
arkadiusz.makarenko
Moderator Team
Moderator Team
Posts: 1359
Joined: Wed Jun 19, 2019 7:36 am
Location: Edinburgh

Re: RISKY MSX Rev2

Post by arkadiusz.makarenko »

ahmsx wrote: Sun Jun 01, 2025 12:47 am
arkadiusz.makarenko wrote: Sat May 31, 2025 5:42 pm @ahmsx New firmware that substantially improves flash programming times.
https://github.com/arkadiuszmakarenko/R ... tag/v3.2.0

EDIT

It doesn't work on V303! I was testing it on V307 and everything works fine, on 303 clearing flash clears all flash including firmware :/
I have only build a V303 cartridge so I'll pass for now on that one.

Thanks and good luck with your flash erase experiments.


It is all related to configuration of user bytes, and memory split config.
That the thing after configuring those values whole chip has to be hard power down.
I need to experiment with this more.
Do not trust people. They are capable of greatness.
~ Stanislaw Lem
Post Reply

Return to “TFMSX”