AtariAge Forums: Donkey Kong source code - AtariAge Forums

Jump to content

  • (3 Pages)
  • +
  • 1
  • 2
  • 3
  • You cannot start a new topic
  • You cannot reply to this topic

Donkey Kong source code

User is offline Curt Vendel Icon
Posted Fri Aug 29, 2008 9:21 AM


  • Icon
  • River Patroller
  • PM this member
  • Posts: 3,871
  • Joined: 23-April 01
  • Location: Carmel, New York
Here it is, have fun...




Curt

Attached File(s)


0

User is offline Tempest Icon
Posted Fri Aug 29, 2008 9:24 AM

    • Betrayer of Hope


  • Icon
  • Prototype Historian
  • PM this member
  • Posts: 17,898
  • Joined: 24-April 01
  • Location: That World that Can't Be Mentioned in Polite Company
Finally! We can find that easter egg...


This is cute:

;;HISTORY: ;;
;;Nov '82 - IDS, initial coding ;;
;;Dec '82 - more coding, hair pulling, general cruftiness ;;
;;Jan '83 - schedule screaming, rampant insanity, accusations ;;
;;Feb '83 - semi-winnage, accompanied by cries of anguish and threats;;
;;Mar '83 - Lucifer announces a cooling trend


Other interesting things in the code:

killage level (bump Mario off if he ever gets here...) - Arcade kill level?

warning (not implemented) - This was in the sound file

How Hard Can You Get? [*sigh*] - Hehe...

; Draw hammers
; For the Elevators rack, which doesn't have any hammers, the position
; of the hammers must be off the screen, so they aren't drawn..

- So there ARE hammers on the elevator level, just off screen...


Hammer sound (?what???) - I know there's music for the hammer, but is there a sound?


Sadly no easter egg mentioned in the comments. I knew it wouldn't be THAT easy...

Tempest
0

User is online Gregory DG Icon
Posted Fri Aug 29, 2008 9:26 AM

    • Go Cardinals!


  • Icon
  • Silvery Robot Thing
  • PM this member
  • Posts: 10,165
  • Joined: 19-October 01
  • Location: Winter Haven, FL
COOL! Now maybe some smart person who is not me could gen up some new levels? :D
0

User is offline Curt Vendel Icon
Posted Fri Aug 29, 2008 9:38 AM


  • Icon
  • River Patroller
  • PM this member
  • Posts: 3,871
  • Joined: 23-April 01
  • Location: Carmel, New York

View PostGregory DG, on Fri Aug 29, 2008 11:26 AM, said:

COOL! Now maybe some smart person who is not me could gen up some new levels? :D



PRECISELY...

Look at the special Donkey Kong 3 hack that was done for the arcade version... why not for the 800/XL/XE version :-)





Curt
0

User is offline Allan Icon
Posted Fri Aug 29, 2008 9:57 AM


  • Icon
  • River Patroller
  • PM this member
  • View blog
  • Posts: 3,687
  • Joined: 11-June 01
  • Location: Wallingford, CT

View PostCurt Vendel, on Fri Aug 29, 2008 11:38 AM, said:

View PostGregory DG, on Fri Aug 29, 2008 11:26 AM, said:

COOL! Now maybe some smart person who is not me could gen up some new levels? :D



PRECISELY...

Look at the special Donkey Kong 3 hack that was done for the arcade version... why not for the 800/XL/XE version :-)





Curt


Or someone could rip the pokey music/effects out and add them to the 7800 Donkey Kong. Now if only we had the 7800 DK source. :)

Allan
0

User is online Almost Rice Icon
Posted Fri Aug 29, 2008 12:27 PM

    • Prius rocks


  • Icon
  • Stargunner
  • PM this member
  • Posts: 1,700
  • Joined: 04-October 05
  • Location: Houston
thanks Curt.

View PostAllan, on Fri Aug 29, 2008 10:57 AM, said:

Or someone could rip the pokey music/effects out and add them to the 7800 Donkey Kong. Now if only we had the 7800 DK source. :)


exactly. I turn down the 7800 DK sounds to play it.

More levels for 8bit DK is fine by me also.

