POC Computer Version One
BigEd wrote:
could you put together a new head post on Lancaster-style DMA?
BigEd wrote:
the operand can be the same as the opcode, so it's no more complex
-- Jeff
- BigDumbDinosaur
- Posts: 9428
- Joined: 28 May 2009
- Location: Midwestern USA (JB Pritzker’s dystopia)
- Contact:
POC
Well, it's been close to three months since I last powered POC V1. Just for grins, I flipped the switch. The unit ran through POST and the SCSI hardware all checked in. For some reason, the date and time are way off. Something had to have tinkered with the watchdog with an improper write operation. Hmmm...a new hardware problem or a bug in the BIOS code?
x86? We ain't got no x86. We don't NEED no stinking x86!
- BigDumbDinosaur
- Posts: 9428
- Joined: 28 May 2009
- Location: Midwestern USA (JB Pritzker’s dystopia)
- Contact:
POC V1
fachat wrote:
Or the usual problem - drained BIOS battery? 
I checked the "battery good" bit in the watchdog's status register (has a built-in lithium ion battery) and it is set, meaning the battery voltage is in range. I reset all the clock registers and loaded a data pattern into NVRAM (256 bytes), powered down and disconnected the unit from the power supply. I'll come back to it in a few days and see if anything has changed.
x86? We ain't got no x86. We don't NEED no stinking x86!
- BigDumbDinosaur
- Posts: 9428
- Joined: 28 May 2009
- Location: Midwestern USA (JB Pritzker’s dystopia)
- Contact:
POC V1
Okay, I powered the POC unit this morning, only to discover that the watchdog timer is fine. It correctly set the console clock and the data I had loaded into NVRAM was intact. That rules out the battery as the culprit.
Next step is to leave this thing running and see what develops. I'm suspecting a bus glitch may have triggered a spurious write operation to the watchdog. Time should tell. Yeah, yeah...bad pun.
Next step is to leave this thing running and see what develops. I'm suspecting a bus glitch may have triggered a spurious write operation to the watchdog. Time should tell. Yeah, yeah...bad pun.
x86? We ain't got no x86. We don't NEED no stinking x86!
- BigDumbDinosaur
- Posts: 9428
- Joined: 28 May 2009
- Location: Midwestern USA (JB Pritzker’s dystopia)
- Contact:
Re: POC V1
BigDumbDinosaur wrote:
Next step is to leave this thing running and see what develops. I'm suspecting a bus glitch may have triggered a spurious write operation to the watchdog. Time should tell. Yeah, yeah...bad pun.
x86? We ain't got no x86. We don't NEED no stinking x86!
- BigDumbDinosaur
- Posts: 9428
- Joined: 28 May 2009
- Location: Midwestern USA (JB Pritzker’s dystopia)
- Contact:
POC V1
The uptime counter is 13 days, 2.6 hours, and nothing weird has transpired. I tried reading a few blocks from the hard drive and that's all working. There is no sign of the instability problem that I thought was present. Maybe there's a hinky solder joint that reacts to environment changes and makes the unit go wacko. Oh, I know! It's the price of gas that's doing it.
<Scratching Head>
x86? We ain't got no x86. We don't NEED no stinking x86!
-
ElEctric_EyE
- Posts: 3260
- Joined: 02 Mar 2009
- Location: OH, USA
- BigDumbDinosaur
- Posts: 9428
- Joined: 28 May 2009
- Location: Midwestern USA (JB Pritzker’s dystopia)
- Contact:
POC V1
ElEctric_EyE wrote:
Maybe it's picking up cell transmission or maybe a cordless phone in close proximity to your board?
The unit is close to the ATX power supply that runs it, but those power supplies are not supposed to emit EMI in a quantity sufficient to upset digital circuits.
This one's a puzzler...
x86? We ain't got no x86. We don't NEED no stinking x86!
- BigDumbDinosaur
- Posts: 9428
- Joined: 28 May 2009
- Location: Midwestern USA (JB Pritzker’s dystopia)
- Contact:
Re: POC V1
BigDumbDinosaur wrote:
Okay, I powered the POC unit this morning, only to discover that the watchdog timer is fine. It correctly set the console clock and the data I had loaded into NVRAM was intact. That rules out the battery as the culprit.
Next step is to leave this thing running and see what develops. I'm suspecting a bus glitch may have triggered a spurious write operation to the watchdog. Time should tell. Yeah, yeah...bad pun.
Next step is to leave this thing running and see what develops. I'm suspecting a bus glitch may have triggered a spurious write operation to the watchdog. Time should tell. Yeah, yeah...bad pun.
x86? We ain't got no x86. We don't NEED no stinking x86!
- BigDumbDinosaur
- Posts: 9428
- Joined: 28 May 2009
- Location: Midwestern USA (JB Pritzker’s dystopia)
- Contact:
Re: POC Computer
Uptime is now 32.6 days and absolutely nothing untoward has happened. The past instability problem I thought I was seeing has not materialized and all functions are working, including SCSI I/O. Baffled...but maybe relieved. Time to move on, I guess, and get busy concocting a basic filesystem design so I can store stuff on the disk without having to manually address by block. In other words, it's time to make POC work like a real computer.
I do have one hardware issue to solve and that is attempting to access the SCSI controller's FIFO through the chip's DMA channel doesn't work. I see the correct setup lines are being diddled when I execute an instruction that is supposed to do a direct FIFO read or write but nothing happens. First step will be to slow down Ø2 to 1 MHz to eliminate any timing issues (Ø2 is currently at 8 MHz). If that fixes it then I will progressively increase Ø2 until failure occurs. The odd thing, though, is that my I/O timing, at least according to what I worked out, is well within the 53C94's specs. Hmmm...
As far as a filesystem goes, I think I'll model my initial attempt on the UNIX S51K example, but with 512 byte sectors (the old PDP series used 1K sectors because that's the way the disk subsystem worked). I will deviate in two regards:

