Program, Interrupted - Computerphile

preview_player
Показать описание
In day to day life interruptions are annoying, but in computing they're essential. James Fowkes explains using an Arduino.

Thanks to Nottingham Hackspace

This video was filmed and edited by Sean Riley.

Рекомендации по теме
Комментарии
Автор

- Knock knock!

+ Who's there?

- The interrupting interrupt.

+ The interru...

- Just a sec while I deal with something that's suddenly come up.

- ...

- Please proceed.

+ pting Interrupt who?

anon
Автор

At a few points in this video I said "8 bytes" where I meant "8 bits". Damn it all.

jamesadfowkes
Автор

Goodness! I'm working on a digital art Arduino installation and that attachInterrupt function was EXACTLY what I needed to finish my work. Your timing on this video could not have been more perfect. Thank you kindly!

grantmagee
Автор

I love the fact that James actually showed human demonstration of interrupts throughout the video

k_gold
Автор

I just learnt this yesterday in my OS class. Awesome.

DinoWinoSaur
Автор

Show of hands: Who else remembers the days of manually configuring IRQs when installing PC hardware?

DataCabe
Автор

Interrupts are no longer part of Magic The Gathering. They were initially "faster" than instants, but it lead to a whole lot of confusion, so they were scrapped in favour of a stack system.

ze_rubenator
Автор

This is a great demonstration. Definitely helped me understand this concept better.

firepower
Автор

interupts were heavely used in 8 bits systems. For example, on a NES or C64 you didn't have to check for collision between sprites, the video chip can cause an interrupt when it draws 2 sprites and they overlap

golarac
Автор

the 500ms "delay" loop, means that the button cannot be read during that 500ms, hence it not always responding, for it was inside the 500ms loop.

DataStorm
Автор

actually, multi-core processors are fairly recent. I remember installing interrupt handlers in ye olde 8086. Those were simpler times indeed...

aliedperez
Автор

Nice video, but how does the cpu react with Non-Maskable-Interrupts, when compared to programmable interrupts?

stub
Автор

5:54 : It very much does not save anything in registers, you push your registers on the stack, build a new stackframe, and then execute your code.

probE
Автор

Unringing all the notification bells, because YT is spamming me.

Tfin
Автор

I didn't quite like the explanation. Interrupts are not only used for things that need to be handled fast. A buttonhandler is also a good example for an interrupt service routine, because if you're only waiting for the user to press a button, you can halt the cpu und save power. Also all that "remembering" what the program was doing before is part of the ISR and not build into the CPU except for the program pointer.
Also Interrupts in an ISR are possible. You need to disable them in the ISR yourself. Well, at least on the platforms I know.

dermartologie
Автор

Interruptions of interruptions happen in real-life all the You hear a knock at your door, then on the way to your door your kid jumps out in front of you and starts whining.

Dracolith
Автор

Playfully, congratulations, your Sales Incentive payment confirmation is officially through the magical processing chamber!

George__la
Автор

Fantastic. Programming tip videos like this are awesome. I would love to see more of them.

orrinnaylor
Автор

Please can you do something on DMA and RTOSes?

Ovenman
Автор

i remembered the moment, when i was playing video game, dota2
then my friend plugged his usb drive for charging his phone, then its start to say "Hello, Interrupt"
i was so angry at that time

lunaeclipse