This post has been edited by Almost Rice: Fri Aug 29, 2008 2:06 PM

0

User is offline deathtrappomegranate Icon
Posted Fri Aug 29, 2008 12:35 PM

    • Lipstick on my cigarette


  • Icon
  • River Patroller
  • PM this member
  • Posts: 4,293
  • Joined: 08-August 03
Thanks Curt!

:thumbsup: :thumbsup:
0

User is offline carmel_andrews Icon
Posted Fri Aug 29, 2008 2:28 PM


  • Icon
  • Quadrunner
  • PM this member
  • View blog
  • Posts: 9,876
  • Joined: 29-July 04
  • Location: from somewhere, anywhere and no where
perhaps someone can do a hack for DK like they did for the unoffical zybex and draconus seq/prequals
0

User is offline Allan Icon
Posted Fri Aug 29, 2008 2:53 PM


  • Icon
  • River Patroller
  • PM this member
  • View blog
  • Posts: 3,687
  • Joined: 11-June 01
  • Location: Wallingford, CT

View PostAlmost Rice, on Fri Aug 29, 2008 2:27 PM, said:

thanks Curt.

View PostAllan, on Fri Aug 29, 2008 10:57 AM, said:

Or someone could rip the pokey music/effects out and add them to the 7800 Donkey Kong. Now if only we had the 7800 DK source. :)


exactly. I turn down the 7800 DK sounds to play it.

More levels for 8bit DK is fine by me also.

Me too but silence is almost as bad.

Allan
0

User is offline Goochman Icon
Posted Sat Aug 30, 2008 6:12 AM

    • Moongates to the Past


  • Icon
  • Quadrunner
  • PM this member
  • View blog
  • Posts: 5,244
  • Joined: 30-December 01
I wonder which version of the source this is? Landon indicated the official release was not his final - the death sequence isnt perfect something about overlapping cells) - anyhow, if would be interesting is someone could compile this and see if its different than the official cart in some minor way.
0

User is offline Allan Icon
Posted Sat Aug 30, 2008 6:38 AM


  • Icon
  • River Patroller
  • PM this member
  • View blog
  • Posts: 3,687
  • Joined: 11-June 01
  • Location: Wallingford, CT
Someone should show Landon this thread.

Allan
0

User is offline Curt Vendel Icon
Posted Sat Aug 30, 2008 3:31 PM


  • Icon
  • River Patroller
  • PM this member
  • Posts: 3,871
  • Joined: 23-April 01
  • Location: Carmel, New York
This came off of 2 sets of tapes marked Dyer, which is unusual as most tape backups are of all directories of a DEC system at Atari. So when an individuals directory is the only part of a backup, it usually meant that one of the programs got his directory backed up special. There was a lot more on his backup tapes.



Curt

View PostAllan, on Sat Aug 30, 2008 7:38 AM, said:

Someone should show Landon this thread.

Allan

0

User is offline landondyer Icon
Posted Sat Aug 30, 2008 4:51 PM


  • Icon
  • Space Invader
  • PM this member
  • Posts: 26
  • Joined: 14-April 07

View PostTempest, on Fri Aug 29, 2008 10:24 AM, said:

Finally! We can find that easter egg...


This is cute:

;;HISTORY: ;;
;;Nov '82 - IDS, initial coding ;;
;;Dec '82 - more coding, hair pulling, general cruftiness ;;
;;Jan '83 - schedule screaming, rampant insanity, accusations ;;
;;Feb '83 - semi-winnage, accompanied by cries of anguish and threats;;
;;Mar '83 - Lucifer announces a cooling trend


Other interesting things in the code:

killage level (bump Mario off if he ever gets here...) - Arcade kill level?

Sadly no easter egg mentioned in the comments. I knew it wouldn't be THAT easy...

Tempest


Boy, that brings back memories.

About cute comments: I was young, and overworked, and too tired to care. :-)

About "kill level" -- it's just an invisible platform with a "kill" bit set. Land on the platform and Mario dies. That's all.

About easter egg comments: It's probably in there, but you won't find it in comments. Look for some place that is checking the scores and levels and doing some ANDing and so forth.

I think it's pretty cool that this is finally released. Have fun. (Curt should find Super Pac-Man and do that one, too...)


