Parallel port output
Posted: Wed Jul 02, 2003 6:42 pm
I don't currently have a filesystem, so I don't have any way of logging long outputs from my OS (run in bochs). I saw that bochs has a feature where it will enable parallel port 1 and output the data to a file. I was hoping to be able to use this as a kind of "serial console" for my OS so I could send long outputs to the file and then look over them instead of using a quick fix where i switch to an idle task using the keyboard to pause the output. My question is, how do I send text to the parallel port?
I've been looking over the parallel port information at the operating system resource center, but most of it is about the hardware and how you can change the state of the wires of the port. It also talks about only being able to write 4 bits at a time to the port. So I was wondering if anyone knows how to get simple text to be output to the parallel port?
Thanks.
- Brandon
I've been looking over the parallel port information at the operating system resource center, but most of it is about the hardware and how you can change the state of the wires of the port. It also talks about only being able to write 4 bits at a time to the port. So I was wondering if anyone knows how to get simple text to be output to the parallel port?
Thanks.
- Brandon