"Programming the Spectrum in Assembly" series in Micro Mart
I see that Shaun Bebbington is starting a series of articles in Micro Mart magazine on how to program in assembly for those who might know a little bit about programming but want to try and develop it. The first part is an overview, and it follows on next week with some examples to try out. Should be interesting - I wonder how long it's been since we've seen that in a magazine!
One point made in this week's overview was regarding the differences between each version of the Speccy. Obviously, it's mainly about memory and the AY chip, but I heard that the Spectrum 128K can be a bit faster than the 48K (one of the Double Dragon games apparently ran faster on a 128K). Yet they all have the same z80 processor at approx 3.5MHz. Have I misunderstood, or is there any truth in this?
One point made in this week's overview was regarding the differences between each version of the Speccy. Obviously, it's mainly about memory and the AY chip, but I heard that the Spectrum 128K can be a bit faster than the 48K (one of the Double Dragon games apparently ran faster on a 128K). Yet they all have the same z80 processor at approx 3.5MHz. Have I misunderstood, or is there any truth in this?
Post edited by Spector on
THE RETRO GAMER IRC CHATROOM. EVERY SUNDAY AT 9PM BST. LOG ON USING THE LINK BELOW:
https://discordapp.com/invite/cZt59EQ
https://discordapp.com/invite/cZt59EQ
Comments
If you want to follow this on the Micro Mart forums, point your web browser at tinyurl.com/Speccy-Coding. I'll be posting the example code from the features and so on there. I hope I can do this justice anyway. Sorry in advance for the enevitable poor explanations, typos or general technical mistakes, and thanks for the post here.
Regards,
Shaun.
https://discordapp.com/invite/cZt59EQ
In the +2A/+3 there are less contention situations, but the effect can be worse, up to 7 wait states instead of 6 like in previous models, since every 8 contended states there's only one free for the CPU instead of the usual two.
I'd be picking up copies with interest, except I'm thousands of miles from the handy newsagents :)
Will it ever go up on the web, for those of us that are Ex-Pats?
(Off-topic PSA, micromart is also on Part 3 of a series on learn to program in C, which looks really good - happy dayz for a retro programmer)
Give me a real-world algorithm which experiences more contention on a +2A/+3 than a 48K.
Here's one that experiences much less contention on a +2A/+3 than a 48K:
Define "real-world" algorithm. :razz:
I used this in King's Valley to find if a 128k model has 128k/+2 , +2A/+3 or Pentagon timings:
The high bit of R is set in the interrupt routine, and then check C value to differenciate the model (+2A/+3 gives the lowest number, and Pentagon the highest).
Just out of interest, how active is the Jupiter Ace 'scene' or community nowadays?
Regards,
Shaun.
Great, I was going on what what printed yesterday (Thursday Issue 1111)
Very active, come on over for a visit.
USB storage hardware is being tested, xace emulator (Linux) is back in dev.
lot of old hardware found, new titles.
There is plenty of scope for some new Z80 machine code titles,.. any one?
Regards,
Shaun.
Regards,
Shaun.
Regards,
Shaun.
All the best with this, Shaun.
emulation wise the 800xl etc would be "ok" to do ASM... but easier would be the 64... IMHO simply due to the tools for it... and less for the atari
or the BBC micro has ASM from basic prompt..
if you need c64 code have a look at codebase http://codebase64.org .. and since you know tmr, speak to him maybe about the atari as he's done some stuff.
Regards,
Shaun.
However, with the editors permission, I'll be posting previous articles on the official thread on the Micro Mart forums. You don't need to sign up to the forums to read the back articles.
Regards,
Shaun.
You could have another regular Micro Mart reader on your hands if this sort of stuff continues.
I'll pop out to WHSmith's tomorrow and pick up an issue.
If you 'can' post the material from previous issues on the Micro Mart site it would be really appreciate by those of us who missed it.
I know at least two people have got their hands dirty and started programming in assembly because of this series even with its' sedate pace, so I'm really happy about that. I'd like to thank Bob Smith and Jonathan Cauldwell for their help, Jonathan's book available on his site is well written and even I can understand it, so that must say something.
Next Summer (or maybe in the Spring), I'll probably revisit the bedroom tutorials and delve into more advanced bedroom coding for the Speccy. But I'd just like to thank everyone for their positive comments and feedback. I hope that those who have read it have enjoyed it. The discussion continues over at tinyurl.com/Speccy-Coding for those who are interested.
Regards,
Shaun.
Regards,
Shaun.
Regards,
Shaun.