-landon
0

User is offline Urchlay Icon
Posted Sat Aug 30, 2008 5:10 PM


  • Icon
  • Stargunner
  • PM this member
  • Posts: 1,131
  • Joined: 26-April 06
The code's for the Atari CAMAC VAX/VMS cross-assembler... Curt, any chance you can look through the archives, see if you can find anything relating to CAMAC? Source to the assembler would be perfect (but unlikely), documentation would be great, even a binary might be useful (there are VAX emulators out there).

Of course it won't be difficult to port the Donkey Kong sources to a different assembler (dasm or ca65), but it'd be really cool to be able to assemble the old sources in the old environment too...

And yes, I know, searching the archives is probably a momumental undertaking, and you've got a to-do list as long as my arm... just something to keep in mind if you happen to run across it.
0

User is offline landondyer Icon
Posted Sat Aug 30, 2008 5:13 PM


  • Icon
  • Space Invader
  • PM this member
  • Posts: 26
  • Joined: 14-April 07

View PostGoochman, on Sat Aug 30, 2008 7:12 AM, said:

I wonder which version of the source this is? Landon indicated the official release was not his final - the death sequence isnt perfect something about overlapping cells) - anyhow, if would be interesting is someone could compile this and see if its different than the official cart in some minor way.


The as-released-to-manufacturing version of DK was assembled with CAMAC (a Cross version of the AMAC assembler running on the Home Computer Division's MV-8000 minicomputer).

The listing file I see is dated Feb 24th, which seems early for completion of the project. If the enclosed code corresponds to the listing file, that's not a good thing because the listing ends at address $A59E, and I distinctly recall there being about 18 bytes left in the ROM (which would have had a limit of $C000). There's stuff missing from the PRN file (and the PRN file has errors). Maybe the PRN file is out of date with the rest of the code.

Additionally, someone's clearly been into this code trying to make it work under the Atari coin-op assembler and maybe MAC/65. Might have been me (I honestly don't remember). So I'd be surprised if this built at all, or if it did, if it worked.

Curt should find the source code to MadMac next (though 6502 assemblers are very easy to find).
0

User is offline landondyer Icon
Posted Sat Aug 30, 2008 5:15 PM


  • Icon
  • Space Invader
  • PM this member
  • Posts: 26
  • Joined: 14-April 07

View PostUrchlay, on Sat Aug 30, 2008 6:10 PM, said:

The code's for the Atari CAMAC VAX/VMS cross-assembler... Curt, any chance you can look through the archives, see if you can find anything relating to CAMAC? Source to the assembler would be perfect (but unlikely), documentation would be great, even a binary might be useful (there are VAX emulators out there).


As far as I know, CAMAC was an MV/8000 thing and wasn't available on VAX/VMS. When we moved to the VAX/VMS systems we started using the same tools (assemblers, etc.) that the Coin-Op folks were using. Kind of painful, but their assemblers had some good ideas.
0

User is offline Urchlay Icon
Posted Sat Aug 30, 2008 5:51 PM


  • Icon
  • Stargunner
  • PM this member
  • Posts: 1,131
  • Joined: 26-April 06

View Postlandondyer, on Sat Aug 30, 2008 7:15 PM, said:

As far as I know, CAMAC was an MV/8000 thing and wasn't available on VAX/VMS. When we moved to the VAX/VMS systems we started using the same tools (assemblers, etc.) that the Coin-Op folks were using. Kind of painful, but their assemblers had some good ideas.


I was just guessing it was VMS due to the DCL-looking syntax in the *.CLI files...

I probably will end up doing a perl script that acts as a preprocessor, takes CAMAC input and spits out dasm or ca65 source. Be interesting to see what's different between this version and the release.
0

User is offline kenfused Icon
Posted Sat Aug 30, 2008 9:52 PM


  • Icon
  • Stargunner
  • PM this member
  • View blog
  • Posts: 1,071
  • Joined: 27-October 03
  • Location: Columbus, Ohio

View PostUrchlay, on Sat Aug 30, 2008 6:51 PM, said:

I was just guessing it was VMS due to the DCL-looking syntax in the *.CLI files...

