A fun demo for the Dragon?

A place to discuss everything Dragon related that doesn't fall into the other categories.

A fun demo for the Dragon?

Postby tjewell » Fri Apr 27, 2012 4:58 pm

(apologies if this has been asked before)

Well, my Dragon 64 is now sitting in the corner of the office, all wired up and nothing to do. I'd love it to be running some sort demo that makes people go "ooh, what's that?" when they come to see me. Perhaps something 3D and spinning, or pretty swirly colours - or even a game that has a good demo mode. Anyone know anything fun my Dragon could do while it's sitting there?

Thanks! Tony.
tjewell
 
Posts: 65
Joined: Mon Oct 19, 2009 4:58 pm

Re: A fun demo for the Dragon?

Postby Sarah » Sat Apr 28, 2012 12:06 am

Last edited by Sarah on Sat Apr 28, 2012 9:15 am, edited 1 time in total.
Sarah
 
Posts: 135
Joined: Wed Apr 13, 2011 3:36 pm

Re: A fun demo for the Dragon?

Postby sixxie » Sat Apr 28, 2012 7:26 am

Trying to think of games with decent attract modes... I guess there aren't many - I always thought the music on Airball and Fire Force title pages are both good, but you don't want anyone actually *playing* Fire Force (Airball is great, though not an action game).

ROTABB's attract is reasonable (and the game itself very good). Manic Miner's at least runs through the levels. Oh and lo-fi but surprisingly playable: Cuthbert Goes Walkabout / Digging both have little attract mode bursts of game.

For demos there's a bouncing ball demo on a disk somewhere, I forget where though - I can try and find it if you have a disk system. Of course it's a 64, so if you have infinite patience, there's always this (*koff*).
sixxie
 
Posts: 675
Joined: Fri Jul 18, 2008 8:36 am
Location: Llundain

Re: A fun demo for the Dragon?

Postby zephyr » Sun Apr 29, 2012 2:00 am

sixxie wrote:For demos there's a bouncing ball demo...

This is a cassette version of that demo.
Attachments
AMIGABALL_DEMO.zip
(20.51 KiB) Downloaded 55 times
zephyr
 
Posts: 1389
Joined: Mon Jul 21, 2008 1:18 am

Re: A fun demo for the Dragon?

Postby tjewell » Sun Apr 29, 2012 10:58 am

Thanks for your ideas everyone. Currently, I've got no sound on my Dragon (I've got it plumbed into a VGA monitor and don't have audio routed anywhere), so the Nyan cat is funny without being maddening! And thanks a lot for the bouncing ball, Zepher, that's perfect.

I'd never played ROTABB or Phantom Slayer before - both are rather good! ROTABB is getting rather addictive ...

Inspired by all this, I dusted off my 6809 primer and tried to recreate one of my first ever machine code programs - a simple kaleidoscope for the chunky graphics mode. Although some stuff came flooding back, I have forgotten so much in the last (nearly) 30 years! It took much longer than it should. Thanks to Sixxie for his perl assembler, which at least meant I could use a 'proper' text editor. I loved Alldream back in the day, but I think modern computers have made me soft - I found writing directly on the old machine just painful! Kids of today etc etc ...

Anyway, I am actually embarrassed to post this, but given it's the first Dragon program I've written for 27 years, and you all are the only people who'd understand why I found it such fun, I'm sharing it here! Do a CLOADM, then an "exec 20001"

Tony

Ps. Quick techie question - what do I do to avoid having to specify the exec address? so that simply typing 'exec' makes it run? for the life of me I can't remember!
Attachments
blocks.cas
(813 Bytes) Downloaded 65 times
tjewell
 
Posts: 65
Joined: Mon Oct 19, 2009 4:58 pm

Re: A fun demo for the Dragon?

Postby zephyr » Sun Apr 29, 2012 11:35 am

tjewell wrote:Inspired by all this, I dusted off my 6809 primer and tried to recreate one of my first ever machine code programs - a simple kaleidoscope for the chunky graphics mode. Although some stuff came flooding back, I have forgotten so much in the last (nearly) 30 years! It took much longer than it should. Thanks to Sixxie for his perl assembler, which at least meant I could use a 'proper' text editor. I loved Alldream back in the day, but I think modern computers have made me soft - I found writing directly on the old machine just painful! Kids of today etc etc ...

Anyway, I am actually embarrassed to post this, but given it's the first Dragon program I've written for 27 years, and you all are the only people who'd understand why I found it such fun, I'm sharing it here! Do a CLOADM, then an "exec 20001"

Nice to see you writing 6809 code again after 27+ years. Now you can write your own demo's and share them with us here at the forum. :)

tjewell wrote:Ps. Quick techie question - what do I do to avoid having to specify the exec address? so that simply typing 'exec' makes it run? for the life of me I can't remember!

CSAVEM"TITLE",Start Address, End Address, Exec Address.
zephyr
 
Posts: 1389
Joined: Mon Jul 21, 2008 1:18 am

Re: A fun demo for the Dragon?

Postby snarkhunter » Sun Apr 29, 2012 11:38 am

Hello,

Most of the time, you just do not have to type in the "Exec" address. That is, as far as the game was saved using all of the proper vectors, i.e. including the "Exec" address! You should try to "Exec" it first (EXEC <ENTER>). If that does not work and you know for sure your program is indeed machine-code, then you're in trouble!

That "Exec" vector has to be specified when saving a piece of executable code (i.e. using either the CSAVEM or the SAVE command). If not, then I believe a null address will be stored, which will most probably result in the Dragon crashing.

Otherwise, "Screamings Abdabs" and "Time Bandit" are among the games that have demo modes showing a lot of what's going on during game play, though maybe a bit too fast - no pun intended!
snarkhunter
 
Posts: 162
Joined: Fri Apr 03, 2009 7:16 pm
Location: France

Re: A fun demo for the Dragon?

Postby tjewell » Sun Apr 29, 2012 12:01 pm

Thank you! - attached now is a version of kaleidoscope that only needs an 'exec' to run after a CLOADM. Please don't get too excited :)

I was quite inspired by the guide to converting images via photoshop to load onto the Dragon - there must be an fun demo out there that I could write that uses that.

Thanks all for your help, and I'll take a look at the new games.

Tony.
Attachments
blocks2.cas
(1.28 KiB) Downloaded 60 times
tjewell
 
Posts: 65
Joined: Mon Oct 19, 2009 4:58 pm

Re: A fun demo for the Dragon?

Postby zephyr » Sun Apr 29, 2012 3:45 pm

Some tips/suggestions:

(1) You can zero the A and B (D) registers using the single byte CLRA, CLRB rather than LDA #$00, LDB #$00

(2) Your program would be compatible with a 16K CoCo if you were to assemble it lower down at $0E00

(3) It would be a nice touch to be able to exit the program with the Break (or other) key

e.g.
Code: Select all
JSR   [$A000]
CMPA  #$03
LBNE  XXXX
RTS


Regards,
Steve
zephyr
 
Posts: 1389
Joined: Mon Jul 21, 2008 1:18 am

Re: A fun demo for the Dragon?

Postby tjewell » Mon Apr 30, 2012 11:46 pm

It's quite addictive, this retro programming isn't it? :)

Okay, just because I can, attached is v3 of my little demo - this time with Steve's suggestions added, so you can now stop with Break/escape, plus more blocks and faster animation.

Cheers all!
Attachments
blocks3.cas
(712 Bytes) Downloaded 56 times
tjewell
 
Posts: 65
Joined: Mon Oct 19, 2009 4:58 pm

Next

Return to Dragon General

Who is online

Users browsing this forum: No registered users and 0 guests