Account Options

  1. Sign in
The old Google Groups will be going away soon, but your browser is incompatible with the new version.
Google Groups Home
« Groups Home
Pure64 and interrupts
There are currently too many topics in this group that display first. To make this topic appear first, remove this option from another topic.
There was an error processing your request. Please try again.
flag
  6 messages - Collapse all  -  Translate all to Translated (View all originals)
The group you are posting to is a Usenet group. Messages posted to this group will make your email address visible to anyone on the Internet.
Your reply message has not been sent.
Your post was successful
 
From:
To:
Cc:
Followup To:
Add Cc | Add Followup-to | Edit Subject
Subject:
Validation:
For verification purposes please type the characters you see in the picture below or the numbers you hear by clicking the accessibility icon. Listen and type the numbers you hear
 
42Bastian  
View profile  
 More options Mar 22 2012, 5:58 am
From: 42Bastian <e...@monlynx.de>
Date: Thu, 22 Mar 2012 10:58:35 +0100
Local: Thurs, Mar 22 2012 5:58 am
Subject: Pure64 and interrupts
Hi Ian,

just got trapped because pure64 enables the RTC interrupt.

Is this needed for anything useful ?

IMHO, a bootloader should not leave activated any interrupts when starting
the loaded software.

--
42Bastian


 
You must Sign in before you can post messages.
To post a message you must first join this group.
Please update your nickname on the subscription settings page before posting.
You do not have the permission required to post.
Ian Seyler  
View profile  
 More options Mar 22 2012, 11:01 am
From: Ian Seyler <isey...@gmail.com>
Date: Thu, 22 Mar 2012 08:01:15 -0700 (PDT)
Local: Thurs, Mar 22 2012 11:01 am
Subject: Re: Pure64 and interrupts

I don't understand what you mean. Pure64 leaves all interrupts disabled
once it is finished. BareMetal OS reactivates them when it starts up.

The RTC interrupt increments a clock counter, displaying the system status
bar (enabled by default), and also restarting the CLI once a program has
finished running. So it is useful but can be disabled.

-Ian


 
You must Sign in before you can post messages.
To post a message you must first join this group.
Please update your nickname on the subscription settings page before posting.
You do not have the permission required to post.
42Bastian  
View profile  
 More options Mar 22 2012, 11:39 am
From: 42Bastian <e...@monlynx.de>
Date: Thu, 22 Mar 2012 16:39:16 +0100
Local: Thurs, Mar 22 2012 11:39 am
Subject: Re: Pure64 and interrupts
Hi

> I don't understand what you mean. Pure64 leaves all interrupts disabled
> once it is finished.

Not quit. You make a "cli", but the rtc still fires. As soon as the loaded
SW enables interrupts, the RTC interrupt fires and (in the case of my
RTOS) an unhandled interrupt occurs because no user handler has been
installed.

> The RTC interrupt increments a clock counter, displaying the system status
> bar (enabled by default), and also restarting the CLI once a program has
> finished running. So it is useful but can be disabled.

Thats for BM. I disabled the RTC code in pure64, and now I have no
problems with the interrupt.

To bad, my attempt to disable the RTC again, did not work, maybe because
it is still pending.

--
42Bastian


 
You must Sign in before you can post messages.
To post a message you must first join this group.
Please update your nickname on the subscription settings page before posting.
You do not have the permission required to post.
Ian Seyler  
View profile  
 More options Mar 22 2012, 12:36 pm
From: Ian Seyler <isey...@gmail.com>
Date: Thu, 22 Mar 2012 09:36:53 -0700 (PDT)
Local: Thurs, Mar 22 2012 12:36 pm
Subject: Re: Pure64 and interrupts

Ah, I see what you mean now. I will adjust Pure64 to disable the RTC
periodic interrupt before I disable interrupts globally. Would that be ok?

-Ian


 
You must Sign in before you can post messages.
To post a message you must first join this group.
Please update your nickname on the subscription settings page before posting.
You do not have the permission required to post.
Ian Seyler  
View profile  
 More options Mar 22 2012, 12:46 pm
From: Ian Seyler <isey...@gmail.com>
Date: Thu, 22 Mar 2012 09:46:20 -0700 (PDT)
Local: Thurs, Mar 22 2012 12:46 pm
Subject: Re: Pure64 and interrupts

The fix is in the Pure64 SVN:  
http://code.google.com/p/pure64/source/detail?r=101

I hope this helps.

-Ian


 
You must Sign in before you can post messages.
To post a message you must first join this group.
Please update your nickname on the subscription settings page before posting.
You do not have the permission required to post.
42Bastian  
View profile  
 More options Mar 22 2012, 4:06 pm
From: 42Bastian <e...@monlynx.de>
Date: Thu, 22 Mar 2012 21:06:49 +0100
Local: Thurs, Mar 22 2012 4:06 pm
Subject: Re: Pure64 and interrupts
Thanks Ian

> The fix is in the Pure64 SVN:  
> http://code.google.com/p/pure64/source/detail?r=101

I will give it a try.
--
42Bastian

 
You must Sign in before you can post messages.
To post a message you must first join this group.
Please update your nickname on the subscription settings page before posting.
You do not have the permission required to post.
End of messages
« Back to Discussions « Newer topic     Older topic »