A new Sprite and map scrolling demo on the Tandy CoCo 3. Sort of a proof of concept.
As I said before, a little CPU horsepower and more RAM and you can do sprites without hardware.
The video is a little choppy and doesn't show how smooth the actual animation really is.
http://www.youtube.c...player_embedded
Page 1 of 1
Sprite and map scrolling demo on Tandy CoCo 3
|
Posted Fri Nov 20, 2009 8:07 PM
|
|
It looks terrific! I'm particularly impressed since I've made small attempts at programming for the CoCo and have some small sense of how tough that sort of thing is.
As a side note, I often wonder how my programming youth was shaped by having a CoCo as my first (and basically only) home computer, since it had neither hardware sprites nor a synth chip. Things that would've been a piece of cake on the C64, for example, were thus a pain in the neck on the CoCo. Don't get me wrong, I love the CoCo, but if we'd had a different machine, I might well have gotten more into programming, and become a programmer instead of what I do now (dabble in programming, but mostly other stuff). I was a little shocked when I looked at the C64 BASIC programming manual recently and saw how easy it was for them to do this stuff! This post has been edited by thegoldenband: Fri Nov 20, 2009 8:12 PM |
|
|
Posted Fri Nov 20, 2009 8:40 PM
|
|
The 6809 can really move some data if you disable the interrupts and use multiple PULS/PSHU instructions that copy 6 or 7 bytes at a time. It's not quite as good as the Z-80's LDIR, but it's a lot better than anything the 6502 can do. This is from a graphics mode screen driver that I wrote for OS9.
SCRUP PSHS U,Y,D LDX #0 BSR SCRADR LEAU 6,Y LEAX $1800,Y CLR ENDSCR STS SPSAV LEAS 256,Y SCRUP1 PULS D,X,Y PSHU Y,X,D LEAU 12,U PULS D,X,Y PSHU Y,X,D LEAU 12,U PULS D,X,Y PSHU Y,X,D LEAU 11,U PULS A,X,Y PSHU Y,X,A LEAU 11,U DEC ENDSCR BNE SCRUP1 LEAY -256,S LDS SPSAV LDU 4,S LBSR CLRLN0 PULS D,Y,U,PC ...of course if you have a 6309 you can use the TFM instruction instead. |
|
|
Posted Mon Jan 11, 2010 8:50 PM
|
Page 1 of 1

Sign In
Register
Help


MultiQuote




