int 10h function 0Eh
Posted: Mon Feb 16, 2009 2:37 pm
I decided, just for the fun of it, to try and make a 512 byte OS for a FAT12 floppy boot sector. I have the ability to type out a string at a 'prompt' and be able to use backspace to erase. However, in Bochs, the '\b' code doesn't wrap around lines. It'll work all the way to the beginning of the line, but the next one won't go to the end of the previous line. I've developed a workaround, but I was just wondering if this was standard behavior or if this is a mistake in Bochs? I haven't had a chance to test on RHW because I haven't a floppy or floppy drive to test with. If it's standard behavior, I'll just have to try a different workaround that will prevent me from needing to use the '\b' code.
Also, when int 10h function 0Eh scrolls the screen, is there a way to use a certain attribute for the new lines? Or perhaps there's a function (not 06h) I haven't found that does something similar? This doesn't matter so much, and is just a small style thing.
Edit: I just went with the different workaround, which works rather nicely and reduced the size of my code. Question 2 still stands, though.
Also, when int 10h function 0Eh scrolls the screen, is there a way to use a certain attribute for the new lines? Or perhaps there's a function (not 06h) I haven't found that does something similar? This doesn't matter so much, and is just a small style thing.
Edit: I just went with the different workaround, which works rather nicely and reduced the size of my code. Question 2 still stands, though.