forum home page
register faq member list calendar search
MacShock.com - Apple Forums
Reload this Page
Old 11-23-2011, 09:30 PM
Egan Ford
Guest
 
Posts: n/a
Default New Apple I (or 1) game. Codebreaker!

Hello,

I had a bit of time last night so I thought I'd finally get around to
playing with OpenEmulator and cc65 and see what I could do. The
result was a game call Codebreaker! It's a Mastermind ripoff. I
didn't want to reuse the name since it already exists for the Apple
1. However, IMHO, mine is better. :-)

I posted a video of the AWESOME OpenEmulator loading and playing the
game here:

http://user.xmission.com/~egan/OpenE...odebreaker.mov

The code is mostly C with some ASM. I had to use ASM to track elapsed
time (cycle counting) and to generate a random seed. Time is tracked
internally in 59 cycle increments. The timer is invoked anytime the
game prompts for input. This provides enough randomness to extract
the initial seed.

There are two modes, Novice and Pro. Novice is based on the original
Mastermind, where Pro is based on Super Mastermind.

The monitor and audio formatted binary can be had here. Use the video
for load instructions.

http://user.xmission.com/~egan/codebreaker.aif
http://user.xmission.com/~egan/codebreaker.mon

BTW, you'll a 16K Apple 1. However, if pushed I can create 8K and 4K
versions. A 4K version would not have embedded instructions. Or, you
can just solder in an extra 16K yourself. If you are running BASIC on
your Apple 1, then you probably already have a 16K version.

I'll be tweaking the code a bit from time to time and will eventually
post it, but if you want it now, just send me an email. I do plan on
writing an article or perhaps a video blog on how I used cc65 to
create Codebreaker! and how I was able to translate the binary into a
cassette sound file for easy loading.

Apple 1 forever!!!
  Reply With Quote
Old 11-24-2011, 03:30 AM
Marc S. Ressl
Guest
 
Posts: n/a
Default New Apple I (or 1) game. Codebreaker!

On Nov 23, 6:23*pm, Egan Ford <dataj...@gmail.com> wrote:
> Hello,
>
> I had a bit of time last night so I thought I'd finally get around to
> playing with OpenEmulator and cc65 and see what I could do. *The
> result was a game call Codebreaker! *It's a Mastermind ripoff. *I
> didn't want to reuse the name since it already exists for the Apple
> 1. *However, IMHO, mine is better. *:-)
>
> I posted a video of the AWESOME OpenEmulator loading and playing the
> game here:
>
> http://user.xmission.com/~egan/OpenE...odebreaker.mov
>
> The code is mostly C with some ASM. *I had to use ASM to track elapsed
> time (cycle counting) and to generate a random seed. *Time is tracked
> internally in 59 cycle increments. *The timer is invoked anytime the
> game prompts for input. *This provides enough randomness to extract
> the initial seed.
>
> There are two modes, Novice and Pro. *Novice is based on the original
> Mastermind, where Pro is based on Super Mastermind.
>
> The monitor and audio formatted binary can be had here. *Use the video
> for load instructions.
>
> http://user.xmission.com/~egan/codeb...odebreaker.mon
>
> BTW, you'll a 16K Apple 1. *However, if pushed I can create 8K and 4K
> versions. *A 4K version would not have embedded instructions. *Or, you
> can just solder in an extra 16K yourself. *If you are running BASIC on
> your Apple 1, then you probably already have a 16K version.
>
> I'll be tweaking the code a bit from time to time and will eventually
> post it, but if you want it now, just send me an email. *I do plan on
> writing an article or perhaps a video blog on how I used cc65 to
> create Codebreaker! and how I was able to translate the binary into a
> cassette sound file for easy loading.
>
> Apple 1 forever!!!


*blush* :-D
  Reply With Quote
Old 11-25-2011, 10:50 PM
Egan Ford
Guest
 
Posts: n/a
Default New Apple I (or 1) game. Codebreaker!

On Nov 23, 2:23*pm, Egan Ford <dataj...@gmail.com> wrote:
> Hello,
>
> I had a bit of time last night so I thought I'd finally get around to
> playing with OpenEmulator and cc65 and see what I could do. *The
> result was a game call Codebreaker! *It's a Mastermind ripoff. *I
> didn't want to reuse the name since it already exists for the Apple
> 1. *However, IMHO, mine is better. *:-)
>
> I posted a video of the AWESOME OpenEmulator loading and playing the
> game here:
>
> http://user.xmission.com/~egan/OpenE...odebreaker.mov
>
> The code is mostly C with some ASM. *I had to use ASM to track elapsed
> time (cycle counting) and to generate a random seed. *Time is tracked
> internally in 59 cycle increments. *The timer is invoked anytime the
> game prompts for input. *This provides enough randomness to extract
> the initial seed.
>
> There are two modes, Novice and Pro. *Novice is based on the original
> Mastermind, where Pro is based on Super Mastermind.
>
> The monitor and audio formatted binary can be had here. *Use the video
> for load instructions.
>
> http://user.xmission.com/~egan/codeb...odebreaker.mon
>
> BTW, you'll a 16K Apple 1. *However, if pushed I can create 8K and 4K
> versions. *A 4K version would not have embedded instructions. *Or, you
> can just solder in an extra 16K yourself. *If you are running BASIC on
> your Apple 1, then you probably already have a 16K version.
>
> I'll be tweaking the code a bit from time to time and will eventually
> post it, but if you want it now, just send me an email. *I do plan on
> writing an article or perhaps a video blog on how I used cc65 to
> create Codebreaker! and how I was able to translate the binary into a
> cassette sound file for easy loading.
>
> Apple 1 forever!!!


Ok, I think I am done with this project for now. I've posted the
latest version with source here: http://xmission.com/~egan/codebreaker.zip

Changes:

1. Added "Master" level--same as "Pro" but with 60 second time limit.
2. Added a score board on exit.
3. Fixed a memory(stack) leak.
4. Built for 8K Apple 1.

To Load/Run:

C100R
280.1AB9R
280R
  Reply With Quote
Reply

Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On
Forum Jump


All times are GMT. The time now is 01:12 PM.
Copyright ©2007-2008 MacShock.com. Powered by vBulletin
Copyright ©2000 - 2012, Jelsoft Enterprises Ltd.