[Ktechlab-devel] Another odd issue with gpsim on OSX.

Bryn Davies curious at progsoc.uts.edu.au
Sun Mar 5 04:01:16 UTC 2006


On 03/03/2006, at 11:58 PM, David Saxton wrote:
> "ProcessorConstructorList * ProcessorConstructor::processor_list = 0;"

  Whoops!  You are, of course, correct.  Sorry about that.

> Fixed that issue, via use of the header file qglobal.h. Could you  
> test it out
> to make sure that it's detecting darwin ok? :)

  Sure can!  I'll do this later on this afternoon.  I actually have  
another minor patch to chuck past you, this one's for Microbe - I  
think it's a leftover from a time when "Type" was a string instead of  
an enum -

--8<--8<--
Index: microbe/pic14.cpp
===================================================================
--- microbe/pic14.cpp   (revision 840)
+++ microbe/pic14.cpp   (working copy)
@@ -277,7 +277,7 @@
bool PIC14::isValidInterrupt( const QString & interruptName ) const
{
-       if(m_type == "P16F84" || m_type =="P16C84")
+       if( m_type == P16F84 || m_type == P16C84 )
         {
                 return ( interruptName == "change" ||
                                  interruptName == "timer" ||
--8<--8<--

  Also, while the code describes the interrupt here as "change", the  
docbook entry describes it as "changed".

  Having fixed that though, my Microbe compile seems to be stuck in a  
loop somewhere - it's been chugging away at 80%+ processor  
utilisation for the last 20 minutes.  Oh well, you live, you learn. ;-)

  B.

-- 
curious at progsoc.uts.edu.au              | Assistant Language Teacher
http://progsoc.org/~curious/            | Kasukabe Board of Education
http://livejournal.com/users/curious_jp | Saitama Prefecture, Japan







More information about the Ktechlab-devel mailing list