Jump to content
IGNORED

Blue Max source code for you.


Savetz

Recommended Posts

  • 2 years later...

Hey DanBoris, thanks for your work decoding the ATR files.

 

I have copied these to Gitlab at https://gitlab.com/atari/bluemax. I discovered the code thanks to my podcast partner in crime who did some research on Blue Max, which we discuss on the latest episode of the XLXE Podcast at https://player.fm/series/xlxe

 

Initial thoughts about the files - your hint about the binary files is bang on - it looks like these are saved onto disk "to file" (.TF "D:MAX.1") from memory from an origin (set via the .OR command). My guess is that they are maps but that is pure speculation. Absence of comments makes it tricky.

 

Also thanks Kevin for your time with Bob, that's a great interview to have on file :)

Edited by gurubob
  • Like 4
Link to comment
Share on other sites

  • 1 month later...

Hi,

 

First of all, thanks a lot to Bob Polin and Kevin Savetz for providing the source code!

 

That said, anyone managed to run this yet? So far I managed to load the "asm" file into synasm, then mount the two disks so that it can find the files, then typed "asm" at the prompt. That gave me 4 files, "max.1", "max.2", "max.3" and "max.4".

 

From what I understand so far, files 2 to 4 are simply data files (graphics by the looks of it). I made some experiments with dos 2.0s that source code disk 1 comes with. Running "max.1" from dos freezes the machine. "max.2" to "max.4" seem to load and not run anything, so I tried loading them before "max.1" but I still get a freeze. Altirra debugger says it's stopping at a KIL instruction at 102c.

 

Ideas, anyone?

Link to comment
Share on other sites

So I thought I'd have a look, just to see. First off, EXXON.18 is still loaded with bogus characters in the zip file. I haven't tried loading synassembler to try and fix it. Looking through the code, yes MAX.1 is the game, and 2 and 3 are just data. I don't see where 4 comes from, there's no TF for it in any of the files that I can see. Maybe there's something missing ?

 

Now the game code says it starts at $0C00, but in UNPROT it loads the game at $4400 for 170 sectors off the disk, and then jumps to $5000. I haven't looked much at COPYPROT, but I think we're missing the code that writes MAX.1 to the disk. So without further work, I would guess that booting the disk loads COPYPROT at $0580, which then loads UNPROT which loads the 170 sectors. So the question is, how does the code get moved from $4400 to $0C00. I looked for any .OR statements to see if the $5000 entry point was marked and it isn't. So I guess someone will have to read through the whole thing and see if they can find the entry point. iI just browsed, and there's a START label in EXXON.0 but there's nothing there that moves the code to $0C00. So I'm thinking there's still a piece missing, along with whatever generates MAX.4.

 

Just wow. This guy doesn't use labels hardly anywhere, it's all STA $687 and INC $0640. I have to believe he had a notebook or something that was the xref for these addresses, there's just way too many of them for anyone to remember.

 

Anyway, those are my thoughts after looking at this for about a half-hour.

  • Like 1
Link to comment
Share on other sites

I've been also taking some peeks at the source, first instruction is "jsr XXXX" where XXXX=$900. So my guess was that $900 contains something about protection. A quick search revealed two snippets of code within COPYPROT that assembles to $900, which allegedly goes to sector 717 and $b0. The first one contains a bunch of hex strings while the other contains some code.

 

So it seems there's a bit more work involved until we understand what's happening!

  • Like 1
Link to comment
Share on other sites

Alfred, we are glad, to have even this! Feel free to get the original one. Btw, you know, that the SynAssembler is adapted from the S-C Assembler II Vers. 4.0?

post-32599-0-09326500-1552160888_thumb.jpg

 

Anyway, have exported all the MAC/65 source files into TXT files, please see attachment. Major parts are documented, so you just have to hybridize the code with the comments from the S-C Assembler II...

 

We would be glad to see...

 

Else, why don't ask Steve himself? Else 2 on github?

 

 

Please understand, that the IMF team has no intention to retire, but 3 major projects have to be finished:

 

a) Pascal (Artari version, Kyan, CNSL etc.) in the way ACTION! already is

 

b) PLATO

 

c) finishing this: https://atariwiki.org/wiki/Wiki.jsp?page=Atari%20Learning%20System%20Software

 

Years or work before us...

SynAssembler_Source_Code.zip

Edited by luckybuck
  • Like 2
Link to comment
Share on other sites

No, I have no idea what the S.C. Assembler is. The only Apple assembler I have any knowledge of is the Orca one, and that's only because it's mentioned in the Eye and Lichty book. I already exported the code from Mac/65, that's why I made the comment about EXXON.18 was still messed up. I went looking at the Synassembler code to see how he implemented the symbol table, but since it's just a disassembly it will take some work to figure out what he did, as opposed to just reading what he did, hence my disappointment. It's no big deal.

Link to comment
Share on other sites

  • 3 weeks later...
  • 1 year later...
On 3/9/2016 at 12:28 AM, Shannon said:

Blue Max was the third Atari game I actually owned with Missile Command being the first (I was a big missile command fan), Jumpman 2nd and Blue Max third.

Jumpman and Blue Max...both on my top 10 list of Atari 800/XL games of all time.

  • Like 1
Link to comment
Share on other sites

2 hours ago, Max_Chatsworth said:

So has anyone successfully built and run the game from this source?

More importantly (for me anyhow) - has anybody determined why the display list gets messed up when bombing the hangar?  I used to love doing that.

Link to comment
Share on other sites

  • 5 months later...
On 3/5/2016 at 5:03 PM, DanBoris said:

Here are the disks extracted as ASCII files. Most of the files are Syn Assembler files, but the files called MAX on the second disk might be binary.

BlueMax.zip 64.88 kB · 604 downloads

So how can I compile this.  Can it be loaded and compiled/run in WUDSN?

 

Link to comment
Share on other sites

  • 4 weeks later...
On 6/23/2020 at 7:34 PM, Stephen said:

More importantly (for me anyhow) - has anybody determined why the display list gets messed up when bombing the hangar?  I used to love doing that.

Hahah, that was fun.

 

I used to try to fly under the bridges.

 

Also, think it would be cool if you could land in the enemy air strip.

Link to comment
Share on other sites

I was just playing Blue max the other day again, as well as BM 2001, which I'm getting the hang of the controls (sort of like Panther, but the isometric view is mirrored}. BM is also one of my all-time Atari favorites and among the first few games I had for my first Atari 130XE, I recall Blue Max, BC's quest for tires, Temple of Apshai and Forbidden Forest among my first cartridge and cassette games before I had a drive. I was working as a cashier in a Sears Outlet at the time and purchased all these titles from clearance software they had there. I got my first 800 there (after owning a 130XE) for about $25, IIRC.

Edited by Gunstar
  • Like 1
Link to comment
Share on other sites

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.
Note: Your post will require moderator approval before it will be visible.

Guest
Reply to this topic...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

Loading...
  • Recently Browsing   0 members

    • No registered users viewing this page.
×
×
  • Create New...