[Coco] Need some tips debugging 6309 for OVCC

L. Curtis Boyle curtisboyle at sasktel.net
Tue Dec 3 21:25:17 EST 2019


Merge is very simple, so I suspect the problem is between VTIO/GRFDRV (which is doing TFM commands during this process). If you cut the startup file to not do the merge, try something like MERGE /dd/sys/stdptrs and see if that crashes. These are handled by the GPLoad code which hops between user and system tasks with a 72 byte buffer in MMU block 0, using a TFM to do so (I presume that you have already tried the 6809 version of EOU to make sure it is something else in OVCC causing the issue?)

Sent from my iPhone

> On Dec 3, 2019, at 6:01 PM, Walter Zambotti <zambotti at iinet.net.au> wrote:
> 
> ´╗┐Curtis
> 
> It manages to boot completely and setup 3 other windows.  It even creates the vterm window successfully.  The only thing causing the crash is the merge command that is loading the fonts.
> 
> I would assume this would cause the graphics driver to kick into gear.  So if I avoid any graphics I seem to be ok.
> 
> I've even run basic09 (6309) and tried some simple division and multiplication math. Seems ok!
> 
> I have now looked at MAME 6309 code and it is basically an abstraction layer to a general purpose device emulator within MAME. There is no chance of extracting the 6309 cpu component and running it independently of MAME.
> 
> So I will not be able to compare the MAME 6309 cpu to the VCC or OVCC 6309 cpu.
> 
> I now have to identify the culprit instructions!
> 
> Walter
> 
> -----Original Message-----
> From: Coco [mailto:coco-bounces at maltedmedia.com] On Behalf Of L. Curtis Boyle
> Sent: Tuesday, 3 December 2019 10:07 AM
> To: CoCoList for Color Computer Enthusiasts <coco at maltedmedia.com>
> Subject: Re: [Coco] Need some tips debugging 6309 for OVCC
> 
> Is it certain apps, or certain parts of the boot that are causing the issue?
> 
> L. Curtis Boyle
> curtisboyle at sasktel.net
> 
> 
> 
>> On Dec 2, 2019, at 8:04 PM, Walter Zambotti <zambotti at iinet.net.au> wrote:
>> 
>> Hi all
>> 
>> 
>> 
>> Trying to get NitrOS9 EOU working in 6309 mode on OVCC and running 
>> into some debugging woes.
>> 
>> 
>> 
>> It boots and starts up to the point where it performs the font merge 
>> in the startup script.
>> 
>> 
>> 
>> I have that commented out at the moment and I can use EOU 6309 in 
>> terminal mode without issue.
>> 
>> 
>> 
>> I have set break points for all 6309 instructions but this hasn't help 
>> as the ones that are invoked are done so many times and appear to be 
>> executing correctly.
>> 
>> 
>> 
>> Not sure how to proceed any further.
>> 
>> 
>> 
>> I could download the MESA source for the 6309 and run it against my 
>> code via a CPU verifier I wrote.  Would be time consuming!
>> 
>> 
>> 
>> Any other ideas guys/girls?
>> 
>> 
>> 
>> Walter
>> 
>> 
>> --
>> Coco mailing list
>> Coco at maltedmedia.com
>> https://pairlist5.pair.net/mailman/listinfo/coco
>> 
> 
> 
> -- 
> Coco mailing list
> Coco at maltedmedia.com
> https://pairlist5.pair.net/mailman/listinfo/coco
> 
> 
> -- 
> Coco mailing list
> Coco at maltedmedia.com
> https://pairlist5.pair.net/mailman/listinfo/coco
> 



More information about the Coco mailing list