[Coco] Modifying Level1/coco1 for 6309 native mode

Gene Heskett gheskett at wdtv.com
Wed Jan 8 23:53:56 EST 2014


On Wednesday 08 January 2014 23:46:03 Robert Gault did opine:

> Luis Antoniosi (CoCoDemus) wrote:
> > It's crashing in the F$Load inside the F$Fork for me now.
> 
> Right. Carrying this further, F$Load is not the problem (and the load
> was for Shell.) The ioman code continues (see FLoad) with an attempt to
> I$Open the module. Once opened, ioman then tries to read M$IDSize
> bytes; which is where the crash occurs.
> 
> L05D2    lda   6,s                     get path
>           leax  7,s                     point to place on stack
>           ldy   #M$IDSize               read M$IDSize bytes
>           os9   I$Read
>           bcs   L061E
> 
> At the moment, I can't find the actual problem which probably involves
> the stack.
> 
> Robert
> 
Duhh,,, leax 7,s "place on the stack?

That does not sound right.  Maybe it should be ldx from 7,s.  Pointing x 
back 7 bytes up the stack, and then loading the file into the stack sure 
sound like a grand and glorious set of screen fireworks to me.

Sounds to me like it should have been ldx 7,s.

Where, in what src file is this located, I'll check my copy.

> --
> Coco mailing list
> Coco at maltedmedia.com
> http://five.pairlist.net/mailman/listinfo/coco


Cheers, Gene
-- 
"There are four boxes to be used in defense of liberty:
 soap, ballot, jury, and ammo. Please use in that order."
-Ed Howdershelt (Author)
Genes Web page <http://geneslinuxbox.net:6309/gene>

Hollywood is where if you don't have happiness you send out for it.
		-- Rex Reed
A pen in the hand of this president is far more
dangerous than 200 million guns in the hands of
         law-abiding citizens.



More information about the Coco mailing list