Arithmetic Processor

74 posts / 0 new
Last post
Online
Last seen: 8 min 30 sec ago
Joined: Aug 18 2017 - 16:53
Posts: 156
tokabln wrote:So my idea is,

[quote=tokabln]So my idea is, to readout the received PROMs from the CCS 7720 card, hopefully understanding what they did to be able to have something available which can be used (after some changes ?) to supports the APU card. Have fun...[/quote]

The code from the Centronics card is a printer driver. There is nothing to be cloned for the APU card because the printer card is a standard driver with a Pascal 1.0 or Pascal 1.1 firmware interface. The APU card is a non-standard card with non-standard code.

Regards

Ralf

 

tokabln's picture
Offline
Last seen: 3 days 21 hours ago
Joined: Dec 30 2015 - 10:48
Posts: 238
@RalfK:  Yes... nevertheless

@RalfK:  Yes... nevertheless I do believe that we can learn something from this code.

 

So beside what I’ve read out of the PROM including a disassembly file... while I’m not able to comment so far, because of missing knowledge. That’s something I need to learn. But maybe someone is able to explain what they have done with this code... even that it is the printer driver.

 

 

Next step will be to see which PROM has which content... as the above stuff is 256x8 Bit size while the PROMs having a 256x4 Bit size

 

TOKABLN

 

 

 

 

macnoyd's picture
Offline
Last seen: 1 day 16 hours ago
Joined: Oct 15 2012 - 08:59
Posts: 756
Here is the PROM code separated by ODD / Even Bytes ...
tokabln's picture
Offline
Last seen: 3 days 21 hours ago
Joined: Dec 30 2015 - 10:48
Posts: 238
Dear macnoyd,

Dear macnoyd,

 

I do believe that there is something confused with your files... when talking about 8 Bit width PROMs your sent file is okay... but we have 4 Bit width PROMs, right? So we can't split the taken file easily into even and odd values. That's the reason while I mentioned that I need to find a way to read a four bit value from each PROM, to have an exact copy of their content. Right now we know what BOTH PROMs deliver when reading a specific address.

 

So to say, an actuall readout of a 16 Bit value is indeed the result of a 4x4 bit readout. Or 8 bit are the summary of 2x4 bits stored in the 2 PROMs. Does this make sense or am I wrong?

 

Update #1:

I too made a mistake as I used the wrong start address when reading the PROM content :-(

- thanks to Ralfk for catching this. I will upload updated files soon.

 

Update #2:

Beside the new files... hopefully correct now. Printer card resides in slot 1

Taken using "BSAVE Filename,A$C100,L$FF

Taken using my Basic Program, start adress 49408dec.  -> $C100

 

Update #3:

Beside my thoughts about how to handle:

$2C = 8bit width = b0010 1100each PROM helds 4 bit = 1 nibbleso we need to split the 8bit value into

HEX       : $2Cdecimal   : 44binary    : 0010 1100odd bits  :  0 0  1 0= decimal : 2even      : 0 1  1 0= decimal : 6

 

Torsten

Online
Last seen: 4 min 9 sec ago
Joined: Jul 5 2018 - 09:44
Posts: 950
It would be simple to write

It would be simple to write something like a small Perl script to split the nybles of data apart to make images for the two 256x4 PROMs.

 

tokabln's picture
Offline
Last seen: 3 days 21 hours ago
Joined: Dec 30 2015 - 10:48
Posts: 238
Well I've written a Basic

Well I've written a Basic program, which reads the PROM content and store it onto a disk.

https://www.applefritter.com/comment/86841#comment-86841

So the same prog can be changed to do the splitting. So this part is done. Thanks. Remaining problem might be, to write new proms, so I need to check if my old Dataman S4 is able to handle. Otherwise a GAL can be used, but here I do need to design a PCB which then plugs into both PROM sockets. Let's see.

Online
Last seen: 8 min 30 sec ago
Joined: Aug 18 2017 - 16:53
Posts: 156
tokabln wrote:Remaining

[quote=tokabln]

Remaining problem might be, to write new proms, so I need to check if my old Dataman S4 is able to handle.

[/quote]

Write a program which runs once after power on and fill the RAMs.

Ralf

 

stynx's picture
Offline
Last seen: 2 months 5 days ago
Joined: Apr 19 2012 - 09:41
Posts: 221
I still cannot get the APU to

I still cannot get the APU to work, even with a new Intel FPU.

I will try to get another DP8304 as all the TTL ICs tested good.

 

-Jonas

tokabln's picture
Offline
Last seen: 3 days 21 hours ago
Joined: Dec 30 2015 - 10:48
Posts: 238
Hi Jonas,
Hi Jonas, I'm sorry to read this... I purchased a couple of DP8304 from this guy in Bulgaria, but haven't tested them yet. https://www.ebay.de/itm/1x-AMD-DP8304BN-8-Bit-Tri-State-Bidirectonal-Trancevier-DIP-20/254193088357?epid=1218335560&hash=item3b2f16b765:g:9HwAAOSwPcVVyxje If you like I can try to test them and after that I can send you one chip. Torsten
stynx's picture
Offline
Last seen: 2 months 5 days ago
Joined: Apr 19 2012 - 09:41
Posts: 221
No Need to be sorry. I don‘t

No Need to be sorry. I don‘t even know if that is the Problem. :-)

