flat assembler
Message board for the users of flat assembler.
Index
> OS Construction > A parallel port driver... |
Author |
|
Matrix 11 Oct 2004, 20:08
crc wrote: This is a simple parallel port driver. It can send/recieve bytes from the parallel port, though interpreting the bytes read is up to you. It can be used with some old dot-matrix parallel port printers without too much extra code Hy CRC, you have interesting code there do you really mean these?: Code: ; eax = byte to write ; Returns eax = status byte MATRIX |
|||
11 Oct 2004, 20:08 |
|
crc 11 Oct 2004, 22:23
Yes.
This code is from my operating system, which uses 32-bit values internally. In reality, the original code was written in Forth, so it's not always a clean 1:1 mapping. I guess the comments could say "ax" instead of "eax", but it doesn't really matter too much does it? |
|||
11 Oct 2004, 22:23 |
|
< Last Thread | Next Thread > |
Forum Rules:
|
Copyright © 1999-2024, Tomasz Grysztar. Also on GitHub, YouTube.
Website powered by rwasa.