I kinda cheated, I wrote the program in BASIC, then translated
the program line by line into Assembler, but the HI-RES routine is
pretty solid, (I stole it from A Commodore Magazine).
The maze program is by no means complete, I plan to revise it to make
it so the wall size is always one pixel wide while the paths can be
variable,
I only learned how to do that later.
The program is written in BASSEM assembler, which was a program
featured in Compute!'s Gazette, and I love it.
it is also availible for download at the site.
I have included the source code for you to look at or throw away as you
desire.
http://sieracki.topcities.com/C64Maze.htm
Happy Commodoring.
Jeremy Sieracki
jer...@helicon.net
and if your interested in the Hi-res plot routine,
I have the source code for just it, as well as a multi-color
plot routine (I just modified the hi-res routine)
I can supply it too, it's not super speedy, but it is acceptably fast
enough, and you can access it all from basic, with just a few pokes
and a system call.
Jeremy
jer...@helicon.net
Is it similar to the maze-generating program in the Apple II game
DUNG BEETLES? For a long time, I wondered how they made sure that
the maze always ended up 'open' without any passages 'closed off.'
Why don't you post the BASIC listing here at comp.sys.cbm?
I was unable to go to the above site when I just tried about 5 minutes ago.
It may be interesting if you posted the BASIC program as well. I think
the July 1989 (not sure here) issue of COMPUTE GAZZETTE published what
would have been a terrific directory management program except it was
entirely in BASIC. The BASIC program works in C64 and C128 modes as well
as on either C128 screen. The librarian of the Fort Collins Commodore Club
needed the program so bad that he compiled it and distributed it on a Club
program disk. Before I knew about the program compilation, I eliminated
some of the unnecessary parts of the program. I also wrote some C128
machine code for the sluggish parts of the code. The difference between my
code and the original BASIC program are like night and day. I hope your
conversion to ML efforts improved the performence of your program as well.