| |
trip6 Account closed
Registered: Jan 2007 Posts: 51 |
Berzek for C64
Hello... I recently recieved assembler source code for Berzerk video game. I was told that I would have to use CCS65 to compile it. However, I am quickly realizing that I have no idea how to do this in CCS65. Can some one help me our compile this for me with CCS65 if I sent the source code? All help is appreciated, I'd love to get a port of this classic on the C64.
|
|
| |
Scout
Registered: Dec 2002 Posts: 1570 |
*LOL*
So you actually think that compiling the sourcecode of a 1981 arcade/atari 2600 game with CC65 will result in a runnable game?
Intruder alert Intruder alert Intruder from Lemon64 alert
Humanoid!
EDIT: The sourcecodes (http://www.mameworld.net/maws/mamesrc/src/mame/drivers/berzerk.c) you found are drivers for MAME. Not the actual gamecode. |
| |
trip6 Account closed
Registered: Jan 2007 Posts: 51 |
Different source code... Than that one... Those are the MAME source. I have a 6502 assembler source as well that I found...
|
| |
Martin Piper
Registered: Nov 2007 Posts: 722 |
If you email me the sources I'll have a look at getting them building for you, but nothing is guaranteed because I'm sure the machine used a Z80 not a 6502. |
| |
Scout
Registered: Dec 2002 Posts: 1570 |
Quote:
...I'm sure the machine used a Z80 not a 6502.
That's correct.
|
| |
T.M.R Account closed
Registered: Dec 2001 Posts: 749 |
Quote: Different source code... Than that one... Those are the MAME source. I have a 6502 assembler source as well that I found...
You don't seem to be getting the point... you can't just take the 6502 source code for one platform and assemble it for another, 8-bit computers don't work like that. At most the core logic can be taken apart and perhaps used but the display engine will be machine specific and at best may serve as a reference if whoever is doing the work (and yes, it's a lot of work what i'm describing rather briefly here) knows the original platform well enough to use it that way.
The code for the original coin-op will be written in Z80 since that's what the machine has but again that's custom hardware driving everything so even if it were 6502 the same "rules" apply. |
| |
Martin Piper
Registered: Nov 2007 Posts: 722 |
Hmm if they're definitely 6502 sources (not Z80) then it might be from one of the Atari versions.
In that case it might be simpler with the 6502/6507 version to let all of the code run in memory and have an IRQ/NMI come along and translate the stores to what it thinks are hardware registers (relocated into harmless memory from the source code) into something the C64 can display instead.
Sort of like running a virtualised machine inside the C64. :) |
| |
Scout
Registered: Dec 2002 Posts: 1570 |
Better is to start from scratch.
The graphics are easy to make and the Evil Otto samples are available on the net.
Creating a virtual machine is also creating a lot of problems for yourself and after a while you are only coding workarounds.
Documentation about the original gameplay (including quirks) are easy to find.
My advice, if you plan to do a port, use that info rather than the original sourcecode. |
| |
Martin Piper
Registered: Nov 2007 Posts: 722 |
Of course it creates problems, that's part of the joy in programming solutions. :) The difficulty depends on which Atari if the sources come from the Atari version.
Starting from scratch and maybe possibly reusing some of the old code is certainly one way to go and also has its own joys.
|
| |
Marauder/GSS Account closed
Registered: Jul 2006 Posts: 224 |
"Berzerk was the first video game known to have been involved in the death of a player. In January 1981, 19-year-old Jeff Dailey died of a heart attack soon after posting a score of 16,660 on Berzerk.[1] In October of the following year, Peter Burkowski made the Berzerk top-ten list twice in fifteen minutes, just a few seconds before also dying of a heart attack at the age of 18."
(source Wikipedia)
so better watch out when doing a port or playing the game, hehe... *gg* (c; |
| |
trip6 Account closed
Registered: Jan 2007 Posts: 51 |
It is 6502 source from an atari platform... I will send you the source as requested. I appreciate the offer of help... It is not from the arcade machine, it is the 6502 source from an atari version. |
... 260 posts hidden. Click here to view all posts.... |
Previous - 1 | 2 | 3 | 4 | 5 | 6 | 7 | 8 | 9 | 10 | ... | 27 - Next |