https://github.com/mengstr/xmodem80
Xmodem for CP/M Z80 for CON:
https://github.com/mengstr/xmodem80
Last synced: 10 months ago
JSON representation
Xmodem for CP/M Z80 for CON:
- Host: GitHub
- URL: https://github.com/mengstr/xmodem80
- Owner: mengstr
- License: mit
- Created: 2017-03-25T10:02:33.000Z (about 9 years ago)
- Default Branch: master
- Last Pushed: 2017-03-27T05:56:33.000Z (about 9 years ago)
- Last Synced: 2025-06-03T10:47:57.695Z (about 1 year ago)
- Language: Makefile
- Homepage:
- Size: 87.9 KB
- Stars: 15
- Watchers: 4
- Forks: 6
- Open Issues: 1
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
README
# xmodem80 - Xmodem for Z80 CP/M 2.2 for CON:
### What
By some reason I couldn't get any of the existing xmodem programs to work
under my CP/M-8266 project so I decided to write my own small xmodem
implementation.
I guess the main reasion for the problems is that I needed to use the
standard main console device CON: for I/O, most old implementations uses a
separate device, either as PUN:/RDR: or with direct access to the UART hardware.

### Assembly
The sources for xs and xr can be compiled by the SLR Z80ASM in the CP/M machine or
cross-compiled with the "z80asm" package in Linux. I guess many other assemblers can
be used as well with the source unmodified or slightly altered for that assemblers
particular syntax, but those are the ones I use.
### Usage
Receiving a file on the CP/M machine is as easy as `XR FILENAME.EXT` or with a drive letter added as `XR B:FILENAME.EXT`
Sending a file from the CP/M is `XS FILENAME.EXT` or `XS B:FILENAME.EXT`
Pressing CTRL-X will exit the program while running.