Enterprise Forever

:UK => Hardware => Interface => Topic started by: gflorez on 2017.June.23. 12:58:52

Title: CompactFlash 8 bit bus integration.
Post by: gflorez on 2017.June.23. 12:58:52
One friend of the Retrowiki web page is asking me about how to add an HD to the Enterprise because the SD reader is delaying forever. He has already found Zozo's IDE project schematics. I have told him also about the 8bit bus mode of the CompactFlash cards.

But I don´t know if the IDE.ROM works with a CF direct connection....

 
Title: Re: CompactFlash 8 bit bus integration.
Post by: Zozosoft on 2017.June.23. 13:14:42
Bruce already added CF to EPNET card new version and wrote a driver for it.
Title: Re: CompactFlash 8 bit bus integration.
Post by: BruceTanner on 2017.June.23. 16:43:42
Yes zozo's IDE card works with Compact FLASHs via a little Compact FLASH to IDE adapter like this one: http://www.ebay.co.uk/itm/CF-Compact-Flash-to-3-5-Female-40pin-PC-IDE-Bootable-Adapter-Converter-Card-/292148194151?epid=705986635 (http://www.ebay.co.uk/itm/CF-Compact-Flash-to-3-5-Female-40pin-PC-IDE-Bootable-Adapter-Converter-Card-/292148194151?epid=705986635) but I think it needs a separate power supply (eg. ex-PC power supply).

EPNET isn't quite here yet :roll: but will be soon, as zozo says I have it all working, and has a similar IDE socket on it for a similar Compact FLASH adapter, but doesn't need a separate power supply :) You also get 512k RAM expansion, 64k FLASH for ROM images and of course networking.

So sadly, a little wait for your friend is unavoidable :cry: But on the scale of EP's 30 years, hopefully not too long now :mrgreen:
Title: Re: CompactFlash 8 bit bus integration.
Post by: gflorez on 2017.June.23. 18:20:45
Ok, my friend is a skilled person(not my personal case....) who wants to know how to do it by himself, but not to reinvent the wheel.

Title: Re: CompactFlash 8 bit bus integration.
Post by: BruceTanner on 2017.June.23. 23:26:43
The hardware is very simple - just needs a block of 8 i/o ports to be decoded to provide a /CS signal and everything else just connects directly to z80 signals.

s/w is more complicated as it needs a driver for EXDOS.

All EPNET circuit diagram, PCB files and source code will be on github but a version with Compact FLASH support is not up there yet. I am happy to send them to you after the weekend though (not at the right computer until then!)
Title: Re: CompactFlash 8 bit bus integration.
Post by: gflorez on 2017.June.24. 00:03:24
Ok, thanks. Your project is amazing...
Title: Re: CompactFlash 8 bit bus integration.
Post by: BruceTanner on 2017.June.26. 10:08:46
HI gflorez,

Here is EPNET's circuit diagram and a couple of source code files.
[attach=1][attach=2][attach=3]

As you can see the part for Compact FLASH 8-bit mode is very simple - all the gates etc on the circuit diagram are I/O decoding. But the software is quite involved and requires in-depth EXOS and EXDOS knowledge (you won't be able to assemble the source files directly as they are part of a much bigger system, but they will give your friend an idea of what would be involved).

I think it would be easier & quicker for your friend to build zozo's IDE circuit on prototype circuit board so you can use zozo's IDE ROM without modification. The hardware is more complicated than EPNET's but that is because it uses full 16-bit mode IDE (the IDE ROM wouldn't work with 8-bit hardware).

B.
Title: Re: CompactFlash 8 bit bus integration.
Post by: gflorez on 2017.June.26. 11:51:08
Ok thanks, you are very generous for spreading your hard work.

I see, Zozo's finished project is very tempting, but yours, although experimental, a lot more with all the added bonus....

I have said it to my friend(from now on Wilco2009), the pros an cons. He have to select.

The idea is to do a short batch of cards for the associates of the Retrowiki web page, always with Zozo's or yours permission, of course...  

But actually Wilco2009 is involved on assembling and delivering a batch of Sinclair ZX80 clones:

