Ethernet for the QL
Re: Ethernet for the QL
I am doing some work on this today.
As it stands, it's using an ATF1502 for logic, 2x 512K SRAMs (896K available) and the CP2200.
It'll have a through connector. All usual peripherals should work normally, including (S)GCs.
The only thing I'm unclear on is if it should carry a 16K EPROM or not. And if so, where should the EPROM be positioned in the memory map?
As it stands, it's using an ATF1502 for logic, 2x 512K SRAMs (896K available) and the CP2200.
It'll have a through connector. All usual peripherals should work normally, including (S)GCs.
The only thing I'm unclear on is if it should carry a 16K EPROM or not. And if so, where should the EPROM be positioned in the memory map?
-
- Aurora
- Posts: 931
- Joined: Sat Oct 25, 2014 9:53 am
Re: Ethernet for the QL
Hi Dave!
If an SGC is fitted (not sure about the GC), then we've got its 'virtual' Ext IO space at 4C0000, which is cleverly arranged to appear on the 20bit Address bus as if at A18..19=11 == C0000 - the 768K mark.
Looking forward to hearing more progress in due course!
The perennial expansion question... If attached to a BBQL, the only options are either to occupy the usual 16K slot at 0C000, or else to carve-out 16K from from your RAM expansion area. Even then (above the RAM expansion), not all QDOS ROMs look there for extension code with any degree of perseverance - though Minerva does.Dave wrote:The only thing I'm unclear on is if it should carry a 16K EPROM or not. And if so, where should the EPROM be positioned in the memory map?
If an SGC is fitted (not sure about the GC), then we've got its 'virtual' Ext IO space at 4C0000, which is cleverly arranged to appear on the 20bit Address bus as if at A18..19=11 == C0000 - the 768K mark.
Looking forward to hearing more progress in due course!
Re: Ethernet for the QL
For a non-accelerated BBQL, I'd like to offer the longest continuous memory without interfering with the external ROM slot or very common expansions. I don't think people will mind if it manages 880K or 864K instead of 896K.martyn_hill wrote:The perennial expansion question... If attached to a BBQL, the only options are either to occupy the usual 16K slot at 0C000, or else to carve-out 16K from from your RAM expansion area. Even then (above the RAM expansion), not all QDOS ROMs look there for extension code with any degree of perseverance - though Minerva does.
There are a lot of free pins on the ATF1502. That suggests offering "none/GC/SGC" jumpers, and offering logic updates if they prove beneficial. As an open hardware board, anyone could offer custom updates, or reprogram their own board for unique situations through the JTAG header.martyn_hill wrote:If an SGC is fitted (not sure about the GC), then we've got its 'virtual' Ext IO space at 4C0000, which is cleverly arranged to appear on the 20bit Address bus as if at A18..19=11 == C0000 - the 768K mark.
-
- Aurora
- Posts: 852
- Joined: Tue Dec 17, 2013 1:17 pm
Re: Ethernet for the QL
I don't know if you have looked at my Q68 Ethernet driver. But if you are thinking about putting my driver on EPROM, it's about 21K at the moment. Some could be shaved off, but I don't know if it could be brought down to 16K.Dave wrote:I am doing some work on this today.
As it stands, it's using an ATF1502 for logic, 2x 512K SRAMs (896K available) and the CP2200.
It'll have a through connector. All usual peripherals should work normally, including (S)GCs.
The only thing I'm unclear on is if it should carry a 16K EPROM or not. And if so, where should the EPROM be positioned in the memory map?
Another thing you may wish to consider, is that it uses a 256K buffer as a user heap to store read data packets until the application uses them. I don't know how much this buffer could be reduced before you start getting out of memory errors. 256K seemed like a reasonable size. And the Q68 got plenty of RAM.
Re: Ethernet for the QL
Is there a specific use for this EPROM that you have in mind? Otherwise I would leave the ROM space for hardware that needs to have ROM for boot purposes, like QL-SD or floppy controllers. Those usually come with own ROMs.Dave wrote:The only thing I'm unclear on is if it should carry a 16K EPROM or not.
Re: Ethernet for the QL
Thanks for the picture, now I understand where you locate the network connector... unfortunately that makes the board large, but with QL bus through connector, I also have no better idea.Dave wrote:I got this far today:
Re: Ethernet for the QL
It does. The PCB is one of the cheaper components and I don't mind eating the expense.
I have not yet measured exactly how far down the ethernet socket needs to be, but when I know and add the through connector I will shorten the board as much as possible. Of course, Tetroid's backplane will fit nicely onto this. It might make sense for me to add the buffers like on his extender card as this would certainly help signal quality over that distance. Currently, all pins will be passed through except R, G, B.
I plan to assemble ten of these and put them into the hands of people most likely to develop code/tools to use them. I'll listen carefully to feedback and use it to improve the design. This might include adding in QL-SD on the free front edge, or a different memory arrangement, as there's a LOT of free area on the board.
For now, it might be good to start as a group producing the equations based on an ATF1502 - they will be open, so they should be openly created and discussed.
In summary, the logic needs to produce chip selects for the CP2200, and a flip-flop to suppress interrupts until the flip-flop is configured. It needs to produce chip selects for two 512Kx8 SRAMs and a 16K EPROM. There are 33 pins free on the ATF1502 after allowing for power, ground and JTAG and they can be very flexibly assigned - just like a super-large GAL. The equations can be written as if for a GAL, in the same format. I will likely use WinCPUL to make the JEDECs.
I have not yet measured exactly how far down the ethernet socket needs to be, but when I know and add the through connector I will shorten the board as much as possible. Of course, Tetroid's backplane will fit nicely onto this. It might make sense for me to add the buffers like on his extender card as this would certainly help signal quality over that distance. Currently, all pins will be passed through except R, G, B.
I plan to assemble ten of these and put them into the hands of people most likely to develop code/tools to use them. I'll listen carefully to feedback and use it to improve the design. This might include adding in QL-SD on the free front edge, or a different memory arrangement, as there's a LOT of free area on the board.
For now, it might be good to start as a group producing the equations based on an ATF1502 - they will be open, so they should be openly created and discussed.
In summary, the logic needs to produce chip selects for the CP2200, and a flip-flop to suppress interrupts until the flip-flop is configured. It needs to produce chip selects for two 512Kx8 SRAMs and a 16K EPROM. There are 33 pins free on the ATF1502 after allowing for power, ground and JTAG and they can be very flexibly assigned - just like a super-large GAL. The equations can be written as if for a GAL, in the same format. I will likely use WinCPUL to make the JEDECs.
Re: Ethernet for the QL
Did I understand correctly, that you want a (S)GC on the through-connected bus? Then you can not simply buffer the bus, as you don't know the direction.Dave wrote:It might make sense for me to add the buffers like on his extender card as this would certainly help signal quality over that distance.
Re: Ethernet for the QL
Again: Is there a specific use for this EPROM that you have in mind?Dave wrote:It needs to produce chip selects for two 512Kx8 SRAMs and a 16K EPROM.