Page 2 of 2

Re: Will my interrupts still work?

Posted: Tue Sep 22, 2020 12:17 pm
by PavelChekov
As I said above, I am very new to this and can't find any documentation on how to do something like that. :mrgreen:

Re: Will my interrupts still work?

Posted: Tue Sep 22, 2020 12:23 pm
by kzinti
PavelCheckov wrote:As I said above, I am very new to this and can't find any documentation on how to do something like that. :mrgreen:
That's correct. You won't find information on doing something like that. You need to figure out the steps yourself.

Take one thing at a time, learn it, understand it, then go to the next thing and repeat.

Re: Will my interrupts still work?

Posted: Tue Sep 22, 2020 12:25 pm
by PeterX
PavelCheckov wrote:As I said above, I am very new to this and can't find any documentation on how to do something like that. :mrgreen:
Well, it goes something like this (pseudo code):

Code: Select all

label 1:
read from I/O port A
compare if it is = B
if so goto 1
label 2:
read from I/O port C
compare if it is = D
if not goto 2
Now you have a character from keyboard.
As I said, this is no real code, just to show you how it has to be done. I think Nexos gave you already some info sources.

What kzinti said is correct. You must be willing to learn a lot, then it is possible and fun.

Greetings
Peter

Re: Will my interrupts still work?

Posted: Wed Sep 23, 2020 10:56 am
by PavelChekov
Thanks.