Great. Thanks again for the feedback.
Changes:
- Added nop's between vdp address and write, as you suggested
- Increased the file size by 4 bytes to 20996
New Game: Minesweeper
Re: New Game: Minesweeper
- Attachments
-
- Minesweeper-MTX-1.02.zip
- (33.56 KiB) Downloaded 1239 times
Last edited by under4mhz on 07 May 2021 10:33, edited 2 times in total.
Support me on Patreon: https://www.patreon.com/Under4Mhz
Re: New Game: Minesweeper
That's the MSX package ...
Re: New Game: Minesweeper
Whoops. They both start with M and end with X.
- Attachments
-
- Minesweeper-MTX-1.02.zip
- (33.56 KiB) Downloaded 1193 times
Support me on Patreon: https://www.patreon.com/Under4Mhz
Re: New Game: Minesweeper
I've given the new MTX version a try (alas no MSX kit here to try the other) the results unfortunately are the same, corruption on the loading screen and in the game display itself.
I've found another couple of code sequences that could cause timing issued on the MTX:
and the similar INI : JP NZ seqence a few bytes later.
For both OUTI and INI that's a 26 cycle loop on the MTX (as there's no wait states) and at 4mhz it's 6.5us. So those too might benefit from 2 NOPS to extend the access separation past 32 cycles/8us.
I've found another couple of code sequences that could cause timing issued on the MTX:
Code: Select all
A03D OUTI
A03F JP NZ,A03D
For both OUTI and INI that's a 26 cycle loop on the MTX (as there's no wait states) and at 4mhz it's 6.5us. So those too might benefit from 2 NOPS to extend the access separation past 32 cycles/8us.
Re: New Game: Minesweeper
Thanks again for your help. I didn't consider the CPU being at 4Mhz would change the vdu timings. I'd optimized the code for the 3.5Mhz MSX CPU.
I've added a few more wait states around the vdu decompression and copy routines.
I've added a few more wait states around the vdu decompression and copy routines.
- Attachments
-
- Minesweeper-MTX-1.03.zip
- (33.56 KiB) Downloaded 1259 times
Support me on Patreon: https://www.patreon.com/Under4Mhz
Re: New Game: Minesweeper
If using the latest version of MEMU, try using the -diag-vid-time-check option to check the timings.
Re: New Game: Minesweeper
Looking good !
@under4mhz, I've taken the liberty of posting a copy on my website too - I hope you don't mind?
For the purposes of crediting you with the game, would you like your real name shown, or are you happy with the "under4mhz" handle?
http://primrosebank.net/computers/mtx/m ... dl.htm#new
regards
Dave
@under4mhz, I've taken the liberty of posting a copy on my website too - I hope you don't mind?
For the purposes of crediting you with the game, would you like your real name shown, or are you happy with the "under4mhz" handle?
http://primrosebank.net/computers/mtx/m ... dl.htm#new
regards
Dave
Re: New Game: Minesweeper
Thanks, that will be useful.
Support me on Patreon: https://www.patreon.com/Under4Mhz
Re: New Game: Minesweeper
Yes, I'm happy for you to add it to your website. The handle Under4Mhz is fine.
Thanks for your help.
Thanks for your help.
Support me on Patreon: https://www.patreon.com/Under4Mhz