Update Pi ROM signature to not conflict with Slinky RAM drivers

This commit is contained in:
David Schmenk 2021-05-12 15:44:01 -07:00
parent 2379827200
commit 5e1e5acd68
5 changed files with 15 additions and 9 deletions

Binary file not shown.

6
debian/changelog vendored
View File

@ -1,3 +1,9 @@
a2pi (0.2.3-10) unstable; urgency=medium
* Change PIROM signature to not conflict with Slinky RAM drivers
-- David Schmenk <dschmenk@mail.com> Wed, 12 May 2021 15:40:00 -0800
a2pi (0.2.3-5) unstable; urgency=medium a2pi (0.2.3-5) unstable; urgency=medium
* Flush writes to piDrives * Flush writes to piDrives

12
debian/postinst vendored
View File

@ -80,10 +80,10 @@ case "$1" in
# Set up PIDRIVEs # Set up PIDRIVEs
# #
#if [ ! -s /usr/share/a2pi/A2VD1.PO ] ; then #if [ ! -s /usr/share/a2pi/A2VD1.PO ] ; then
if [ -e /usr/share/a2pi/A2VD1.PO ] || [ -L /usr/share/a2pi/A2VD1.PO ] ; then if [ -e /usr/share/a2pi/A2VD1.PO ] || [ -L /usr/share/a2pi/A2VD1.PO ] ; then
rm /usr/share/a2pi/A2VD1.PO rm /usr/share/a2pi/A2VD1.PO
fi fi
ln -s /usr/share/a2pi/A2PI-1.6.PO /usr/share/a2pi/A2VD1.PO ln -s /usr/share/a2pi/A2PI-1.7.PO /usr/share/a2pi/A2VD1.PO
#fi #fi
if [ ! -s /usr/share/a2pi/A2VD2.PO ] ; then if [ ! -s /usr/share/a2pi/A2VD2.PO ] ; then
if [ -e /usr/share/a2pi/A2VD2.PO ] || [ -L /usrshare/a2pi/A2VD2.PO ] ; then if [ -e /usr/share/a2pi/A2VD2.PO ] || [ -L /usrshare/a2pi/A2VD2.PO ] ; then
@ -94,16 +94,16 @@ case "$1" in
# #
# Add schmenk.is-a-geek.com to apt sources # Add schmenk.is-a-geek.com to apt sources
# #
if [ "$(grep schmenk /etc/apt/sources.list)" = "" ] ; then #if [ "$(grep schmenk /etc/apt/sources.list)" = "" ] ; then
echo "deb http://schmenk.is-a-geek.com/raspbian stretch contrib" >> /etc/apt/sources.list # echo "deb http://schmenk.is-a-geek.com/raspbian stretch contrib" >> /etc/apt/sources.list
fi #fi
# #
# Add a2pi service to systemd # Add a2pi service to systemd
# #
if [ -f /usr/share/a2pi/a2pi.service ] && [ -d /lib/systemd/system ] ; then if [ -f /usr/share/a2pi/a2pi.service ] && [ -d /lib/systemd/system ] ; then
cp /usr/share/a2pi/a2pi.service /lib/systemd/system cp /usr/share/a2pi/a2pi.service /lib/systemd/system
systemctl enable a2pi systemctl enable a2pi
fi fi
;; ;;
abort-upgrade|abort-remove|abort-deconfigure) abort-upgrade|abort-remove|abort-deconfigure)

View File

@ -5,9 +5,9 @@
;**************************************** ;****************************************
PIROM = 1 PIROM = 1
.DEFINE SIG "PI" .DEFINE SIG "DS"
.INCLUDE "romincs.s" .INCLUDE "romincs.s"
;**************************************** ;****************************************
;* ;*
;* PER-SLOT ROM @ $Cx00 ;* PER-SLOT ROM @ $Cx00
@ -47,7 +47,7 @@ BANKSEL EQU $C0EF
BANKSEL EQU $C0FF BANKSEL EQU $C0FF
.INCLUDE "cxrom.s" .INCLUDE "cxrom.s"
.ENDSCOPE .ENDSCOPE
;**************************************** ;****************************************
;* ;*
;* OPTION ROM SPACE @ $C800 ;* OPTION ROM SPACE @ $C800