Author Topic: Mazist 2  (Read 241 times)

0 Members and 1 Guest are viewing this topic.

Offline goksteroo

  • CPC464
  • **
  • Posts: 9
  • Country: au
  • Liked: 24
  • Likes Given: 1
Mazist 2
« on: 07:26, 30 March 20 »
Hi all. This is an update to my previous post on Mazist - the maze generation program for the CPC. I've managed the following improvements due to the enforced isolation that is upon us.
  • Converted maze generation routine to z80 M/Code
  • Converted Screen Printing routine to M/C
  • Converted Mouse Solve routine to M/C
  • Simplified and enhanced Save/load routines
As a result everything runs much faster. The largest maze is now generated in under 20 seconds instead of 5 minutes. Small mazes are almost instantaneous. Mouse solve is also much, much faster and printing to screen is noticeably faster. Save and load routines now save/load blocks of memory so they are now faster and use less disc space.
The headaches of relearning long forgotten Z80 M/Code was worth while for the program and for my isolation sanity. A copy of the disc is attached if you are interested.
Take care,Geoff
Edit: Oopsies.... I saved the bianary file too short! The attached file is correct and will now work (and not crash) as stated. Sorry
« Last Edit: 16:36, 30 March 20 by goksteroo »

Offline Gryzor

  • Administrator
  • 6128 Plus
  • *****
  • Posts: 15.726
  • Country: gr
  • CPC-Wiki maintainer
    • CPCWiki
  • Liked: 3275
  • Likes Given: 5936
Re: Mazist 2
« Reply #1 on: 14:05, 31 March 20 »
This is... surprisingly addictive! :D