This Forum is Dedicated For all The Object Oriented PIC Lovers .......... The concept behind OOPic is straight forward. Use preprogrammed multitasking Objects from a library of highly optimized Objects to do all the work of interacting with the hardware. Then write small scripts in Basic, C, or Java syntax styles to control the Objects. During operation, the Objects run continuously and simultaneously in the background while the scripts run in the foreground telling the objects what to do.

Wednesday, March 19, 2008

[oopic] Re: SCP accessing variables in RAM getting garbage

--- In oopic@yahoogroups.com, "Doug Taylor" <dogulas@...> wrote:
>
>
>
> --- In oopic@yahoogroups.com, "m_elias" <m_elias@> wrote:
> >
> > Any further progress on this? I too am having difficulty
understanding
> > how the "Banks" (0-3) are arranged. The compiler (v6) denotes the
> > "area" (A,I,V) and the address but I can't figure out how to
> > successfully address anything other than in "Object Default
Property"
> > mode.
> >
>
>
>
> m_elias,
>
> Certainly!
>
> The statement in my previous post turns out to work for me. I'm
> currently using it without problems.
>
> "This test would imply that things in Area A, and Area I need a sub
> address bank of 0, whereas things in Area V need a sub address bank of
> 2. I have no idea what Area F is for."
>
> Hope it works for you.
>
> Dogulas
>

Thanks Doug,

I did some testing using a similar technique to what 'jeffmaya'
suggested in another post,

For i = 0 to 127
MSComm1.Output = i & "J"
MSComm1.Output = "144H"
MSComm1.Output = "M"
DoEvents
Next 'i


I used that to determine which Banks contained what. You are correct,
V area = Variable Memory = Bank 2
A Area = Object Memory = Bank 0
I Area = end of Object Memory(oByte type stuff) = Bank 0

[Non-text portions of this message have been removed]


------------------------------------

Yahoo! Groups Links

<*> To visit your group on the web, go to:

http://groups.yahoo.com/group/oopic/

<*> Your email settings:
Individual Email | Traditional

<*> To change settings online go to:

http://groups.yahoo.com/group/oopic/join

(Yahoo! ID required)

<*> To change settings via email:
mailto:oopic-digest@yahoogroups.com
mailto:oopic-fullfeatured@yahoogroups.com

<*> To unsubscribe from this group, send an email to:
oopic-unsubscribe@yahoogroups.com

<*> Your use of Yahoo! Groups is subject to:

http://docs.yahoo.com/info/terms/

No comments: