Try it... :evilgrin5:I suspect only up to 32767 ;-)
Try it... :evilgrin5:I suspect only up to 32767 ;-)
I will, but are there actually any M/L programs at this time that calculate ROM checksums?This will be extra useful when the petester diagnostic EPROM performs check sums as well as RAM checks in assembly language. Now you have to add these PET Drive ROMs to your table. So you recalculate those numbers!
I will, but are there actually any M/L programs at this time that calculate ROM checksums?
I'll see if I can talk Mike N. into putting it on 6502.org somewhere.
Try it... :evilgrin5:
[COLOR=#333333]40 print " Sumcheck = " s and 255
[/COLOR]
Did I miss something again? I think on the 8032 we have the opposite situation from the 8250; we don't need to invert CS for the adapter but we do need to invert for the original 8250 ROMs, no?
@Giobi:
Try this:
- Insert your adapter with the 2764 into the 8032's A socket (UD11) with all pins connected.
- Turn on the 8032 and type:
S=0:FOR X = 10*4096 to X+4095:S=S+PEEK(X):NEXT: ? S
After a few seconds it should give you a total of 477492.
If you like, lift pin 21 of the adapter or pin 23 of the 2764, connect it to GND (pin 12 or 14) and run the above again.
This time you should get 485835
Catching up with this thread. I have a few diagnostics program that can help. Load a program using an 8050 or some working drive first, and then swap in the 8250 after you load the program. You might be able to get a feel for the status of your drive's remaining issues. Note: Any test programs for an sfd-1001 would test drive 0 of the 8250.
http://vintagecomputer.net/commodore/D80_BSeries/TECHDISK.D80
http://vintagecomputer.net/commodore/IEEE_drives/
Bill
No, I just swapped the high and the low checksums to see if you were paying attention ;-) (and I've erased the evidence); I'm not used to people actually following my suggestions, so my mistakes rarely get caught except by Dave...- Instead of 477492, I got 485835 ("normal" adapter, all pins connected).
- Instead of 485835, I got 474766 (eprom pin 23 to ground only -not connected to pcb pin 21).
Next step I will check the original rom. But have you any idea about what's going on with the eprom adapter... why those strange results? I checked twice my adapter, but maybe there's a mistake somewhere I didn't discover yet?
Yeah, I haven't heard of those failing, but why not check anyway...I have two 2316 rom, so probably one of them is working, but I will also check them to be sure.
I suppose it could, but it doesn't really seem worth the trouble; if the 6530 is bad it's a different ballgame anyway and replacing the three ROMs would be pretty straightforward. Maybe if the RAM is bad, but I'm sure there are easier ways, and the fact that there are two CPUs in there may rule it out anyway.Mike, reading your comment on cbm-hackers ("Reverse engineering printer sharing device") gave me an idea; the RAM/ROM adapter from Nicolas Welte can also replace RAM/ROM in 1541 devices. Do you think it could be possible to use it for 8050/8250 drives too? And how? I have the personality chip for pet, vic and 1541 and my adapter has a jumper that allows to use it in these three devices. But I'm not sure if the ieee drives require a proper personality chip and in any case if the adapter can replace the ram or, at least, the rom.
If that all checks out, do the same with your ROMs, inverting pin 20; 901887-01 should be the same, and 901888-01 ROM should give 514792 and 468967 respectively.
No, I just swapped the high and the low checksums to see if you were paying attention ;-) (and I've erased the evidence); I'm not used to people actually following my suggestions, so my mistakes rarely get caught except by Dave...
But that 474766 should really be 477492. Try it again in case you made a typo or had a bad connection; if it's still wrong, can you go back and compare it to the image with your programmer?
The problem with at least PET BASIC is that before it can perform the LOGICAL AND with 255, BASIC will need to convert the floating point variable "s" into an integer number. That step will fail if the number of the checksum is over 32767. I tried it.
40 print " Sumcheck = " s and 255!
No.I see. I don't have any experience with PET BASIC, only QBASIC/QuickBASIC. I take it there is no equivalent to the LONG INTEGER variable type in PET BASIC? I also noted that the FOR statement is incompatible with QB ("FOR higher TO lower" doesn't work without STEP -1).
Would something like this work? (I guess not)
Code:40 print " Sumcheck = " s and 255!
I'm really getting confused now; aren't those ROMs & 6530 DOS 2.5?Mike,
I tried the 901887-01 ROM: it returns 485835 and 477492 with the rom pin 21 to Gnd. I think it should be ok, isn't it? The UL1 rom should be ok.
I tried the 901888-01 ROM: it returns 514630 and 465382 with the rom pin 21 to Gnd. maybe that's the problem?
Out of curiosity, I was trying to erase an program the 2764 as 901888-01, but it's giving me a writing error: I think the only 2764 I had gave up and died on the battle field... so I have to wait for the lot of ten I bought some days ago... :-/ ppppffffff......
:wallbang:
However I will do another erasing cycle and will see....
I discovered maybe I could have a possible way to fix it even in case of a broken 6530. I could swap in this config:
UL1 901482-07 2364 ROM DOS 2.7 C000-DFFF (need a 2764 + adapter)
UH1 901482-06 2364 ROM DOS 2.7 E000-FFFF (I have one, status unknown)
UK3 901483-03 6530-47 RIOT DOS 2.7 Micropolis (I have one, probably working)
I need to check if I have two micropolis 8050 drives (8050031-01). Of course, this way it will be an 8050 inside the case of a 8250.
QUESTION: how I can detect the rev. of the analog board? This case requires an analog board 805006 rev 01 but there's no rev. marked on the pcb...
I'm really getting confused now; aren't those ROMs & 6530 DOS 2.5?
I'm not certain, but I don't think it matters whether you use SS or DS drives as long as the analog board matches (except for the MPI board which does both) and the two jumpers are set appropriately. My 8050006 analog board doesn't show a revision either; I wouldn't worry about it at this point
I'm off to a TPUG meeting, but I'll try to make sense of it later; I've got an 8050 myself that needs investigation.
Try this:
- Insert your adapter with the 2764 into the 8032's A socket (UD11) with all pins connected.
- Turn on the 8032 and type:
S=0:FOR X = 10*4096 to X+4095:S=S+PEEK(X):NEXT: ? S
After a few seconds it should give you a total of 485835.
If you like, lift pin 21 of the adapter or pin 23 of the 2764, connect it to GND (pin 12 or 14) and run the above again.
This time you should get 477492.
If that all checks out, do the same with your ROMs, inverting pin 20; 901887-01 should be the same, and 901888-01 ROM should give 514792 and 468967 respectively.
I'm not familiar enough with Vice to say for sure but I assume it just attaches an image logically, i.e. without caring about the polarity of the ROM/EPROM pins or which pins are connected where.Mike, out of curiosity: is there any way to do that in Vice? I mean a simple way to tell Vice you're attaching an eprom with some modified pins? I tried to attach the 901887-01.bin image in the "A" slot, and if I run the above program, it returns 477492. Shouldn't be the 8250 rom incompatible with 8032 slots? I don't understand how can I get that value...
I'm not familiar enough with Vice to say for sure but I assume it just attaches an image logically, i.e. without caring about the polarity of the ROM/EPROM pins or which pins are connected where.
Why? Are you not getting the correct checksums? It sounds like the digital part might be OK and you're just dealing with analog drive/diskette issues.
Mike, out of curiosity: is there any way to do that in Vice? I mean a simple way to tell Vice you're attaching an eprom with some modified pins? I tried to attach the 901887-01.bin image in the "A" slot, and if I run the above program, it returns 477492. Shouldn't be the 8250 rom incompatible with 8032 slots? I don't understand how can I get that value...