(https://lh3.googleusercontent.com/rKEjrnDk32YC78jeWLeshDZsyOWxh0pB8j8CwIKTq00nj0SgAasM1uRrwUc3Qqv4l5nmiKJmBzENM-SjmX0IhLc-L6doeEfflNPiiCkMiJGkv-jMAON6FOVWLcxBFYs2uNBQ0g=w845-h981-no)

It will be on Autumn when the decision will be taken. But I would go straight for our EPNET even if experimental, after all the enjoy is to resolve problems while creating something...
Title: Re: CompactFlash 8 bit bus integration.
Post by: BruceTanner on 2017.June.26. 12:07:13
Nice to see! :) I built one of those in 1980 when I was 16 from a kit. It was for a friend - I couldn't afford one myself. We didn't have red PCBs in those days! :mrgreen:
Title: Re: CompactFlash 8 bit bus integration.
Post by: gflorez on 2017.June.26. 12:13:19
It has a lot of fixes, the main one the video output signal has been normalised.
Title: Re: CompactFlash 8 bit bus integration.
Post by: Zozosoft on 2017.June.26. 22:20:58
The problem with my IDE card: when I developed it bus expansions, RAM/ROM cards (from Gyula Mészáros or MICROTEAM) are very popular, then I not putted ROM socket for it. Later found: own RAM also will be important for EXDOS extensions.

For a IDE only machine I got a tricky idea: modify two socket cartridge for 56K ROM + 8K RAM (https://enterpriseforever.com/hardver/56k-rom-8k-ram-cartridge/msg39573/#msg39573)

Anyway I have a idea for a much better IDE interface which is use less components and will be faster (LDIR can be used for a data transfer). I think it it is with a Flash ROM and SRAM, plus floppy interface (it is only few more components :-) ). Soo I dreamed a modern EXDOS card.

But after the SD interface arrived then I think this is not interested by anyone...
Title: Re: CompactFlash 8 bit bus integration.
Post by: BruceTanner on 2017.June.26. 23:18:21
LDIR can be used for a data transfer
EPNET's 8-bit IDE uses "unrolled" INIR/OTIR loops  :ds_icon_cheesygrin:  (But hasn't been tried on a 10MHz z80 yet :mrgreen: )
Title: Re: CompactFlash 8 bit bus integration.
Post by: BruceTanner on 2017.June.26. 23:25:26
EPNET's 8-bit IDE uses "unrolled" INIR/OTIR loops  :ds_icon_cheesygrin:
I know you are going to tell me LDIR would be one z80 clock cycle quicker per byte :lol:
Title: Re: CompactFlash 8 bit bus integration.
Post by: Zozosoft on 2017.June.26. 23:41:45
I know you are going to tell me LDIR would be one z80 clock cycle quicker per byte :lol:
:ds_icon_cheesygrin:
Title: Re: CompactFlash 8 bit bus integration.
Post by: gflorez on 2017.June.27. 08:25:42
I am not a developer, I only can express my desires.

I love internal expansions that strengthens my computer without needing an external add-on, but I know that their installation takes a minimum of skills.

I also love Szorg's SD-reader as a neat way to take advantage of the underused Cartridge Bay, but it has the limitation of only address 64KB of Rom or Ram. Also is a pity the  delays on delivering new batches of the device.

What is urgently needed today, not tomorrow, is a new external definitive expansion, ready and easy to fit to every Enterprise.

It must be affordable because who buy today an Enterprise has already made a big expense. We don't want collectors that store the untouched boxed computer on a showcase, do we? we need people writing programs and creating for our loved computer.

512KB of flashRom is a good amount to take advantage of a lot of already made Roms.

Then, 512KB of Ram has to be the minimum installed, recommended and  a little more costly can be 1MB. It is the max for SymbOS, and only a few native Enterprise programs take advantage of a lot of memory.

Now for a Mass Storage, thanks to Zozo, actually an Enterprise can perfectly work without floppies, so I mark the EXDOS floppy controller only as an option.

For the same reason I don't recommend a Mass Storage card based on Floppy simulators like HxC or Gotek. They complicate the system more than ease it, as you need a way to put files on the floppy images that are managed on the SD by the floppy simulator.  Also they tend to be as slow as the floppy that emulates.

The fast, best and cheap option is to have a system based on SD or CompactFlash. Zozo created the IDE.Rom that allows us to have 32MB FAT12 partitions on an IDE device, and probably soon we will have FAT16/32 ones. This has the advantage of a direct reading of the card content on a PC, at least the first partition.

SD is the ideal, but there are CF to SD adapters that can suit us. Directly an IDE disk is nowadays difficult to find and less useful than a CF.