[quote=tokabln]Hi Jonas, I'm sorry to read this... I purchased a couple of DP8304 from this guy in Bulgaria, but haven't tested them yet. https://www.ebay.de/itm/1x-AMD-DP8304BN-8-Bit-Tri-State-Bidirectonal-Trancevier-DIP-20/254193088357?epid=1218335560&hash=item3b2f16b765:g:9HwAAOSwPcVVyxje If you like I can try to test them and after that I can send you one chip. Torsten[/quote]

macnoyd's picture
Offline
Last seen: 1 day 16 hours ago
Joined: Oct 15 2012 - 08:59
Posts: 756
Jonas, I have a couple working cards and

Jonas, I have a couple successfully working cards here.  

If you'd like, I can sort out the issue with yours to save you the hassle if you'd like.  Let me know on that.

stynx's picture
Offline
Last seen: 2 months 5 days ago
Joined: Apr 19 2012 - 09:41
Posts: 221
macnoyd wrote:Jonas, I have a

[quote=macnoyd]

Jonas, I have a couple successfully working cards here.  

If you'd like, I can sort out the issue with yours to save you the hassle if you'd like.  Let me know on that.

[/quote]

 

The card finally works. The AMD9511 was defective, the DP8304 was defective and i had accidentally solered a 100nf cap at C4. I corrected the wrong cap, replaced the defective components and the card works like it should :-)

 

-Jonas

macnoyd's picture
Offline
Last seen: 1 day 16 hours ago
Joined: Oct 15 2012 - 08:59
Posts: 756
I like the box you made up for it ...

I like the box you made up for it ...  Nice touch.  +1

tokabln's picture
Offline
Last seen: 3 days 21 hours ago
Joined: Dec 30 2015 - 10:48
Posts: 238
HinJonas,

HinJonas,

 

good to hear and I too like the box you build... enjoy using the card.

 

Torsten

stynx's picture
Offline
Last seen: 2 months 5 days ago
Joined: Apr 19 2012 - 09:41
Posts: 221
Thanks.
Thanks.

The box is bought from amazon and is quite nice. It is available as a double set with 2 sizes (i used the smaller one). The bigger box is big enough for a 5.25" floppy disk. Here is a example of the bigger box with artwork i made.

 

 

 

 

 

 

The boxes on amazon:

https://www.amazon.de/gp/product/B00N4U7074/

 

-Jonas

MarkO's picture
Offline
Last seen: 1 month 3 weeks ago
Joined: Dec 10 2011 - 16:26
Posts: 679
Applied Analytics uSPEED Math Co-Processor, with AMD AM9511A

