• Please review our updated Terms and Rules here

I can't make John's serial board with His Z-80 Board

Marty

Veteran Member
Joined
Jul 26, 2009
Messages
3,141
Location
Boulder , Colorado USA
Hi All;

Thank You Dave for the added Information..

I tried Your files yesterday evening, and they didn't work, also the Rom Select Led on the Z-80 didn't come on as with the regular full eproms..

I also need to take a closer look at the file on the eprom, and see (1) how much of the eprom space is used, and (2) if possible see where you had as a starting address, whether it is/was E000 or F000 or something else.. The regular Eprom is set for F000..

I have to take a look at a few things first, before making any further assumptions.. I went to bed last night all confused, as every time I tried to ohm out what pins went to what pins, I got different results.. So, I know I was too tired and had to just get away from it..

I could be Wrong, but some of the connections (pin wise) on the two jumper blocks (P60 and P62) don't match the schematic, between the serial connection and the Max232 connection, which is where I am having the most trouble at the present..

THANK YOU Marty
 

daver2

Veteran Member
Joined
Jun 19, 2012
Messages
8,698
Location
UK - Worcester
Marty,

Yes, a good nights sleep is often good!

The monitor code resides at F000h. This is the entry point.

What type of EPROM are you using?

I did read somewhere about having to program the code into the upper part of the EPROM (i.e. you need to add an offset to the HEX file when loading it into the EPROM programmer if the EPROM is larger than $F000 to $FFFF (4K)).

This may account for your problems (at least in part)?

Dave
 

daver2

Veteran Member
Joined
Jun 19, 2012
Messages
8,698
Location
UK - Worcester
>>> Dave Thank You for Your prompt response.

No problem.

a 64kbit device = 64*1024/8 = 8K Bytes. This is twice as big as the monitor code.

My guess would be (if you put the EPROM back into your programmer) that the monitor code has been blown into the first 4K of the EPROM rather than the last 4K of the EPROM.

The relevant text on the S100 Computers website for the Z80 card is:

Code:
Note if you decide to use a EEPROM such as a Samsung MK28C64A 8KX8, you have to place it at an 8 K boundary. So in high RAM this would be at E000H.  If you want to use E000H-FFFFH for your monitor then that's fine. More typically however you will need only 4K for a monitor starting at say F000H to FFFFH.  In this situation you can either program the second 4K of the EEPROM's 8K space and  jumper JP8 1-2  and P39 5-6 (i.e. utilize A1 and A12) and set the POJ jumper P3, to F000H, or alternatively just program the lower 4K of the EEPROM's 8K space and force the EEPROMS A12 line to low, so jumper JP8 10-2 as before, but jumper P39  3-4.   BTW, you can have a second completely different second monitor in the EEPROM switchable to the upper or lower half of the EEPROM with jumpers P39 3-4 or 1-2.  

You must also be sure to "burn" your monitor into the upper or lower half of the EEPROM. (For the upper half, using a Wellon VP-280 Programmer, the "Load Buffer Address" would be 1000H, the "File Address" is F000H).

It seems as though there are lots of options, it depends upon what links you have configured as to how you must program your EPROM...

I am going out for a walk now - but will be back shortly.

Dave
 

Marty

Veteran Member
Joined
Jul 26, 2009
Messages
3,141
Location
Boulder , Colorado USA
Hi All;

Dave, Thank You for Your Response..
I do not have the same programmer as John's programmer.. And, so I have not been able to figure out "HOW" to lengthen and copy the code to the upper half..
I have imported Hexedit and hex2bin, to try and help, but, so far I cannot get hex2bin to convert my Hex file from the eprom programmer to a binary file, that I can then edit with hexedit..
My other for now option is to use a 2732 Eprom, but, I don't know how to set the jumpers on the Z-80 card for this Eprom instead of a 2764 type of eprom, the Documentation isn't clear to me on how to do that..

Hi All;
I found the jumper for the 2732.. so I'LL try that.. I will let You know how that goes..

THANK YOU Marty
 
Last edited:

daver2

Veteran Member
Joined
Jun 19, 2012
Messages
8,698
Location
UK - Worcester
Can I ask you exactly which revision of the Z80 CPU board you have?

There appears to be at least three different versions from what I am reading.

Dave
 

Marty

Veteran Member
Joined
Jul 26, 2009
Messages
3,141
Location
Boulder , Colorado USA
Hi All;

Dave, Thanks for asking, I have version 2 of the Z-80 Board, and version 3 of the Serial Board..

I have things back wired up (as near as I can tell) correctly to the serial port, that goes to the PC..

The Led at least indicate it is correct.. Now to try Your suggestion on scoping the SCC IC..

THANK YOU Marty
 

monahan_z

Experienced Member
Joined
Oct 19, 2008
Messages
261
Location
San Ramon, CA
From the web page:-

"Serial IO Board Version V3.1
The demand for this board has been quite large. A third version of this board was laid out. This version is called V3.1. The first batch was made by PCBCart in Jan 2016. It is identical to the above V2 board except that a more detailed Silkscreen was drawn up. This one has labels over all the IC's, and better legends over the switches and connectors. The KiCAD and related files are presented below." Does not look like you are reading things carefully!

You must change the lookup table in the monitor if you want to change the baud rate as Dave points out. You can reassemble the monitor at a lower address and run it in RAM if you have the ability to load data into RAM.
 

daver2

Veteran Member
Joined
Jun 19, 2012
Messages
8,698
Location
UK - Worcester
Looking at V2 of the CPU board you have a couple of options:

Install a 2532/2732. This is a 24 pin device and you are putting it into a 28 pin socket. I don't like doing this myself as the possibility of inserting it into the wrong pins by mistake are extremely high...

