Page 2 of 3

Re: Games for 6309 equipped Dragons

Posted: Wed Dec 11, 2019 2:49 pm
by pser1
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 443 times

Re: Games for 6309 equipped Dragons

Posted: Wed Dec 11, 2019 4:15 pm
by sixxie
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

Re: Games for 6309 equipped Dragons

Posted: Wed Dec 11, 2019 5:08 pm
by pser1
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

Re: Games for 6309 equipped Dragons

Posted: Wed Dec 11, 2019 5:16 pm
by pser1
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

Re: Games for 6309 equipped Dragons

Posted: Wed Dec 11, 2019 5:27 pm
by pser1
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

Re: Games for 6309 equipped Dragons

Posted: Wed Dec 11, 2019 5:58 pm
by sixxie
I guess if you had PMODE4 or similar then a PCLEAR back to <4 would fail...

Re: Games for 6309 equipped Dragons

Posted: Wed Dec 11, 2019 9:49 pm
by pser1
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

Re: Games for 6309 equipped Dragons

Posted: Wed Dec 11, 2019 10:27 pm
by sorchard
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)

Re: Games for 6309 equipped Dragons

Posted: Wed Dec 11, 2019 10:47 pm
by sixxie
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.

Re: Games for 6309 equipped Dragons

Posted: Tue Jul 07, 2020 7:15 pm
by pser1
Hello,
this is just an update for the converted game Gantelet.
jmk has found a bug in the Basic program that starts the game in the 'longname' disk version. Thanks a lot!
It was just a filename changed, so it would never start the game.
You will find the corrected version here
cheers
pere