Games for 6309 equipped Dragons

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.
pser1
Posts: 1336
Joined: Sun Mar 25, 2012 7:32 pm
Location: Barcelona (SPAIN)

Re: Games for 6309 equipped Dragons

Post by pser1 » Wed Dec 11, 2019 2:49 pm

Hello,
Henry Rietveld has found out that the basic loader fails on a real Tano computer.
Everything is OK for the Dragons, but some differences in the Basic Interpreter make it raise this message
?FC ERROR IN LINE 110
I am attaching here a v1.1 of the disk containing the 'old' system to issue a PCLEAR0 that is compatible
with all kind of Dragons ...
If you do not own a Tano computer then you don't need to update the disk.
regards
pere
Bugs-II v1.1.ZIP
(89.29 KiB) Downloaded 27 times

sixxie
Posts: 1097
Joined: Fri Jul 18, 2008 8:36 am
Location: Hertfordshire
Contact:

Re: Games for 6309 equipped Dragons

Post by sixxie » Wed Dec 11, 2019 4:15 pm

Interesting you have any machine where that does work...

Here's my take on PCLEAR0, btw:

Code: Select all

POKE&HB7,PEEK(&HB7)-6:POKE&HBC,PEEK(&HBC)-6:PCLEAR1:POKE&HB7,PEEK(&HB7)+6:POKE&HBC,PEEK(&HBC)+6
Last edited by sixxie on Wed Dec 11, 2019 10:47 pm, edited 1 time in total.

pser1
Posts: 1336
Joined: Sun Mar 25, 2012 7:32 pm
Location: Barcelona (SPAIN)

Re: Games for 6309 equipped Dragons

Post by pser1 » Wed Dec 11, 2019 5:08 pm

sixxie wrote:
Wed Dec 11, 2019 4:15 pm
Interesting you have any machine where that does work...
Here's my take on PCLEAR0, btw:

Code: Select all

POKE&HB7,PEEK(&HB7)-6:POKE&HBC,PEEK(&HBC)-6:PCLEAR1:POKE&HB7,PEEK(&HB7)+6:POKE&HBC,PEEK(&HBC)+6
Hi, Ciaran,
thanks for that one. Yet another way to issue the forbidden PCLEAR0 ;-)
The shorter form I have using assembler is this one:

Code: Select all

	lda	<$bc	 ; 96bc   -  get graphics beginning
	ldb	#1	 ; c601   - plus one byte
	tfr	d,y	 ; 1f02   - transfer to Y register
	jmp	$aa35    ; 7eaa35 - call PCLEAR past the controls!  
But to be implemented in basic loaders your vesion is going to use less memory!
cheers
pere
Last edited by pser1 on Thu Dec 12, 2019 12:21 am, edited 1 time in total.

pser1
Posts: 1336
Joined: Sun Mar 25, 2012 7:32 pm
Location: Barcelona (SPAIN)

Re: Games for 6309 equipped Dragons

Post by pser1 » Wed Dec 11, 2019 5:16 pm

just out of curiosity,
Once I run the basic program with your peek/pokes, I get the correct free memory (29406),
but then if I issue PCLEAR1 if gives
?FC ERROR
This, again, only happens on a Tano computer. I asume that the Basic ROMs that I am using for the Dragon64 have been modified
many time ago ... maybe Stephen J Woolham versions (?)
cheers
pere

pser1
Posts: 1336
Joined: Sun Mar 25, 2012 7:32 pm
Location: Barcelona (SPAIN)

Re: Games for 6309 equipped Dragons

Post by pser1 » Wed Dec 11, 2019 5:27 pm

this is just to confirm that using a std Dragon 64 ROM for Basic,
the message ?FC ERROR appears after a trick doing a PCLEAR0 is executed and calling PCLEAR1 immediately.
And of course, using the PCLEAR0 that I used in BUGS-II fails with them too!
regards
pere

sixxie
Posts: 1097
Joined: Fri Jul 18, 2008 8:36 am
Location: Hertfordshire
Contact:

Re: Games for 6309 equipped Dragons

Post by sixxie » Wed Dec 11, 2019 5:58 pm

I guess if you had PMODE4 or similar then a PCLEAR back to <4 would fail...

pser1
Posts: 1336
Joined: Sun Mar 25, 2012 7:32 pm
Location: Barcelona (SPAIN)

Re: Games for 6309 equipped Dragons

Post by pser1 » Wed Dec 11, 2019 9:49 pm

to all gamers ...
If you have a Dragon with the std ROM (not modified), then you should better download
the v1.1 of the game BUGS-II because the old version will fail too :-(
cheers
pere

sorchard
Posts: 412
Joined: Sat Jun 07, 2014 9:43 pm
Location: Norwich UK

Re: Games for 6309 equipped Dragons

Post by sorchard » Wed Dec 11, 2019 10:27 pm

I just noticed that the gremlins stole the '+6' from the end of sixxie's pclear0 sequence.

Works fine on real D32 & D64 when amended accordingly otherwise you get ?FC ERROR

Also, as sixxie hints, it might be worth putting PMODE0,1 before the pokes, to ensure that PCLEAR1 doesn't fail due to a previous BASIC program setting something different.

Note that a successful PCLEAR0 should give approx 31000 bytes free. (PCLEAR1 gives something like 29400)
Stew

sixxie
Posts: 1097
Joined: Fri Jul 18, 2008 8:36 am
Location: Hertfordshire
Contact:

Re: Games for 6309 equipped Dragons

Post by sixxie » Wed Dec 11, 2019 10:47 pm

sorchard wrote:
Wed Dec 11, 2019 10:27 pm
I just noticed that the gremlins stole the '+6' from the end of sixxie's pclear0 sequence.
Eek. You're quite right. Where'd that get to?

Edited the original so that people get really confused.

BTW, should work on CoCo too as the DP vars are in the same place, and it doesn't rely on a ROM call.

Post Reply