Question about memory management in MSX1

Page 2/2
1 |

By Grauw

Ascended (8612)

Grauw's picture

08-12-2019, 11:07

Can’t you simplify the path finding so that it’s more dumb and requires a little more handholding by the player, but doesn’t require so much memory (or CPU speed)?

E.g. even something as simple as always move in the direction of the target, but if there is an obstacle, move in the closest possible direction, while avoiding the tile you came from? Design the terrain such that it does not have obstacle shapes which the algorithm can’t handle well and it seems like you could get pretty good results.

By the way, it’s a little unusual for a ROM game to also require a memory mapper. Especially since you also require slots for Gfx9000 and MoonSound. Have you considered making it a DOS2 disk game instead? The DOS2 programming environment is pretty comfortable as well. And Nextor works fine on MSX1.

By gdx

Prophet (3157)

gdx's picture

08-12-2019, 13:31

Grauw wrote:

By the way, it’s a little unusual for a ROM game to also require a memory mapper. Especially since you also require slots for Gfx9000 and MoonSound. Have you considered making it a DOS2 disk game instead?

DOS2 can be included in the ROM made from the image of a megasram and it works even on MSX1. It only misses the Memory Mapper.

By Juan Luis

Expert (100)

Juan Luis's picture

09-12-2019, 02:57

Grauw wrote:

Can’t you simplify the path finding so that it’s more dumb and requires a little more handholding by the player, but doesn’t require so much memory (or CPU speed)?

E.g. even something as simple as always move in the direction of the target, but if there is an obstacle, move in the closest possible direction, while avoiding the tile you came from? Design the terrain such that it does not have obstacle shapes which the algorithm can’t handle well and it seems like you could get pretty good results.

By the way, it’s a little unusual for a ROM game to also require a memory mapper. Especially since you also require slots for Gfx9000 and MoonSound. Have you considered making it a DOS2 disk game instead? The DOS2 programming environment is pretty comfortable as well. And Nextor works fine on MSX1.

Yes. It's possible that I have to develop the program for MSX-DOS because the player has to save the game, saving it's possible in some rare cartridge formats, but I don't know how to do it, and it's an important detail. The game will be played from hard disk like PC-DOS.

The reason for using the mapper is to use all available memory in MSX. I have to think about many details.

By Juan Luis

Expert (100)

Juan Luis's picture

09-12-2019, 02:59

gdx wrote:
Grauw wrote:

By the way, it’s a little unusual for a ROM game to also require a memory mapper. Especially since you also require slots for Gfx9000 and MoonSound. Have you considered making it a DOS2 disk game instead?

DOS2 can be included in the ROM made from the image of a megasram and it works even on MSX1. It only misses the Memory Mapper.

About using DOS2ROM conversors, it's an option I didn't know it, but I prefer to develop the program for the target option directly (ROM or MSX-DOS).

Thanks for the suggestion.

By gdx

Prophet (3157)

gdx's picture

09-12-2019, 08:55

Juan Luis wrote:

It's possible that I have to develop the program for MSX-DOS because the player has to save the game, saving it's possible in some rare cartridge formats

Nowday you can use a simple MegaflashROM and save the games in the flashROM without overwrite the program. Manbow 2 use this method. No SRAM is required.

Page 2/2
1 |