I would like to add a second SIO/2 card (SC104, set to address 0x84) into my RC2014, so I could use the ports for:
- VGA VT100 terminal
- WiFi modem (internal at best)
- external RS232 port for typewriter printer
Which CP/M bios does handle 3 or 4 seral ports and maps them to which devices?
As I looked through the source code of RomWBW, I only saw mentions of SIOA & SIOB.
Any suggestions of what can be done here?
Thanks a lot!
Regards,
Anna
I think you can assign the punch and reader to sio 2 and 3.As to a driver, I think you are on your own there. um maybe.Do you use RomWbW ? if so there may be a solution already in place.
The standard RC2014 SIO card doesn't decode A2. I found that out with
Fuzix and had to add code to teach it to spot mirrored SIO ports
versus two SIO cards. That was .. fun 8) Fortunately there is one
register you can safely write cookies to and read them back - the IRQ
vector, so I use that to tell if it's two cards or one.
I don't know if ROMWBW can handle that case but Fuzix will handle a
pair of cards *providing* they are both fully decoded.
RomWBW could be easily modified to support a second serial port. As Alan has pointed out, you just need to find a good IO address for it.
Once there is clarity on the IO port address for the secondary card, I will add the support.
--
You received this message because you are subscribed to the Google Groups "RC2014-Z80" group.
To unsubscribe from this group and stop receiving emails from it, send an email to rc2014-z80+...@googlegroups.com.
To post to this group, send email to rc201...@googlegroups.com.
To view this discussion on the web, visit https://groups.google.com/d/msgid/rc2014-z80/106a99e3-00aa-4de4-87ce-6748dc08977e%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.
I don't see how 0x84 is going to work for the secondary module if your primary SIO module is a standard one from Spencer. The standard SIO module appears at both 0x80 and 0x84 because of the lack of decoding of A2. If your SC104 is configured for 0x84, it will conflict with the standard SIO module. The only way that you could use 0x80 and 0x84 is if BOTH modules were SC104 boards which fully decode the IO base address.
I can use Alan's trick to determine if 0x84 is just a mirror of 0x80, but it is definitely not reasonable to combine the standard SIO module with the SC104 at 0x84.
I will work on adding the support for a second SIO module at 0x84. I may need a few days because I am a bit busy at the moment.
The base I/O port address is currently defined in the platform configuration file. In the case of RCZ80, the file is plt_rcz80.inc. However, when I add the support for a secondary SIO module, I may move this definition to the sio.asm file.
OK, I have just checked in the changes to support multiple SIO modules. You will need to check out the files from the master branch and do your own build at this point.
The mapping of these devices to CP/M logical devices CON:, RDR:, PUN:, and LST: can be controlled by the CP/M IOBYTE which is managed by the STAT command.
If anyone gets a chance to check this out, please let me know if it works OK for you.
The first test says that it works :)