Very slight bug report #143
Replies: 8 comments 7 replies
-
Although the first serial port seems locked to the TTY console, it is possible to set the second serial port to device "UC1" at 9600 baud with the following lines in boot.conf: UART1=9600,cs8 SIO2.portA.device=UART1 Be sure the jumpers are set correctly for the serial port connections. I have an Epson TMU325D serial 40 column receipt printer connected to the second serial port. I can send a text file to the printer with: PIP UC1:=FILE.TXT Unfortunately, the BIOS in the emulation does not support setting the LST: printer device to UC1 in the IOBYTE mapping. The following does NOT work: STAT LST:=UC1: |
Beta Was this translation helpful? Give feedback.
-
To show the current I/O assignments that CP/M uses: A>stat dev: To show the possible assignments: A>stat val: Temp R/O Disk: d:=R/O So, to assign the printer to the second serial do: And of course use stat to assign the console to tty or crt. |
Beta Was this translation helpful? Give feedback.
-
In CP/M 2.2 version B03 ul1: is assigned to the second serial port, in versions before that might not be the case, don't know anymore. Disk image with B03 is available here: |
Beta Was this translation helpful? Give feedback.
-
Hm, the OS's should work identical on the ESP replica and the workstations. I always use a workstation of course to build some disk images and copy them to the ESP MicroSD. Just checked on a PC, it is a 54 KB CP/M 2.2 that works ok with TTY and CRT and all boot ROM's. No idea why it won't work on your replica, just copied to mine and works. |
Beta Was this translation helpful? Give feedback.
-
And also with CP/M 3 you can assign TTY2 to LST with the device command. Syntax is LST:=TTY2 |
Beta Was this translation helpful? Give feedback.
-
The nice thing about CP/M 2.2 vB03 is that with UL1 now mapped to the second serial port UART1 (at SIO2.portA, if so configured in boot.conf) for connection to a serial printer, UC1 is available to Kermit to be used to connect to the virtual Telnet Modem (at SIO2.portB, if so configured in boot.conf). In the CP/M 2.2 vB01 version, UC1 seems to be mapped in BIOS to both the Modem and UART1, preventing use of the Modem in Kermit if UC1 is otherwise assigned to the console with stat "CON:=UC1". I'm having lots of fun with the virtual modem that takes up no physical serial ports, yet allowing connection to hundreds of BBS systems via Telnet. Use of the modem should be documented a bit better, though (only upper case AT commands allowed, etc.)! Don |
Beta Was this translation helpful? Give feedback.
-
I needed a while to implement BIOS functions for all physical devices and the mappings to the logical devices, so that such things are possible. You see that at the build number of the BIOS and you really should update to B03 if not done already. Well, the modem is a pretty basic AT modem, nothing fancy, a manual of one of the early AT modems from Hayes or so probably will do. If I remember right AT commands always were upper case only. |
Beta Was this translation helpful? Give feedback.
-
No, the BIOS doesn't implement any flow control or handshaking. I have no hardware for testing this, needs to be implemented by someone who has everything needed to get this working. Also I don't know if the ESP firmware does anything with the handshaking lines. |
Beta Was this translation helpful? Give feedback.
-
I built my kit last week; excellent kit and very high quality software. I really feel like I got my money's worth.
I have found one very slight issue. Perhaps this even repro's on real hardware, I don't know.
Using configuration setting $0958 (CP/M, MPU-A ROM + VIO ROM + Wifi Station) I transfer the console to TTY using: PIP CON:=TTY:.
If I then press Ctrl-P to direct output to the printer, I just get two of every character typed and nothing goes to the printer.
If I direct the console back to CRT:, printing works normally and characters are not doubled.
I don't require a fix for this, there is an easy work-around, but I thought it would be worth mentioning. If this is an issue that repro'd with the original hardware it would be really interesting to know why.
Beta Was this translation helpful? Give feedback.
All reactions