It doesn't look like DCL to me. Also the lines don't all being with $'s. DCL scripts usually end in .COM.
0

User is offline Curt Vendel Icon
Posted Sat Aug 30, 2008 10:08 PM


  • Icon
  • River Patroller
  • PM this member
  • Posts: 3,871
  • Joined: 23-April 01
  • Location: Carmel, New York
Hi Landon,

Yup, found all of them...Super Pacman, 2 different Pac Man demo's, Galaxian and Donkey Kong... I also found a status report from Philip Suen stating that you had to take over the DK project because the original programmer wasn't delivering milestones, was being secretive and just wasn't sticking to schedule.


Curt





View Postlandondyer, on Sat Aug 30, 2008 5:51 PM, said:

View PostTempest, on Fri Aug 29, 2008 10:24 AM, said:

Finally! We can find that easter egg...


This is cute:

;;HISTORY: ;;
;;Nov '82 - IDS, initial coding ;;
;;Dec '82 - more coding, hair pulling, general cruftiness ;;
;;Jan '83 - schedule screaming, rampant insanity, accusations ;;
;;Feb '83 - semi-winnage, accompanied by cries of anguish and threats;;
;;Mar '83 - Lucifer announces a cooling trend


Other interesting things in the code:

killage level (bump Mario off if he ever gets here...) - Arcade kill level?

Sadly no easter egg mentioned in the comments. I knew it wouldn't be THAT easy...

Tempest


Boy, that brings back memories.

About cute comments: I was young, and overworked, and too tired to care. :-)

About "kill level" -- it's just an invisible platform with a "kill" bit set. Land on the platform and Mario dies. That's all.

About easter egg comments: It's probably in there, but you won't find it in comments. Look for some place that is checking the scores and levels and doing some ANDing and so forth.

I think it's pretty cool that this is finally released. Have fun. (Curt should find Super Pac-Man and do that one, too...)


-landon

0

User is offline Curt Vendel Icon
Posted Sat Aug 30, 2008 10:12 PM


  • Icon
  • River Patroller
  • PM this member
  • Posts: 3,871
  • Joined: 23-April 01
  • Location: Carmel, New York
There is some pretty extensive info, I will post it up this coming week. Technically if you really really wanted to code and assembled the "old school" way, I could provide all of the cross assemblers and anyone who's familiar with VMS could setup simH emulation on their PC and run a VAX/VMS system in emulation and actually work on the code just as it was done back in the day...

I will definitely work on it, I think it will be better to put a whole page(s) together on atarimuseum.com and post a link because it'll be several zip files of original tools and such, information on the environment, source code and so forth. I'll definitely put it together.


Curt

View PostUrchlay, on Sat Aug 30, 2008 6:10 PM, said:

The code's for the Atari CAMAC VAX/VMS cross-assembler... Curt, any chance you can look through the archives, see if you can find anything relating to CAMAC? Source to the assembler would be perfect (but unlikely), documentation would be great, even a binary might be useful (there are VAX emulators out there).

Of course it won't be difficult to port the Donkey Kong sources to a different assembler (dasm or ca65), but it'd be really cool to be able to assemble the old sources in the old environment too...

And yes, I know, searching the archives is probably a momumental undertaking, and you've got a to-do list as long as my arm... just something to keep in mind if you happen to run across it.

0

User is offline Tempest Icon
Posted Sat Aug 30, 2008 10:16 PM

    • Betrayer of Hope


  • Icon
  • Prototype Historian
  • PM this member
  • Posts: 17,898
  • Joined: 24-April 01
  • Location: That World that Can't Be Mentioned in Polite Company

View PostCurt Vendel, on Sat Aug 30, 2008 11:08 PM, said:

I also found a status report from Philip Suen stating that you had to take over the DK project because the original programmer wasn't delivering milestones, was being secretive and just wasn't sticking to schedule.

Was that DK or DK Jr? I seem to remember that being about DK Jr. but I could be wrong.

Tempest
0

User is offline Curt Vendel Icon
Posted Sat Aug 30, 2008 10:18 PM


  • Icon
  • River Patroller
  • PM this member
  • Posts: 3,871
  • Joined: 23-April 01
  • Location: Carmel, New York
