changeset 3111:892188818514

Fix Burke hard disk controller driver to allow build for only one drive Thanks to Charlie Pelosi for testing the resulting BBFhdisk.dr driver.
author Robert Gault <robert.gault@att.net>
date Thu, 05 May 2016 15:42:05 +0200
parents 85ee2487872a
children ca01b4a02fd9
files 3rdparty/drivers/burke/xtos9.src
diffstat 1 files changed, 2 insertions(+), 0 deletions(-) [+]
line wrap: on
line diff
--- a/3rdparty/drivers/burke/xtos9.src	Sun Mar 20 20:33:41 2016 +0100
+++ b/3rdparty/drivers/burke/xtos9.src	Thu May 05 15:42:05 2016 +0200
@@ -212,8 +212,10 @@
 *
 PostIni pshs    Y,X,D
 
+    ifne    (Drives-1)              ;If more than 1 drive
         ldb     PD.DRV,Y
         lbsr    GOBPtr              ;Point Y to extra variables
+    endc
         clrb                        ;Force no carry (success)
         ldb     (PRKLSN-OBSTART+0),Y
         orb     (PRKLSN-OBSTART+1),Y