Install a 2764. In this case:

JP8 needs to be installed on 1-2 (Address line A11 to the EPROM).
JP9 needs to be removed (No Connect to pin 26). I see on the web page that JP9 needs to be installed for a 28C64.
JP10 needs to be installed to enable the on-board ROM. I don't see any mention of this jumper on the web page?

P39 needs to be linked correctly...

For the full 16K EPROM to appear in the memory map you need to install 5-6. This assumes that you program the monitor into the upper half of the EPROM.

If, however, you link P39 3-4 instead, this causes address line A12 of the EPROM to be permanently connected to 0V and only the first half of the EPROM can ever be addressed.

I still need to look up the other links to see how the restart vector is accomplished for F000h. EDIT: P3 removed sets the boot address to F000h.

Can you tell me what links you have installed and removed please and I will try and find out if that is a valid configuration.

Dave
 
Last edited:

Marty

Veteran Member
Joined
Jul 26, 2009
Messages
3,141
Location
Boulder , Colorado USA
Hi All;

Thank You John and Dave for Responding..
John, what am I not reading correctly, You state that version 3 of the serial board is schematically the same as version 2 of the serial Board.. I don't see what that has to do with the issue I am dealing with at the Present, I have the Schematics here on my Computer and I use them to ohm out how to wire up P60 and P62 and it looks like I have it correct, as the four Leds are on for CTS, RTS, DTR and DCD..
So, what I need from You (John) is Do I have the Correct baud rate for the serial board, I have it at 38400, Yes, earlier I had it at a lower rate 110 to follow the signals thru the various IC's..
Dave, And for now I have to use 2732's Eproms, as I cannot put the program into the second half of the 2764's, So, (John) what jumpers on the Z-80 do I need to make it work correctly, especially P38, I know about JP9, do I need to change anything else ??

At present I don't have the ability to upload from the PC to the serial board, I am awaiting the USB to parallel IC..

THANK YOU Marty
 

daver2

Veteran Member
Joined
Jun 19, 2012
Messages
8,698
Location
UK - Worcester
Marty,

If you read my post #29 you can configure P39 3-4 to use the first half of a 2764 as the monitor for $F000 to $FFFF.

Incidentally, what RAM card are you using with the Z80 CPU card?

Dave
 

Marty

Veteran Member
Joined
Jul 26, 2009
Messages
3,141
Location
Boulder , Colorado USA
Hi All;

Thank You Dave for Your Prompt reply.. Yes, I read it, but, I was/am unsure if that is the setting for a 2732 as well..

I have a Tanner 64K Memory board with F000 to FFFF excluded, so there is memory from 0000 to EFFF..

THANK YOU Marty
 

daver2

Veteran Member
Joined
Jun 19, 2012
Messages
8,698
Location
UK - Worcester
No it isn’t.

You have to get the data sheet for the specific EPROM you are using and configure the Z80 CPU card jumpers to suit.

There is such a wide variation in pinouts that any general statement is bound to be incorrect.

Dave
 

Marty

Veteran Member
Joined
Jul 26, 2009
Messages
3,141
Location
Boulder , Colorado USA
Hi All;

I tried to do as John stated in the Listing of the Master0 text, but instead of Master0 I used the Monitor text from Dave, but, when I tried to do it, it gave me an error of No Submit file..
Where or how do I create the submit file for Dave's Monitor Text ??

THANK YOU Marty
 

Marty

Veteran Member
Joined
Jul 26, 2009
Messages
3,141
Location
Boulder , Colorado USA
Hi All;

I got it to work !!!
With Dave's Monitor Program, I thought the Hex2bin program wasn't working, but, once I did the conversion, I had to get out of that Directory, and come back to it and I had the Mon1.bin file, I loaded it into my Programmer and I programmed an AMD 2732.. And tried it and I got John's Monitor ready for me to respond to with a K and it displayed the appropiate Listing of files available..
Which also means that my Serial Board is working, as well..

THANK YOU Marty
 

daver2

Veteran Member
Joined
Jun 19, 2012
Messages
8,698
Location
UK - Worcester
Success!

The original monitor looked like it needed more cards than you have to run. Bodging the monitor permits it to work on the hardware you have. There is still code in there for functions that require hardware you may not have. The speech stuff should still work (it uses the other serial port on the SCC). The disk controller part of the monitor may also be hardware specific?

Dave
 

Marty

Veteran Member
Joined
Jul 26, 2009
Messages
3,141
Location
Boulder , Colorado USA
Hi All;

Dave, Yes the next Board to drop in is the Floppy Drive Controller from John, Hopefully that will be an easy bringing up.. Compared to the Serial Board..
In awhile I will let You know what the situation is with it..
Ok, I have the Floppy Controller in, but I have forgotten how to access it, I will have to go to the web site for the floppy controller and take a peek..
But, it looks like it came up fine, I still have to get a floppy drive and a cable and a power supply to make things complete..

THANK YOU Marty
 
Last edited:

Marty

Veteran Member
Joined
Jul 26, 2009
Messages
3,141
Location
Boulder , Colorado USA
Hi All;

Dave, Thanks for asking, No it isn't done, I have either all or most of the boards soldered up, but, nothing, has been tested, He built another module that I could plug the various boards into to test them, but the software isn't there to do the tests..
And also, I have to carefully, look at each board, before applying power, looking for solder shorts, and that is a work in progress..

On the note from above, I looked at John's site for the ZFDC Floppy Controller, and He shows the menu for that board, but, it doesn't say how to get there from the main Z-80 menu..

THANK YOU Marty
 
Top