Chris, this shows an issue as suddenly there is a “Syntax Error” on a line that has been run at least several hundred times. This shouldn’t happen.
The starting output is as expected, it is writing (W) then verifying (V) on one partition, then copying (C) and then verifying that copy.
It ran through nearly 22 loops and wrote about 51K.
Please try again and see if you get different results. I assure you the “Syntax Error” is NOT my code, but some sort of corruption in memory that is happening.
-Randal (at CubeCentral)
--
You received this message because you are subscribed to the Google Groups "LiNC80" group.
To unsubscribe from this group and stop receiving emails from it, send an email to linc80+un...@googlegroups.com.
To post to this group, send email to lin...@googlegroups.com.
To view this discussion on the web visit https://groups.google.com/d/msgid/linc80/6fe26acd-baf7-44f0-be35-bb716f4a395b%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.
Well, here's a pro tip for you:If you plug the CF IDE adapter in one row off (holes 1 and 2 plugged in to pins 3 and 4), it fries the CF card and the adapter. I am out of commission until replacement parts arrive (Friday).
Just to clarify, so I understand. When I boot my LiNC80 SBC1 I can go into ROM BASIC like so:*BASICMemory top?Z80 BASIC Ver 4.7bCopyright (C) 1978 by Microsoft47811 Bytes freeOkI found a PDF for the manual this version of ROM BASIC is based upon, and there is no mention of a MOD operator (or INKEY$)
Tera TermUsing LiNC80 SBC1 with SCMonitor v1.0.0Testing with MM8.BAS...This is how I built the test environment:Send file:SCWorkshop017_SCMonitor100\SCWorkshopProjects\CPM v2.2 Format\Format_CF128_code8000.hexG8000Send file:SCWorkshop017_SCMonitor100\SCWorkshopProjects\CPM v2.2 PutSys Plus\PutSys_LiNC80_SIO_CF128_code8000.hexG8000Send file:SCWorkshop017_SCMonitor100\SCWorkshopProjects\\CPM v2.2 Download.com\SCMon_LiNC80_Download_code8000.hexG8000cpmsave 2 download.comSet terminal delays to 1 ms/char and 1 ms/lineSent Grant style package of MBASIC.COM v5.21Set terminal delays to 1 ms/char and 50 ms/lineSend file: MM8.BASRunning MM8.BAS...Random number seed (-32768 to 32767)? 1000
AaBbCcDdEeFfGgHhIiJjKkLlMmNnOoPpQqRrSsTtUuVvWwXxYyZzConfigured for 15 drive letters A: to O:
W>E:RC1.MMM V<E:RC1.MMM C>J:RC1.MMM V<J:RC1.MMM .246094 20238W>C:GH2.MMM V<C:GH2.MMM C>E:GH2.MMM V<E:GH2.MMM .738281 20238W>K:LQ3.MMM V<K:LQ3.MMM C>M:LQ3.MMM V<M:LQ3.MMM 1.47656 20238W>A:PD4.MMM V<A:PD4.MMM C>O:PD4.MMM V<O:PD4.MMM 2.46094 20238W>F:FZ5.MMM V<F:FZ5.MMM C>A:FZ5.MMM V<A:FZ5.MMM 3.69141 20238W>G:GW6.MMM V<G:GW6.MMM C>D:GW6.MMM V<D:GW6.MMM 5.16797 20238W>B:MC7.MMMProgram hungReboot and ran againrunRandom number seed (-32768 to 32767)? 5
AaBbCcDdEeFfGgHhIiJjKkLlMmNnOoPpQqRrSsTtUuVvWwXxYyZzConfigured for 15 drive letters A: to O:
W>C:GC1.MMM V<C:GC1.MMM C>M:GC1.MMM V<M:GC1.MMM .246094 20238W>L:LY2.MMM V<L:LY2.MMM C>G:LY2.MMM V<G:LY2.MMM .738281 20238W>H:QW3.MMM V<H:QW3.MMM C>B:QW3.MMM V<B:QW3.MMM 1.47656 20238W>B:XU4.MMM V<B:XU4.MMM C>N:XU4.MMM V<N:XU4.MMM 2.46094 20238W>N:TM5.MMM V<N:TM5.MMM C>G:TM5.MMM V<G:TM5.MMM 3.69141 20238W>G:KH6.MMM V<G:KH6.MMM C>N:KH6.MMM V<N:KH6.MMM 5.16797 20238W>N:QN7.MMM V<N:QN7.MMM C>H:QN7.MMM V<H:QN7.MMM 6.89063 20238W>L:ZM8.MMM V<L:ZM8.MMM C>F:ZM8.MMM V<F:ZM8.MMM 8.85938 20238W>F:UM9.MMM V<F:UM9.MMM C>N:UM9.MMM V<N:UM9.MMM 11.0742 20238W>D:WO10.MMM V<D:WO10.MMM C>C:WO10.MMM V<C:WO10.MMM 13.5352 20236W>E:KB11.MMM V<E:KB11.MMM C>G:KB11.MMM V<G:KB11.MMM 16.2422 20236W>D:JF12.MMM V<D:JF12.MMM C>I:JF12.MMM V<I:JF12.MMM 19.1953 20236W>M:PD13.MMM V<M:PD13.MMM C>I:PD13.MMM V<I:PD13.MMM 22.3945 20236W>H:DE14.MMM V<H:DE14.MMM C>D:DE14.MMM V<D:DE14.MMM 25.8398 20236W>H:QH15.MMM V<H:QH15.MMM C>K:QH15.MMM V<K:QH15.MMM 29.5313 20236W>L:TD16.MMM V<L:TD16.MMM C>F:TD16.MMM V<F:TD16.MMM 33.4688 20236W>G:IG17.MMM V<G:IG17.MMM C>C:IG17.MMM V<C:IG17.MMM 37.6523 20236W>B:ZN18.MMMProgram hungTesting with MODCHK4.BAS...Loaded MODCHK4.BAS by sending from terminalrunRandom number seed (-32768 to 32767)? 234ERROR! A= 24720 B= 18961 C= 5759 D= 24720 X= 86ERROR! A= 13064 B= 30699 C= 13064 D= 6.28825E+13 X= 94CHECK: A= 581 B= 29681 C= 581 D= 581 X= 270CHECK: A= 16549 B= 21655 C= 16549 D= 16549 X= 1073CHECK: A= 15367 B= 25749 C= 15367 D= 15367 X= 1133^CBreak in 110OkrunRandom number seed (-32768 to 32767)? 234Division by zero in 100OkRe-ran programand within a few seconds it crashed:runRandom number seed (-32768 to 32767)? 55
AaBbCcDdEeFfGgHhIiJjKkLlMmNnOoPpQqRrSsTtUuVvWwXxYyZzConfigured for 15 drive letters A: to O:
W>G:ZS1.MMM V<G:ZS1.MMM C>H:ZS1.MMMLiNC80 CP/M BIOS 1.2 by G. Searle 2007-18CP/M 2.2 Copyright 1979 (c) by Digital ResearchTesting with my compact flash test program...Reset (leaving everything exactly as it was above)Ran my own compact flash test (started ~11:00)This is the program included with SCWorld distribution 0.1.7After about 1.5 hours the porgram reported a verify error.A verify error being that a read back does not give the expected data.My program allows the read part to be repeated and again the error was seen.I repeated this multiple times.This indicates the error is a write failure as a random read error would not be repeatable.Note, my program checks for and reports any error detected by the card of which there were none.I continued the program starting at the next sector.Ran without problems for another hour or so.Restarted the test to see if it failed at the same location but it didn't.It appears there was a single non-repeatable write error.The program has now be running a total of 7 hours with just that one error.My test program is written in assembler as an SCMonitor App, so it does not use BASIC or CPM.Conclusion...Is one error in 7 hours of continuous reading and writing an indication of a problem???My fridge is electrically very noisy whien the pump stops. It causes my speakers to crackleand sometimes my monitor blanks for about a second. Could this be what caused the writefailure??? If so is that just life???I don't have enough statistical info to answer the above questions.Even if my test program is showing a fault in the system as a whole it is nothing like theregularity as the two BASIC test programs. Also my system does not show any other instability,just the odd problem with compact flash access.
Steve, thank you for your testing and report!
I want to briefly repeat something in another thread to answer the statement where you said:
“I thus agree with the idea of doing tests with ROM BASIC to see if it is CPM/MBASIC only that fails.”
I agree with you that it would be best to try running the tests in a simplified system to remove variables, but unless we can put a different version of the ROM BASIC on the chip, I am unable to run the MODCHK program in the supplied ROM BASIC as it lacks the MOD operator. The thinking behind that test is the MOD operator is failing (or showing the symptom) and that the alternative way of arriving at a modulus computation is working correctly. Without the MOD operator, that computation can only take place the alternative way with no other way to compute a check.
I have the tools to be able to write a new EEPROM, but not the knowledge or skills to adapt the CPM version of MBASIC to a ROM-runnable one. If we find a different version of ROM BASIC (and it contains the MOD operator) perhaps it could be put on a ROM? I don’t know.
Thanks again, and I will try to do some testing this afternoon after applying some noise suppression chokes to the power supply and power input.
-Randal (at CubeCentral)
From: lin...@googlegroups.com [mailto:lin...@googlegroups.com] On Behalf Of Steve Cousins
Sent: Wednesday, May 30, 2018 12:26
To: LiNC80 <lin...@googlegroups.com>
Subject: [linc80] Re: Compact Flash adaptors
Hi Randal/Chris/Jon ..and anyone else watching.
--
You received this message because you are subscribed to the Google Groups "LiNC80" group.
To unsubscribe from this group and stop receiving emails from it, send an email to linc80+un...@googlegroups.com.
To post to this group, send email to lin...@googlegroups.com.
To view this discussion on the web visit https://groups.google.com/d/msgid/linc80/d22acabc-56a0-41a0-817b-ed56c1f8f4f4%40googlegroups.com.
> an email to linc80+unsubscribe@googlegroups.com
> <mailto:linc80+unsubscribe@googlegroups.com>.
> To post to this group, send email to lin...@googlegroups.com
> <mailto:linc80@googlegroups.com>.