Ah... very good point, these files were pulled from AOS backups, not DECbackups... HCD had 2 MV8000 Model 9000's.... damned great machines, AOS was a much improved VMS type OS and the Data Generals were just beautiful machines in general. I have a Vax 11/750 and a Microvax 4000-200 here in the office.

What I really want to get up and running is the RM05 I have down in the garage (no way that was making it up the stairs to the office, weighs over 500lbs!) and I have 22 300MB RM05 removable disk paks that need reading, those could very well contain some true treasures as far as code, emails and so forth.



Curt

View Postlandondyer, on Sat Aug 30, 2008 6:15 PM, said:

View PostUrchlay, on Sat Aug 30, 2008 6:10 PM, said:

The code's for the Atari CAMAC VAX/VMS cross-assembler... Curt, any chance you can look through the archives, see if you can find anything relating to CAMAC? Source to the assembler would be perfect (but unlikely), documentation would be great, even a binary might be useful (there are VAX emulators out there).


As far as I know, CAMAC was an MV/8000 thing and wasn't available on VAX/VMS. When we moved to the VAX/VMS systems we started using the same tools (assemblers, etc.) that the Coin-Op folks were using. Kind of painful, but their assemblers had some good ideas.

0

User is offline Curt Vendel Icon
Posted Sat Aug 30, 2008 10:21 PM


  • Icon
  • River Patroller
  • PM this member
  • Posts: 3,871
  • Joined: 23-April 01
  • Location: Carmel, New York
I'm going to pull that status report up, its on the other workstation and I need to pull it up. Kinda late and I need to close up for the night, but I'll post once I find it.



Curt

View PostTempest, on Sat Aug 30, 2008 11:16 PM, said:

View PostCurt Vendel, on Sat Aug 30, 2008 11:08 PM, said:

I also found a status report from Philip Suen stating that you had to take over the DK project because the original programmer wasn't delivering milestones, was being secretive and just wasn't sticking to schedule.

Was that DK or DK Jr? I seem to remember that being about DK Jr. but I could be wrong.

Tempest

0

User is offline Curt Vendel Icon
Posted Sat Aug 30, 2008 10:30 PM


  • Icon
  • River Patroller
  • PM this member
  • Posts: 3,871
  • Joined: 23-April 01
  • Location: Carmel, New York
Landon,

Okay just pulled up the Master backup from 9/4/1984 and I found a directory called UTIL which has about 53MB's of utils in it, I see AMAC, CAMAC, LINK65, CRASS65, and tons more... so I'll work on this tomorrow, post it up onto atarimuseum.com and post a link, should be a good start for everyone.


BTW... do you remember what the VGER database was for? Its on the backup and right now, it and CEO_MAIL are two apps which I've been unable to clear text access the contents. I've spoken with a few DG guys and there was never any kind of conversion or modern day app ever written, so it may be necessary to try and access them through a DG emulator.




Curt
0

User is offline landondyer Icon
Posted Sat Aug 30, 2008 10:45 PM


  • Icon
  • Space Invader
  • PM this member
  • Posts: 26
  • Joined: 14-April 07

View PostTempest, on Sat Aug 30, 2008 11:16 PM, said:

View PostCurt Vendel, on Sat Aug 30, 2008 11:08 PM, said:

I also found a status report from Philip Suen stating that you had to take over the DK project because the original programmer wasn't delivering milestones, was being secretive and just wasn't sticking to schedule.

Was that DK or DK Jr? I seem to remember that being about DK Jr. but I could be wrong.

Tempest


That was DK Junior.

I never wrote any code for it. The original programmer was fired before it was finished, but I don't remember who wound up completing it. Probably Jeff Milhorn (who was the "junior" programmer on it) and Kevin Sacher (who was managing the group by then).

I do remember that Dk Jr. was started in FORTH, and was an ego-driven disaster until that nonsense stopped.
0

  • (3 Pages)
  • +
  • 1
  • 2
  • 3
  • You cannot start a new topic
  • You cannot reply to this topic


1 User(s) are reading this topic
0 members, 1 guests, 0 anonymous users