Starting from scratch
Hello,
I'd lack to have a crack at writing a Spectrum game. I have very limited programming experience from mucking around with javascript and VB and no idea how to start. What advice would you kind people have for me?
Tom
I'd lack to have a crack at writing a Spectrum game. I have very limited programming experience from mucking around with javascript and VB and no idea how to start. What advice would you kind people have for me?
Tom
Post edited by Thomas Gale on
Comments
I'd honestly say that the best thing to do would be to learn to program in a 'proper' language first.
Of the two options available on the Spectrum, BASIC will leave you frustrated because it's very limited and Z80 assembler will leave you frustrated because you won't be able to get anything done in it.
Once you've learnt a programming language (or preferably more than one), come back to the Spectrum. You'll be more than welcome.
Alternatively, if you really want to do some good stuff then do what Phil suggested - learn a bit of C and grab a copy of the z88dk, it's apparently pretty good.
D.
[1] I am, of course, lying through my teeth here.
The first port of call is obviously the BASIC manual that came with the Spectrum, available here. There are many other web pages that cover various aspects of programming, as a quick Google search will reveal. You may also want to find some second hand books that deal specifically with Spectrum programming. There are loads of these available on eBay at any one time, and range from BASIC programming for the absolute beginner; to advanced machine code programming. In particular, I recommend that you look out for a complete set of the "Input" magazines that were published in the mid-eighties. This periodical was intended as a complete programming course for the Spectrum and other contemporary computers, and covered topics such as creating games, graphics, utilities, machine code programming, etc. I found it to be of great use.
There were many BASIC listings in old computer magazines and books that you might want to study. They are either available from the Type-Ins section of this site, or in the scans of the old magazines also available here. Many programmers started out by typing in programs like these, studying and modifying them, until they were confident enough to code themselves.
[ This Message was edited by: monty.mole on 2004-10-01 15:18 ]
If you want to write a Spectrum games like the commercial ones (Jet Pac, Manic Miner, etc etc), you will be better off learning Z80 assembly language. I dunno about C and z88dk for z80 development, so can't comment on that approach. As it stands, this is the ONLY way to write a decent Spectrum game from scratch.
If you are happy enough to write games in BASIC (quick and dirty) you will be better of picking up a Spectrum BASIC book (there are hundreds - take your pick). This, I suspect you already know. :)
Alternately, if you just want to program a Spectrum game for the heck of it, you may want to check some of the game designers that were released for the Speccy (look in the archive). Mind you, some of them were utter crap and the games were a plain laugh.
There is another thing you could do, if you like text adventure games. Download The Quill/PAW alongwith the excellent manuals and program a text adventure games. Some really excellent adventure games were written using these tools.
Good luck!
Bytes:Chuntey - Spectrum tech blog.
Can anyone suggest something suitable?
(I'm a COBOL programmer, by the way. Hoorah!)
TASM is not bad, but it has a trial period of 30 days (and mine is up, so I'm no longer using it haha), then $27.
Maybe somebody else could suggest a good freeware crossassembler for Windows? I need one too :)
1) You also could try using an emulator with a buil-in assember-disassembler. Some I know of are: Spectaculator, RealSpectrum, EmuzWin, SPIN, UnrealSpeccy.
2) Frequently, authors of the code post the binary snapshot as well.
3) Did you mean RealSpectrum or real Spectrum?
_________________
Well done, Axil the very able. You have made it to an exit.
[ This Message was edited by: Erlstoned on 2004-10-12 17:08 ]
RealSpectrum (the emulator) will allow me to enter assembler and compile it for me, then?