SmartDiskII Interface (by BTB) Troubles with my DIY built card

5 posts / 0 new
Last post
2eSteve's picture
Offline
Last seen: 4 days 4 hours ago
Joined: Feb 19 2026 - 09:36
Posts: 17
SmartDiskII Interface (by BTB) Troubles with my DIY built card

Hello All,

Sorry if this sounds like a stupid question but I am very new to burning (?) EPROMS so I think this is where my issues are coming from .

Background

I have seen a few topics on here regarding this excellent project and the fact that I could get the parts here in the UK and have the PCBs made (PCBway) I thought I would have a go.

I am fairly good with a soldering iron (or at least I should be having done it for many years) but its the P6 EPROM that I think I have messed up as in, not sure what I am meant to do.

I have T48 XGecu pro with the latest (as of Feb26) firmware and Win 11 Software and have successfully programmed a set of ROMs for my //es and done some Atmel 328p TQFPs that I put into my own projects (via adaptor and ICSP so I am confident that the Hardware software configuration is ok on the Windows laptop.

Issue I need help with

My SmartDiskII card starts the Apple Disk II connected to DRV 1/SP with jumper JP8 shorted but the //e won't boot the inserted diskette, it just spins constantly. nor is my VIBR SmartDiskII drive booting in Smart Port mode when connected.

I have tested all the 74LS logic and the 9334 / NE556 ICs and these seem ok in the tester or other cards that use them and they are all new.

I think my issue is my P6 EPROM. it's a 27C32.

Is there anything I need to do differently when programming or is just dumping the file to the EPROM all that is needed.

I believe that BTB said NOT to change any of the solder jumpers on the board so I haven't but I read somewhere that sometimes you have to copy the file multiple times to fill the ROM. Is that what I need to do and if so how? (in blocks or all at once by cutting and pasting the data multiple times before burn).

Sorry I know this is probably simple but like I said, even after many years in IT I have never burnt EPROMS until recently.

Any help would be appreciated.

Offline
Last seen: 1 month 1 week ago
Joined: Nov 27 2024 - 18:25
Posts: 4
SmartDiskII Interface (by BTB)

If you use a 2732 eprom instead of a 2716 you should program your data in the upper half of the address range. Normally you can enter a start address where your programmer starts writing the data . If you enter  (800 hex) as start address everything will work as expected.

 

Offline
Last seen: 4 hours 32 min ago
Joined: Apr 1 2020 - 16:46
Posts: 1332
Dont' expect these BTB contraptions to work !

In post #2, 'driessens_nl" wrote:

 

" If you enter  (800 hex) as start address everything will work as expected. "

 

Uncle Bernie comments:

 

Assuming that the firmware EPROM is programmed correctly, the firmware will be there and it will work.

 

But the real problem with BTB's SmartDisk II and Disk II substitute cards is a timing issue with the other 2732 he uses as a substitute for the state machine PROM in the 'Woz Machine'. This timing is just too tight and can't be met with most 2732 EPROMs. Some later versions of the 2732 are fast enough, though, especially some later 27C32 made in CMOS using aggressive die area shrinks.

 

I wrote about this problem here on Applefritter and showed the timing calculations to prove my point, but can't find the thread anymore, which has been started by another victim whining about his BTB cards not working.

 

(I myself have two specimen of said BTB cards, which don't work, donated to me by an Applefritter member, so I have evidence other than plain theoretical calculations).

 

The fact that most 2732 - especially the early ones with large die area - are too slow for the 'Woz Machine' while some 2732 are fast enough may explain why building these contraptions is a hit-and-miss for most builders.

 

I could develop an easy fix for these two BTB cards which would be cheaper and easier than finding a fast enough 2732 (this is why I was donated these two specimen mentioned above) but I will do this only if there is enough interest from the Apple II aficionado crowd. I'd need to design a small PCB which goes into the place of the state machine 2732. There are three possible ICs which could go onto this PCB, replacing the 2732:

 

- a 256 x 8 bipolar PROM (expensive to get and needs professional programmer)

 

- one of these super fast CMOS EPROMs made by Cypress Semiconductors (expensive to get, but I have lots of them)

 

- a GAL22V10 (easy to get and easy to program --- many decades ago I put the whole Woz machine into one of them, and when I take the registers out, and specify combinatorial outputs, it can replace the PROM, but with a slightly different footprint)

 

These are the options we have to fix the issues BTB has created. Easy enough. But it will take maybe 2-3 hours of work to create the PCB. And then these must be ordered at OSHPARK and populated and put into the BTB cards. And then they must be tested using real Apple II. All this is a lot of work and there can be more bad surprises - I didn't do a design review yet of the rest of the circuitry on these cards but at a first glance there are hints he may have been struggling with making the soft switches work. Who knows what else may be wonky. It's generally not easy to design Apple II slot cards that work, due to the botched 6502 bus architecture - which was OK for the 1970s but turned into a problem when static memories got faster and faster. Ironically, the 6800 had the "VMA" output which, if put to use in the proper way, can avoid the issue with the crumbling addresses the 6502 bus architecture has (this happens at the end of PHI2, and the remedy is to have a magical gate that can look into the future - negative propagation delay - or a whole state machine to replace this magical gate with a real thing).

 

If you have a non working BTB card, comment here how far you want to go to fix it, and if you want to contribute your time and money to develop the fix. I want to keep my own time investment into this at a minimum.

 

- Uncle Bernie

Offline
Last seen: 1 day 1 hour ago
Joined: Apr 26 2016 - 08:36
Posts: 860
I believe that BTB said NOT

I believe that BTB said NOT to change any of the solder jumpers on the board so I haven't but I read somewhere that sometimes you have to copy the file multiple times to fill the ROM. Is that what I need to do and if so how? (in blocks or all at once by cutting and pasting the data multiple times before burn).

 Timing issues aside - the easiest way to run a 2K 2716 binary on a 4K 2732 is to burn the file twice.  I think your XGECU burner software may have an option for this, or you could load the 2716 binary into the 2732 space twice.  driessens_nl explained tht you want it in the upper half of the space so doubling the binary achieves this without having to figure out where to start pasting in the code.

 

 

2eSteve's picture
Offline
Last seen: 4 days 4 hours ago
Joined: Feb 19 2026 - 09:36
Posts: 17
Thanks to all that posted.Did

Thanks to all that posted.

Did the Double burn and that was the answer. Working as I expected now so happy.

For anyone else who has the XGecu T48 programmer and needs to do this on their projects:

Load the BIN file as normal, then load it again but this time,  in the open dialog change the TO buffer start addr (HEX) to the first address of the second half and select 'Disable' under the 'Clear Buffer when loading file' Option.

 

Log in to post comments