commit 49985dbd36c37bc76e69d0b4d8edaf17403aac24
Author: nils-eilers
Date: Wed Apr 5 03:09:48 2017 +0200
Fix IEC fastloader for petSD+
The AVR fastloader code is hardcoded for 8 MHz and running
the device at other speeds breaks the timing and thus the
support of fastloaders.
But the device can not run at 8 MHz because that would be too
slow to respond in time to the IEEE-488 ATN signal.
To fix this, a CPU clock prescaler is introduced to run at 8 MHz
when in IEC mode and at 16 MHz when in IEEE-488 mode.
Replace the crystal on your petSD+ with a 16 MHz type to benefit
from this commit. However, take greatest care not to damage the
PCB when you exchange the crystal!
commit 2a08940fc0a5736f7ac0795691b189857020ca1e
Author: nils-eilers
Date: Wed Apr 5 00:55:13 2017 +0200
Cleanup IEEE-488 code
commit b7ac7b8461385c721a650ad76890e7ebc9951fd1
Author: nils-eilers
Date: Wed Apr 5 00:50:58 2017 +0200
Remove ATmega32 specific code
The code grew too large for this controller quite a while ago
commit 12b04faf11a3541e87c38d5e180fad5b5d8246b3
Author: nils-eilers
Date: Wed Apr 5 00:46:44 2017 +0200
Remove support of XS-1541
There are no XS-1541 with attached SD-card out in the wild
and the poor men's variant without IEEE bus drivers is broken
anyway. So just get rid of it and close #4
commit 71b4bb4c2a65cf2718457ef5beaf708394c02d5d
Author: nils-eilers
Date: Tue Apr 4 21:23:44 2017 +0200
Remove more petSD-duo related code
This code was introduced when the IEEE-488 functions were
replaced. It didn't come with a petSD-duo specific commit so
it had to get removed separately.
commit 8765e06e085ab7934a217a6a9cb1c032cac31158
Author: nils-eilers
Date: Tue Apr 4 21:11:53 2017 +0200
Revert petSD-duo code
This commit reverts all petSD-duo related code, leaving it
in the spsp branch for further reference.
The petSD-duo is a failed hardware project so there’s no need
to preserve its code in the master code branch.
This commit reverts to commit:
7a9567aad872f411eff47490e2814d79b1f77552

commit 256c03e8ec91dc22c96ff66be9485a407720646b
Author: nils-eilers
Date: Sat May 21 01:14:14 2016 +0200
Bugfix: use 11 as default device address
Bugfix: if the device address couldn’t get read back from the
EEPROM memory, it was accidentally set to zero.
This bugfix uses 11 as a new default value. This value was chosen
because it doesn’t conflict with 8 to which internal drives are usually
set, such as for example the CBM 8296D.
A new config value CONFIG_DEFAULT_ADDR is introduced
(see configs/config-example) to compile for default addresses
other than 11.
commit 6abfeaa732073a685bc2d10de136abf68fab190b
Author: nils-eilers
Date: Sat May 21 00:56:05 2016 +0200
Add Makefile's delete-eeprom target
Handy to test default values

commit 47dbabefd9a94e6fb04d488b5d0f25d33d694623
Author: nils-eilers
Date: Tue Sep 8 17:43:54 2015 +0200
ieee488: fix an ATN race condition
If ATN was released and set again in a very short time, it could
happen that the PET got stuck waiting forever.
NRFD set high (to indicate ready for data) got overwritten by the
ATN acknowledge interrupt to NRFD low (not ready for data).
By consequence, the PET got stuck because it waited without
timeout for NRFD low.
The current code prevents such race conditions by not checking
ATN directly but indirectly, in combination with the ATN interrupt
routine.

commit 2b0f8d107a56a00647dd9c8e7c036ecba853d04f
Author: nils-eilers
Date: Wed Jul 8 23:53:27 2015 +0200
Add IFC support for old petSD and the new pet microSD
The code tries to read the die revision of the ethernet
interface chip ENC28J60. If it fails, it assumes that this chip
is not present and that IFC is connected to a port pin that would
have been used as ethernet interrupt otherwise.
Having neither ethernet chip nor IFC patch on the old petSD
does not harm. It will simply ignore IFC as it always did.
IFC is connected to port PD3 on the pet microSD by default.
Have a look at http://petsd.net for instructions how to patch
in two wires to make IFC usable for the old petSD as well.
commit e72d5e11459a2ca25a9acace20f9bc2ffd60b971
Author: nils-eilers
Date: Tue Jul 7 03:08:38 2015 +0200
Start debug log with name and version
commit eddcfa952c3d81f0714e35ef06b7794cbb94902f
Author: nils-eilers
Date: Tue Jul 7 01:02:34 2015 +0200
Mention Dave Curran's pet microSD in petSD's config file

commit 6bfb996a3138c32ee1bc66d6c783f47388d15674
Author: nils-eilers
Date: Sun Jun 28 20:37:17 2015 +0200
Ignore further bytes sent on errors during SAVE
This prevents the CBM/PET from blocking, fixes #6
commit bca1406dbab009ce82b0088ef83237be5056c05a
Author: nils-eilers
Date: Sun Jun 28 19:18:17 2015 +0200
Increase petSD+ clock setting to 18.432 MHz
As it turned out, the petSD+ does not work reliable when clocked
at 8 MHz only by the internal RC oscillator.
On some occasions, the ATN-Acknowledge comes too late then
giving DEVICE NOT PRESENT ERRORs.
By consequence, the operation at 18.432 MHz with an external
crystal oscillator is now the only supported configuration,
providing a stable operation.

commit 1d12b40d9f6ec7d57648fdd90a8942a6d88f8c07
Author: nils-eilers
Date: Mon Jun 8 01:09:55 2015 +0200
Add some error handling to last-commit.sh
If git is not available or the source directory is not
a git repo, the current date YYMMDD is used as a
date of the latest commit and NOGIT for the hash of
the latest commit.