On the other side, the SD is constantly evolving, there are a lot of formats, SDSC, SDHC and SDXC only compatible backwards. The CF features seems to have been frozen in time, and this is a great advantage.

There are other features that can be desirable, like a Real Time Clock, but as it is not strictly necessary I will mark it as optional.

The most extraordinary case is the new EPNET from Bruce. A real net connection is like a chameleon, can act as a remote fast Mass Storage, we also can retrieve Date and Time from it, but the best is  the immediate connection to other users and all the information of the WWW that it offers. It is not strictly necessary, but once accustomed to use it, the user will not imagine how previously he could have passed without it.

---------------
Sorry, I was just wondering...

What I don't understand: Here there are a lot of skilled individual genius trying to create the definitive "All in One" card, but  why don't they work together as a group?
Title: Re: CompactFlash 8 bit bus integration.
Post by: BruceTanner on 2017.June.27. 13:25:59
there are a lot of skilled individual genius trying to create the definitive "All in One" card
From my point of view: I did not set out to create an all-in-one card, I set out to create a network card made using "hobby friendly" electronics appropriate to the 30 year old Enterprise, so no little tiny surface mount chips, no magic programmable devices, just big old-fasioned chips. But when word got out about EPNET the constant feedback I heard was "more RAM", and then I heard Compact FLASH had an 8-bit mode... So it wasn't a case of "shall I do Compact FLASH or SD": CF was almost free and easy, SD wasn't. So it became a multi-function card.

And there has been more group work than you have seen on the public forum: lots of expertise (and even source code) from zozo on EXOS/EXDOS/Enterprise and lots of expertise on the internet/TCP/IP from lgb, for which I am thankful :ds_icon_cheesygrin:. Group work would be a lot easier if we lived in the same country! :roll:

Soon I will need help with something else: the User manual is ~50 pages, all in English...
Title: Re: CompactFlash 8 bit bus integration.
Post by: gflorez on 2017.June.27. 13:40:53
Of course, I offer myself for whatever you want, it could even be translated to several languages just as was done with the EnterMice Wiki.
Title: Re: CompactFlash 8 bit bus integration.
Post by: Zozosoft on 2017.June.27. 13:56:16
card made using "hobby friendly" electronics appropriate to the 30 year old Enterprise, so no little tiny surface mount chips, no magic programmable devices, just big old-fasioned chips.
Mega like! :smt038
Title: Re: CompactFlash 8 bit bus integration.
Post by: BruceTanner on 2017.June.27. 16:09:03
This topic has made me wonder...would there be any demand for EPNET without a network module? :lol::lol: :lol:

So: 64k/128k FLASH for putting ROM images into, up to 512k RAM*, Compact FLASH mass storage.

The network module costs around 25 GBP/8800 HUF so it would be that much cheaper.

B.

* 512k total "ROM"+RAM  so: 512k RAM no ROM; 448k RAM 64k ROM; or 384k RAM 128k ROM. You need EXDOS in the ROM to use the Compact FLASH and that takes 32k
Title: Re: CompactFlash 8 bit bus integration.
Post by: gflorez on 2017.June.27. 16:58:48
Ram/Rom and Mass Storage are the higher priorities for an user, I think, so  a cheaper upgradeable card can be also a big success.
Title: Re: CompactFlash 8 bit bus integration.
Post by: pear on 2017.June.27. 17:10:06
I'm actually on vacation, but the groupwork is a very good idea :)
Title: Re: CompactFlash 8 bit bus integration.
Post by: Zozosoft on 2017.June.28. 11:47:36
SD is the ideal, but there are CF to SD adapters that can suit us.
Also exist a direct SD to IDE adapters.

Quote
Directly an IDE disk is nowadays difficult to find
I have least 100 :-D

Quote
and less useful than a CF.
Yes, mostly because it is need a external power supply. For a memory cards possible use 5V from the interface card.

Quote
On the other side, the SD is constantly evolving, there are a lot of formats, SDSC, SDHC and SDXC only compatible backwards.
These are only software differences, the Enterprise SD interface compatible with all, also including MMC.
Title: Re: CompactFlash 8 bit bus integration.
Post by: gflorez on 2017.June.28. 12:29:09
Also exist a direct SD to IDE adapters.

Yes, I have one of that with 44 pin, very useful for old laptops.

I have least 100(IDE HDs) :-D

Overdose!