|
I was thinking the same as OG, 16 IRQ's needs only 4 bits (so the byte could handle up to 256 IRQ's - enough for the future.)
Could be wrong but back in the day I sort of remember when the Z80 caught an IRQ it disabled further interrupts till you executed a particular instruction (or was it a special variant of the RET instruction?) - something like that? (And there may have been 1 or 2 specific IRQs that weren't disabled). Was a loooong time ago, could be wrong, may have been a dream.
Perhaps your CPU has something similar?
Signature ready for installation. Please Reboot now.
|
|
|
|
|
I thought about a 16 -> 4 multiplexer (they are cheap enough), but you can't respond to multiple interrupts that way, so if two come in while you are processing one with interrupts disabled you will lose one or the other when you reenable. A pair of eight bit latches doesn't take a lot more room, and is more flexible.
Bad command or file name. Bad, bad command! Sit! Stay! Staaaay...
AntiTwitter: @DalekDave is now a follower!
|
|
|
|
|
Brings back memories. Do you have a processor that automatically disables further interrupts when the first interrupt occurs, or is an instruction to disable interrupts? If the former, one workaround I had to implement once was to check at the end of the interrupt handler if any other bits had been set and route them in the code. If the latter, you could either write your IRQ handlers to be really really safe, or you could write an IRQ handler that queues the interrupt and have a separate (does your processor do threading?) "loop" (ugh, but again, been there, done that) that services the queue.
Heck, if you can create a separate thread, don't even use the IRQ line, just poll the latch. As evil as that sounds, it actually works quite well, IIRC. If your processor doesn't support threads, then, ummm...not a great solution.
Anyways, that's my 2c from what I remember having to deal with in a previous lifetime.
|
|
|
|
|
Interrupts are disabled when the processor acknowleges an interrupt and are reenabled when you return from the interrupt routine. Threads would be great, but the processor does not support them. I would need some kind of timer interrupt to schedule and switch threads. This is becoming circular.
I have lived with several Zen masters - all of them were cats.
His last invention was an evil Lasagna. It didn't kill anyone, and it actually tasted pretty good.
|
|
|
|
|
CodeWraith wrote: This is becoming circular.
Otherwise known as "stack overflow" Yup, that about sums up the complexity of interrupts. Simple concept, yet probably where a good 50% (if not more) of my debugging would go into when I used to write assembly.
|
|
|
|
|
are you a wizard?
|
|
|
|
|
I hunt Balrogs every day!
Bad command or file name. Bad, bad command! Sit! Stay! Staaaay...
AntiTwitter: @DalekDave is now a follower!
|
|
|
|
|
I knew it!
|
|
|
|
|
I suppose then you also have the robe, pointy hat, eat a lot and never bathe.
Signature ready for installation. Please Reboot now.
|
|
|
|
|
Yes, No, Yes, No comment.
Gandalf bathed - how do you think he became Gandalf the White? Eating Tide Pods?
Bad command or file name. Bad, bad command! Sit! Stay! Staaaay...
AntiTwitter: @DalekDave is now a follower!
|
|
|
|
|
Ah, but on Discworld only he Archchancellor bathed (even then a few times only),
and that worried the rest of the wizards a great deal.
Signature ready for installation. Please Reboot now.
|
|
|
|
|
It worried 'em even more when they found out the bathroom was a Bloody Stupid Johnson creation!
Bad command or file name. Bad, bad command! Sit! Stay! Staaaay...
AntiTwitter: @DalekDave is now a follower!
|
|
|
|
|
Look over the pond: Chlorox bleach.
I have lived with several Zen masters - all of them were cats.
His last invention was an evil Lasagna. It didn't kill anyone, and it actually tasted pretty good.
|
|
|
|
|
OriginalGriff wrote: I hunt Balrogs every day!
Lucky for us you haven't actually encountered any.
|
|
|
|
|
I dunno - I think there are quite a few in QA!
Bad command or file name. Bad, bad command! Sit! Stay! Staaaay...
AntiTwitter: @DalekDave is now a follower!
|
|
|
|
|
|
I now have a less scary backdrop!
|
|
|
|
|
glennPattonWork wrote: I now have a less scary backdrop!
Quote: ... the 7 light-year diameter bubble offers evidence of violent processes at work. Above and left of the Bubble's center is a hot, O-type star, several hundred thousand times more luminous and some 45 times more massive than the Sun. A fierce stellar wind and intense radiation from that star ...
I wouldn't get too close, it only makes the entire worlds nuclear arsenal look like a fireflies fart.
Signature ready for installation. Please Reboot now.
|
|
|
|
|
I assume that "too close" means, maybe, twenty light years or so?
|
|
|
|
|
I'm sure lots of us receive job postings from many recruiters. I just thought I'd post this one because it made me laugh. 10 years minimum required for many, *very* particular skills?! Let me know if anyone on the planet would qualify. I'll be happy to send the original post if you want to respond
Skills Required
Demonstrated experience working with MS Dynamics Online CRM Platform (current versions preferred) Required 10 years
Experience designing, developing and managing multiple enterprise level CRM applications Required 10 years
Experience creating web services for enterprise MS Dynamics CRM Online applications Required 10 years
Experience with CRM data replication to Microsoft SQL Server Required 10 years
Experience with bi-directional integrations with multiple source systems. Required 10 years
Experience with GIS integration with MS Dynamics Online CRM Platform Required 10 years
Experience with batch document scanning and storing those images in Azure Blob Storage Required 10 years
Must have enterprise application experience in setting up security roles for multi-level (county/state or similar) agencies. Required 10 years
|
|
|
|
|
10 years experience with Azure? Given it hasn't been out for 10 years I guess they're looking for someone involved in its actual development.
|
|
|
|
|
I was waiting for that comment to appear...
Steve Naidamast
Sr. Software Engineer
Black Falcon Software, Inc.
blackfalconsoftware@outlook.com
|
|
|
|
|
Nah, they are looking for a time traveler.
|
|
|
|
|
Well ... Azure was announced in Oct 2008, but no, it wasn't released till 2010.
Plus, I'm guessing that if you had ten years of solid experience in all of those, you probably retured twenty years ago...
I'm guessing they are trying to trap time travellers.
Bad command or file name. Bad, bad command! Sit! Stay! Staaaay...
AntiTwitter: @DalekDave is now a follower!
|
|
|
|
|
Generally, if I have ten years of experience in something, I don't want to continue doing it.
|
|
|
|