Created Bit Banger (markdown)

ksherlock 2021-05-31 11:16:45 -04:00
parent bc3d988682
commit 7b87d2feae

12
Bit-Banger.md Normal file

@ -0,0 +1,12 @@
When a serial port uses the `null_modem` device, the `-bitbanger` (`-bitb`) option is made available.
`-bitbanger`'s argument may be:
* `file` -- opens a file
* `socket.hostname.port` -- Opens a tcp connection. This is raw connection; any protocol (telnet, ssh, etc) needs to be handled by the guest).
* `/dev/pty` (Apple) or `/dev/pts` (Unix) -- Attaches it to a new pseudo terminal (pty). I don't believe you can easily determine which pty it is, so using `pty` device directly is a better option.
* `domain.pathname` (Apple, Unix) -- Opens a UNIX domain socket.
* `\\.\pipe\pipename` (Win32) -- Opens/Creates a named pipe.
See also:
* [Using MAME to Emulate the Apple II+](https://glasstty.com/?p=684)