Index | Fejlesztés Development | CPU | Számítógép Computer | Assembler | Monitor | Függvények Library
Az UART vevő állapotának vizsgálata. Azt mutatja meg, hogy van-e az UART-ban beolvasható vett karakter, ha igen, a flag regiszter C bitje 1 lesz. Checks the UART receiver status. It shows whether there is a character received in the UART that can be read, if so, bit C of the flag register will be set to 1.
Várakozás egy karakter vételére, majd a karakter kiolvasása az UART áramkörből. Waiting for a character to be received, then reading the character from the UART circuit.
Az UART vevő áramkörének kiolvasása. A szubrutin nem vár új karakterre, a vevő állapotát előzőleg az input_avail funkcióval kell vizsgálni. Reading the UART receiver circuit. The subroutine does not wait for a new character, the receiver status must be checked beforehand with the input_avail function.
A sor beolvasó függvény számára beállítja a beolvasáshoz használandó puffer címét és méretét. A puffert üresre állítja, így a sor beolvasása elkezdhető. Sets the address and size of the buffer to be used for reading for the line editor function. Sets the buffer to empty so that the line can be read.
A sor beolvasó függvény által használt puffert kiüríti, így új beolvasás kezdhető. Emptys the buffer used by the line reader function so that a new read can be started.
Megvizsgálja, hogy van-e beolvasható karakter, ha igen, elhelyezi a sor pufferben, amíg az meg nem telik. Kezeli a backspace törlő billentyűt. Ha a bevitel közben megnyomták az ENTER-t, akkor a C flag-et 1-be állítja. Checks if there is a readable character, if so, places it in the line buffer until it is full. Handles the backspace key. If ENTER is pressed during input, sets the C flag to 1.