27C400/27C800 EPROM emulator

Any 8bit repairs, images, cool things, upgrades etc.
User avatar
PaulJ
Posts: 1568
Joined: Sun Apr 08, 2018 1:14 am
Location: USA

Re: 27C400/27C800 EPROM emulator

Post by PaulJ »

Well, built a prototype board to use the rom emulator on a mega4 but have achieved no joy. Programmed byte reversed and not reversed both work the same. Video garbage is the best I have achieved. Diagrom just gives a white screen. Assuming Lighting ST provides a cs for $FC000, $E00000, and 0 through 7 since it takes cs from the mega4 rom pin 20 u9 or u10.
r1.jpg
r1.jpg (321.36 KiB) Viewed 8388 times
cmorley
Posts: 291
Joined: Tue May 28, 2019 5:46 pm

Re: 27C400/27C800 EPROM emulator

Post by cmorley »

I can't speak for the /CS & /OE on that system. I assume you tied /byte to Vcc. Any of A18, A19 and R which are not connected should be set to pull up in the module's software. The STM32 has open-drain outputs so without pull ups (internal or external) the voltage will be floating.
User avatar
PaulJ
Posts: 1568
Joined: Sun Apr 08, 2018 1:14 am
Location: USA

Re: 27C400/27C800 EPROM emulator

Post by PaulJ »

I have connected /byte to +5. I received the second unit replacement yesterday in great shape... thanks for the additional packing Chris. So I will give that one a try. The current unit works great from the USB side but the no echo on input makes me crazy. Hope you will fix that on newer versions of the software. Also there is a lot of unknowns in the operation so a manual or a README down the line will be appreciated. But as far as the USB operation is concerned it always writes and verifies fine.

Guess I'm going to need to generate my own decode so I can boot off the standard 1.04 rom and examine the code at $e00000. Also I'll purchase a real 27c400 to verify the prototype adaptor. I may try the Atari dogcart with serial. It my get far enough in the code to get that working but I doubt it.
User avatar
PaulJ
Posts: 1568
Joined: Sun Apr 08, 2018 1:14 am
Location: USA

Re: 27C400/27C800 EPROM emulator

Post by PaulJ »

@cmorley , just curious.. are you still selling them?
cmorley
Posts: 291
Joined: Tue May 28, 2019 5:46 pm

Re: 27C400/27C800 EPROM emulator

Post by cmorley »

Sure, I have a few left built up and can always build more if people want them.

I am working on a comprehensive test for them. Got a few things on the list for the firmware too. Plus life gets in the way - so still active on this just quietly with nothing useful to report to the forum.
User avatar
PaulJ
Posts: 1568
Joined: Sun Apr 08, 2018 1:14 am
Location: USA

Re: 27C400/27C800 EPROM emulator

Post by PaulJ »

@cmorley I would like a couple more in the hardpak. You can leave the pins unsoldered. I can do that here. Let me know the price and I'll pay you via PayPal. Building a prototype adaptor for the H4. Eventually I'll have to make pc boards. :) :)
cmorley
Posts: 291
Joined: Tue May 28, 2019 5:46 pm

Re: 27C400/27C800 EPROM emulator

Post by cmorley »

Contract work has been keeping me busy but I did a bit of work on the firmware tonight.

I've added a proof of concept ROM switch if no A0 activity. This should mean on Amiga (at least) you don't have to fit the /RST wire for basic ROM switching. If you want to reset the machine from USB then of course you need one.

I use a register in the CPLD to watch for a rising edge of A0 (on the EPROM) - on the assumption if the CPU is executing code from ROM or RAM then 68000 A1 ought to be toggling. I read that register out over the serial link between the STM32 and the CPLD.

I quickly hacked it in to the STM32 firmware and it works it seems. Interestingly Kickstart 3.1.4 seems to stop and think for 20ms at a time (does it do a halt then wait for v-sync?)...

I've got more code to do to add this properly to the C firmware, then I'll release a firmware upgrade.

One macro cell free in the CPLD - what function can I add to get 100% utilisation :roll:
User avatar
PaulJ
Posts: 1568
Joined: Sun Apr 08, 2018 1:14 am
Location: USA

Re: 27C400/27C800 EPROM emulator

Post by PaulJ »

@cmorley , it sure would be sweet if when entering programing parameters they didn't need to be entered in the blind. Also I have received the additional two I ordered but haven't tried them as of yet. Thanks for the quick turn around. :)
cmorley
Posts: 291
Joined: Tue May 28, 2019 5:46 pm

Re: 27C400/27C800 EPROM emulator

Post by cmorley »

PaulJ wrote: Sun Mar 22, 2020 9:37 pm @cmorley , it sure would be sweet if when entering programing parameters they didn't need to be entered in the blind.
I'll look at something. I really don't have a lot of code space left ~170 bytes IIRC. You could turn on local echo on your terminal program for now.
User avatar
rubber_jonnie
Site Admin
Site Admin
Posts: 10479
Joined: Thu Aug 17, 2017 7:40 pm
Location: Essex
Contact:

Re: 27C400/27C800 EPROM emulator

Post by rubber_jonnie »

@cmorley I saw you mention a bit further up you may still have some for sale, and I am interested in 1, maybe 2. Could you let me know a price please?
Collector of many retro things!
800XL and 65XE both with Ultimate1MB,VBXL/XE & PokeyMax, SIDE3, SDrive Max, 2x 1010 cassette, 2x 1050 one with Happy mod, 3x 2600 Jr, 7800 and Lynx II
Approx 20 STs, including a 520 STM, 520 STFMs, 3x Mega ST, MSTE & 2x 32 Mhz boosted STEs
Plus the rest, totalling around 50 machines including a QL, 3x BBC Model B, Electron, Spectrums, ZX81 etc...
Post Reply

Return to “8 BIT CORNER”