New Game: Minesweeper

Include new and ported/converted games, and old games/tools. Subjects about CP/M software goes in the CP/M Forum.
under4mhz
Posts: 30
Joined: 11 Apr 2021 05:12
Location: Brisbane, Australia
Contact:

Re: New Game: Minesweeper

Post by under4mhz »

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
Attachments
Minesweeper-MTX-1.02.zip
(33.56 KiB) Downloaded 309 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
Martin A
Posts: 799
Joined: 09 Nov 2013 21:03

Re: New Game: Minesweeper

Post by Martin A »

That's the MSX package ...
under4mhz
Posts: 30
Joined: 11 Apr 2021 05:12
Location: Brisbane, Australia
Contact:

Re: New Game: Minesweeper

Post by under4mhz »

Whoops. They both start with M and end with X.
Attachments
Minesweeper-MTX-1.02.zip
(33.56 KiB) Downloaded 285 times
Support me on Patreon: https://www.patreon.com/Under4Mhz
Martin A
Posts: 799
Joined: 09 Nov 2013 21:03

Re: New Game: Minesweeper

Post by Martin A »

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:

Code: Select all

A03D OUTI
A03F JP NZ,A03D
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.
under4mhz
Posts: 30
Joined: 11 Apr 2021 05:12
Location: Brisbane, Australia
Contact:

Re: New Game: Minesweeper

Post by under4mhz »

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.
Attachments
Minesweeper-MTX-1.03.zip
(33.56 KiB) Downloaded 306 times
Support me on Patreon: https://www.patreon.com/Under4Mhz
Bill B
Posts: 593
Joined: 26 Jan 2014 16:31

Re: New Game: Minesweeper

Post by Bill B »

If using the latest version of MEMU, try using the -diag-vid-time-check option to check the timings.
Martin A
Posts: 799
Joined: 09 Nov 2013 21:03

Re: New Game: Minesweeper

Post by Martin A »

Success
Sweeper Loads.jpg
Sweeper Loads.jpg (56.81 KiB) Viewed 6605 times
sweeper runs.jpg
sweeper runs.jpg (68.59 KiB) Viewed 6605 times
User avatar
Dave
Posts: 1280
Joined: 11 Aug 2012 18:16
Contact:

Re: New Game: Minesweeper

Post by Dave »

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
Posts: 30
Joined: 11 Apr 2021 05:12
Location: Brisbane, Australia
Contact:

Re: New Game: Minesweeper

Post by under4mhz »

Bill B wrote: 08 May 2021 12:07 If using the latest version of MEMU, try using the -diag-vid-time-check option to check the timings.
Thanks, that will be useful.
Support me on Patreon: https://www.patreon.com/Under4Mhz
under4mhz
Posts: 30
Joined: 11 Apr 2021 05:12
Location: Brisbane, Australia
Contact:

Re: New Game: Minesweeper

Post by under4mhz »

Yes, I'm happy for you to add it to your website. The handle Under4Mhz is fine.

Thanks for your help.
Support me on Patreon: https://www.patreon.com/Under4Mhz
Post Reply