# HG changeset patch # User boisy # Date 1106012360 0 # Node ID 80cdc57fbaaefed7c79ce5123c32ec7a3948c644 # Parent eae667eb0b90a1c1c0fec5d123b926a3be2f27a0 PIAs initialized with new value diff -r eae667eb0b90 -r 80cdc57fbaae level1/modules/clock.asm --- a/level1/modules/clock.asm Mon Jan 17 19:22:08 2005 +0000 +++ b/level1/modules/clock.asm Tue Jan 18 01:39:20 2005 +0000 @@ -26,6 +26,10 @@ * Fixed bug in init routine that was causing DP and CC to * be pulled off the stack and stored in D.Proc under Level 1 * +* 9r7 2005/01/17 Boisy G. Pitre +* Fixed incorrect value for PIA initialization. Robert indicated +* that it should be $3434, not $3435. +* nam Clock ttl OS-9 System Clock @@ -173,7 +177,7 @@ coma sta 2,x set port B all outputs ; ldd #$343C [A]=PIA0 CRA contents, [B]=PIA0 CRB contents - ldd #$3435 + ldd #$3434 as per Robert Gault's suggestion sta 1,x CA2 (MUX0) out low, port A, disable HBORD high-to-low IRQs stb 3,x CB2 (MUX1) out low, port B, disable VBORD low-to-high IRQs