DragonCoCo v1.0

Use this forum to submit new files for the download section of the archive. I will check each submission and upload it to the archive on a regular basis.
KenH
Posts: 182
Joined: Fri Oct 12, 2012 9:50 am

Re: DragonCoCo v1.0

Post by KenH »

zephyr wrote: Do you have a Hitachi HD63C09E processor installed in your Tano Dragon 64?
Yes I do, why?
zephyr
Posts: 1474
Joined: Mon Jul 21, 2008 1:18 am

Re: DragonCoCo v1.0

Post by zephyr »

Steve Wollham is adding 63x09 error trapping support to both Dragon mode and CoCo mode ROMs + a few other minor tweaks. He has promised to send me the updated ROM images via email later today. I will post them here later.
KenH
Posts: 182
Joined: Fri Oct 12, 2012 9:50 am

Re: DragonCoCo v1.0

Post by KenH »

Nice! I'll be happy to test them.
Perhaps he would also be interested in helping port HDB-DOS over to the Dragon? This is still required for native SuperIDE compact flash access.
The source code is here: http://toolshed.hg.sourceforge.net/hgwe ... b27/hdbdos
zephyr
Posts: 1474
Joined: Mon Jul 21, 2008 1:18 am

Re: DragonCoCo v1.0

Post by zephyr »

The updated ROM images are attached...

Code: Select all

List of changes (16th Oct, 2012):

(1) Added 63x09 error trapping support to both Dragon 64 and CoCo mode ROMs.
*** Error trap code at $BFE6 (appears at $FFE6)
*** Secondary error trap vector at $00FD - $00FF

(2) Added keyboard auto-repeat bug fix to Dragon 64 ROM.
*** Address $011B:011C now used as indirect jump address (set to $9D3D by default)
*** Can now be used when DragonDOS is present by setting indirect jump address at $011B:$011C

(3) Minor change to the Dragon 64's PLAY command to prevent garbage being strobed to printer when using the volume parameter.

(4) Minor change to the Dragon 64's "Send char in A to printer" routine ($BD1A) to prevent contents of Y register being changed.

(5) Minor changes to CoCo ROM's PLAY/SOUND commands to prevent garbage being strobed to printer when generating sound under Dragon 64 hardware.

(6) Minor changes to CoCo ROM's cassette I/O routines to make loading from cassette a little more reliable.
Dragon 64 keyboard auto-repeat bug fix
Attachments
dragoncoco64v2_ic17_ic18.zip
(28.09 KiB) Downloaded 250 times
KenH
Posts: 182
Joined: Fri Oct 12, 2012 9:50 am

Re: DragonCoCo v1.0

Post by KenH »

Looking good on my Tano Dragon. How is the keyboard auto-repeat enabled with this rom?
Just discovered Steve's CLS9 easter egg in the Coco mode rom :lol:
zephyr
Posts: 1474
Joined: Mon Jul 21, 2008 1:18 am

Re: DragonCoCo v1.0

Post by zephyr »

Same way as the original Dragon ROM if DragonDOS is not running. Use the following method if you want to use the keyboard auto-repeat with DragonDOS running.

ENABLE KEYBOARD AUTO-REPEAT:

Code: Select all

10 POKE&HFF03,PEEK(&HFF03)AND&HFE
30 POKE&H11B,PEEK(&H10D):POKE&H11C,PEEK(&H10E)
40 POKE&H10D,&HBF:POKE&H10E,&H20
45 POKE&H11F,6: ' THIS LINE ADJUSTS FOR THE TANO DRAGON'S 60 HZ TIMER (NOT IMPORTANT)
50 POKE&HFF03,PEEK(&HFF03)OR1
See pages 339 - 340 of "Inside the Dragon" for a full explanation of the extra line 45 above.


DISABLE KEYBOARD AUTO-REPEAT:

Code: Select all

10 POKE&HFF03,PEEK(&HFF03)AND&HFE
20 POKE&H10D,PEEK(&H11B):POKE&H10E,PEEK(&H11C)
30 POKE&HFF03,PEEK(&HFF03)OR1
Notes for CoCo mode:

Code: Select all

(1) Printing is fully supported in CoCo mode via the Dragon 64's parallel printer port.

(2) Changes to the CoCo BASIC memory map:

$0076-$0077	CoCo mode ID bytes (0x1234)
		        The ID bytes are also at address $a0dd

$0095		   Number of bytes in Line Printer EOL sequence 1-3 (0x01)
$0096-0098	 Line Printer End of line termination sequence
$0096		   EOL chr 1 (0x0d CR)
$0097		   EOL chr 2 (0x0a LF)
$0098		   EOL chr 3 (0x00 spare)

$00e6		   Auto line feed flag on buffer full - setting this to 0x00
		        causes a EOL sequence to be sent to printer when buffer
		        reaches length in $009b (0x2c).

$00e7		   Start cartridge flag (0x05)
zephyr
Posts: 1474
Joined: Mon Jul 21, 2008 1:18 am

Re: DragonCoCo v1.0

Post by zephyr »

The attached Racer Ball v1.6 (Dragon 32/64 version) is a good test for the 63x09 error trapping support. This game will crash a Dragon 64 with standard ROMs and 63x09E processor fitted. I recommend using Audacity for making a real audio cassette copy from the included wave (.WAV) file.
Attachments
Racer_Ball_v16.zip
Racer Ball v1.6 for the Dragon 32/64
(21.33 KiB) Downloaded 200 times
Last edited by zephyr on Thu Oct 18, 2012 10:00 pm, edited 2 times in total.
KenH
Posts: 182
Joined: Fri Oct 12, 2012 9:50 am

Re: DragonCoCo v1.0

Post by KenH »

Thanks. Completely forgot about the auto-repeat enable code in Dragon 32 mode.
Everything is working very nicely.
I've been running a bunch of games and apps using the SuperIDE on the Dragon in CoCo mode. It appears that most programs don't try to poll the keyboard directly, and therefore work nicely.
I'll try to list the exceptions here as I encounter them.
Ken
zephyr
Posts: 1474
Joined: Mon Jul 21, 2008 1:18 am

Re: DragonCoCo v1.0

Post by zephyr »

Here is a short video from Juan Castro showing his brand new Tano Dragon 64 with DragonCoCo ROMs fitted and working.

http://www.youtube.com/watch?v=vZb8wrmJ ... e=youtu.be
zephyr
Posts: 1474
Joined: Mon Jul 21, 2008 1:18 am

Re: DragonCoCo v1.0

Post by zephyr »

I have just noticed that although the Dragon 64 ROM chips (27128 EPROMs) are labelled as IC17 and IC18, they are marked as IC34 (32 mode ROM ) and IC37 (64 mode ROM) on the circuit board.
Post Reply