Log inRegister an accountBrowse CSDbHelp & documentationFacts & StatisticsThe forumsAvailable RSS-feeds on CSDbSupport CSDb Commodore 64 Scene Database
You are not logged in - nap
CSDb User Forums


Forums > C64 Coding > Berzek for C64
2008-07-30 18:07
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.
2008-07-30 18:16
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.
2008-07-30 18:40
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...
2008-07-31 10:48
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.
2008-07-31 10:59
Scout

Registered: Dec 2002
Posts: 1570
Quote:

...I'm sure the machine used a Z80 not a 6502.


That's correct.
2008-07-31 11:03
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.
2008-07-31 11:26
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. :)
2008-07-31 11:38
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.
2008-07-31 11:49
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.

2008-07-31 14:54
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;
2008-07-31 18:02
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
RefreshSubscribe to this thread:

You need to be logged in to post in the forum.

Search the forum:
Search   for   in  
All times are CET.
Search CSDb
Advanced
Users Online
csabanw
Peacemaker/CENSOR/Hi..
WVL/Xenon
apprentix
Jericho/Draco/Tropyx..
Kylearan/Cluster
MWR/Visdom
t0m3000/hf^boom!^ibx
psych
rtiainen
Lavazza/Censor Design
Guests online: 79
Top Demos
1 Next Level  (9.7)
2 13:37  (9.7)
3 Coma Light 13  (9.6)
4 Mojo  (9.6)
5 Edge of Disgrace  (9.6)
6 The Demo Coder  (9.6)
7 What Is The Matrix 2  (9.6)
8 Uncensored  (9.6)
9 Comaland 100%  (9.6)
10 Wonderland XIV  (9.6)
Top onefile Demos
1 Layers  (9.6)
2 No Listen  (9.6)
3 Party Elk 2  (9.6)
4 Cubic Dream  (9.6)
5 Copper Booze  (9.6)
6 Rainbow Connection  (9.5)
7 Dawnfall V1.1  (9.5)
8 Onscreen 5k  (9.5)
9 Morph  (9.5)
10 Libertongo  (9.5)
Top Groups
1 Performers  (9.3)
2 Booze Design  (9.3)
3 Oxyron  (9.3)
4 Triad  (9.3)
5 Censor Design  (9.3)
Top Fullscreen Graphicians
1 Joe  (9.7)
2 Sulevi  (9.6)
3 The Sarge  (9.6)
4 Veto  (9.6)
5 Facet  (9.6)

Home - Disclaimer
Copyright © No Name 2001-2024
Page generated in: 0.179 sec.