I do have one hardware issue to solve and that is attempting to access the SCSI controller's FIFO through the chip's DMA channel doesn't work. I see the correct setup lines are being diddled when I execute an instruction that is supposed to do a direct FIFO read or write but nothing happens. First step will be to slow down Ø2 to 1 MHz to eliminate any timing issues (Ø2 is currently at 8 MHz). If that fixes it then I will progressively increase Ø2 until failure occurs. The odd thing, though, is that my I/O timing, at least according to what I worked out, is well within the 53C94's specs. Hmmm...
As far as a filesystem goes, I think I'll model my initial attempt on the UNIX S51K example, but with 512 byte sectors (the old PDP series used 1K sectors because that's the way the disk subsystem worked). I will deviate in two regards:
- S51K directory entries were limited to 16 bytes, of which 14 were for the filename. I will increase the directory entry size to 32 bytes, with 30 available for the filename.
- S51K used the concept of clusters (usually 4K per cluster) for the basic unit of storage. As clusters are wasteful (4K would be consumed to store a 1 byte file), I will use the disk sector (block) size as the unit of storage. Space near the beginning of the filesystem will be devoted to a bitmap that will keep track of sector allocation.
x86? We ain't got no x86. We don't NEED no stinking x86!
Re: POC
BigDumbDinosaur wrote:
Well, it's been close to three months since I last powered POC V1. Just for grins, I flipped the switch. For some reason, the date and time are way off.
This is certainly a puzzling situation, and you've been unable to re-create the problem by leaving the unit powered off for an extended period. But maybe the problem would appear if you cycled the power on and off repeatedly. Can you rig up something that would let that happen automatically, and let it cycle for a few days? I could be way off base, but you see what I'm getting at -- maybe it's the transition that's problematic. Don't ask me how or why; I admit I'm grasping for clues. But that's what you do when you're stuck, troubleshooting...
-- Jeff
In 1988 my 65C02 got six new registers and 44 new full-speed instructions!
https://laughtonelectronics.com/Arcana/ ... mmary.html
https://laughtonelectronics.com/Arcana/ ... mmary.html
- BigDumbDinosaur
- Posts: 9428
- Joined: 28 May 2009
- Location: Midwestern USA (JB Pritzker’s dystopia)
- Contact:
Re: POC
Dr Jefyll wrote:
BigDumbDinosaur wrote:
Well, it's been close to three months since I last powered POC V1. Just for grins, I flipped the switch. For some reason, the date and time are way off.
This is certainly a puzzling situation, and you've been unable to re-create the problem by leaving the unit powered off for an extended period.
Quote:
But maybe the problem would appear if you cycled the power on and off repeatedly. Can you rig up something that would let that happen automatically, and let it cycle for a few days? I could be way off base, but you see what I'm getting at -- maybe it's the transition that's problematic. Don't ask me how or why; I admit I'm grasping for clues. But that's what you do when you're stuck, troubleshooting...
-- Jeff
-- Jeff
I had also looked at the idea of a thermal issue being present. However, the only device that has significant power consumption is the 53C94 SCSI controller, and it barely gets warm to the touch. Everything else is very low power—minus the SCSI host adapter, the entire POC unit consumes less than 100 MA. And now it has been powered up for more than a month with absolutely no problems arising. A thermal issue just doesn't seem likely.
It seems if the now-elusive problem is related to power-on I need to rig up something that can cycle power at periodic intervals. The only power used by the POC is 5 volts, so free-running timer that interrupts the 5 volt supply, waits a short while and then reapplies the juice would do it. I'd also have to write a simple program to log each startup to the disk. Since the POC's reset code attempts to boot an OS from the disk at the tail end of reset, it seems logical to have the logging program be loaded and run from the boot sector (sector $000000), and just write data into other disk sectors—there's currently no filesystem in place, so it'll be raw reads and writes. This will take a bit of planning.
More work...
Last edited by BigDumbDinosaur on Fri Apr 20, 2012 5:39 pm, edited 1 time in total.
x86? We ain't got no x86. We don't NEED no stinking x86!
Re: POC
BigDumbDinosaur wrote:
Dr Jefyll wrote:
BigDumbDinosaur wrote:
Well, it's been close to three months since I last powered POC V1. Just for grins, I flipped the switch. For some reason, the date and time are way off.
This is certainly a puzzling situation, and you've been unable to re-create the problem by leaving the unit powered off for an extended period.
Cheers
Ed