Google Groups no longer supports new Usenet posts or subscriptions. Historical content remains viewable.
Dismiss

C64 Maze program in assembly,

83 views
Skip to first unread message

Jeremy Sieracki

unread,
Jul 16, 2002, 2:33:40 AM7/16/02
to
Hello,
I wanted to share a simple program I wrote to help teach myself
assembly language, so I made a webpage dedicated to it and you
can download it to check it out if you wish.

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

Jeremy Sieracki

unread,
Jul 16, 2002, 2:42:22 AM7/16/02
to
Comments welcome,

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

Matthew Montchalin

unread,
Jul 16, 2002, 2:19:38 PM7/16/02
to
On Tue, 16 Jul 2002, Jeremy Sieracki wrote:
|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.

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?

Paul Rosenzweig

unread,
Jul 16, 2002, 9:35:47 PM7/16/02
to
"Jeremy Sieracki" <jer...@helicon.net> wrote in message news:<uj7fi6r...@corp.supernews.com>...

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.

0 new messages