I received an Apple ][ many years ago from my dad, with a uSPEED Math Co-Processor, with AMD AM9511A.

 

I used the 7811B CCS Manual to test that it worked..

ftp://ftp.apple.asimov.net/pub/apple_II/documentation/hardware/io/CCS Apple II APU 7781B Owners Manual.PDF

 

 

MarkO

tokabln's picture
Offline
Last seen: 3 days 21 hours ago
Joined: Dec 30 2015 - 10:48
Posts: 238
... and does it work as
... and does it work as expected ? Have you made any tests? Have a nice day and a good start into 2020...
UweGo's picture
Offline
Last seen: 3 months 3 weeks ago
Joined: Oct 16 2021 - 11:02
Posts: 3
PCB

Hi Torsten,

 

Do you still have Apple II AM9511 FPU circuit boards ? I'm also interested in the schematics.

 

Best regards,

Uwe

 

tokabln's picture
Offline
Last seen: 3 days 21 hours ago
Joined: Dec 30 2015 - 10:48
Posts: 238
Hello Uwe, everything about

Hello Uwe,

 

everything about the APU card can be found within this thread. I never build a schematic for the Apple card, because I cloned the card layout only.

I build cards for ZX81 and ZX Spectrum as well, while here I draw some schematics.

 

Anyhow... the original schematic can be found at the user manual: https://www.applefritter.com/comment/86569#comment-86569

 

If I still have a raw pcb needs to be checked. Can take some time.

tokabln's picture
Offline
Last seen: 3 days 21 hours ago
Joined: Dec 30 2015 - 10:48
Posts: 238
Hello Uwe, just checked and I

Hello Uwe, just checked and I do have a spare raw board...

 

costs are 5 Euro/raw pcb plus shipping. I do have no additional spare parts, like APU and ICs and other components, left.

 

Board serial number  TK0018 - ENIG quality. If you are still interested, just sent me a PM including you shipping address.

 

Have a nice day.

UweGo's picture
Offline
Last seen: 3 months 3 weeks ago
Joined: Oct 16 2021 - 11:02
Posts: 3
Hi Torsten, i have built up

Hi Torsten,

 

i have built up the card and installed it in an Apple iigs (slow speed).The test with the output of the number Pi still worked.I had problems at the beginning with the test program 2 (add 2 numbers). The computer stopped completely after that. With the oscilloscope I measured the card in this state. The pause signal at pin 17 always stayed low. Only when I exchanged the ICs U2 against a 74HCT00 and U3 74AC74 it worked. The cause I have not yet understood exactly. My TL866CS had tested the ICs 74LS00 and 74LS74 and found no error.Afterwards I booted DOS 3.3 and then loaded CCSOFT4. I can test this with a PRINT SQR(2). Applesoft integrated floating point routine calculates 1.41421356 and CCSOFT calculates 1.41421354.I have not yet succeeded in loading or save programs wit CCSOFT from disk.CAT or CATALOG reports ?SYNTAX ERROR and on a LOAD the computer hangs.Maybe someone can help with this ?

 

Greetings,

Uwe

tokabln's picture
Offline
Last seen: 3 days 21 hours ago
Joined: Dec 30 2015 - 10:48
Posts: 238
UweGo wrote: Only when I
UweGo wrote:
 
Only when I exchanged the ICs U2 against a 74HCT00 and U3 74AC74 it worked. The cause I have not yet understood exactly. My TL866CS had tested the ICs 74LS00 and 74LS74 and found no error.
 
 
Well the TL866CS does a functional test only but didn't test any frequency behaviour... therefore the chips migth work in another system very well... but when it comes to your computer, some timing seems to be "out of spec" for the previously used chips and therefore you experience this behaviour. This is a typical issue that sometime occur.
 
I actually can't tell you anything related to the converted diskimage and why it probably failed. But you asked that question at the VzEkC Forum already.
 
Regards Torsten
UweGo's picture
Offline
Last seen: 3 months 3 weeks ago
Joined: Oct 16 2021 - 11:02
Posts: 3
I have written a small test

I have written a small test program for the processor.Could someone test it ?

Source code and disk image

https://bitbucket.org/UweGottschling/apple_ii_series_mandelbrot_set/src/master/

mbs140.po --> 5.25" floppy image

mbs800.po --> 3.5" floppy image

 

MBSLR.BIN --> for Apple II / II+ / IIe

MBSLRC02.BIN --> for enhanced IIe (65C02 CPU) or IIGS

MBSLRFPUC02.BIN --> For enhanced IIe (with 65C02 CPU) or IIGS with AM9511 FPU card at slot 4.

MBSLR816.BIN --> for Apple IIGS

 

Pages

Log in or register to post comments