🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

1 total messages Started by Steven M. Schultz Wed, 27 Jan 1993 17:13
RP06 bootblock bug + fix (#104)
#133
Author: Steven M. Schultz
Date: Wed, 27 Jan 1993 17:13
52 lines
1992 bytes
Subject: RP06 bootblock bug + fix (#104)
Index:	sys/mdec/hpuboot.s 2.11BSD

Description:
	The block 0 bootstrap for the RP04/5/6 does not work.  This means
	that the boot process had to be loaded from tape rather than disc.

Repeat-By:
	Install 2.11BSD on a RP06 system, copy the /mdec/hpuboot boot code
	to disc with "dd" and attempt a hardware boot of the disc.

Fix:
	The bug was introduced when the boot blocks were rewritten back 
	around May 1991, a 'mov' instruction should have been an 'add'
	instruction.

	Apply the patch below and reinstall 'hpuboot' into /mdec.

	Thanks to Lasse Ylitalo & Johnny Billquist for finding the problem
	and providing the fix.
==================================cut here=================================
*** /sys/mdec/hpuboot.s.old	Tue Mar 10 15:10:29 1992
--- /sys/mdec/hpuboot.s	Wed Jan 27 09:02:59 1993
***************
*** 13,18 ****
--- 13,21 ----
  /		  the keyboard had to be removed to make room for the 
  /		  code which understands the new directory structure on disc
  
+ / 930124 Fixed major bug that made booting impossible.
+ /        Lasse Ylitalo & Johnny Billquist
+ 
  / constants:
  CLSIZE	= 2.			/ physical disk blocks per logical block
  CLSHFT	= 1.			/ shift to multiply by CLSIZE
***************
*** 227,233 ****
  	div	$22.,r0
  	swab	r0
  	bis	r1,r0
! 	mov	$hpcs2,r3
  	mov	unit,(r3)
  	mov	r0,-(r3)
  	mov	$buf,-(r3)
--- 230,236 ----
  	div	$22.,r0
  	swab	r0
  	bis	r1,r0
! 	add	$hpcs2,r3	/ 930124 LY&JB
  	mov	unit,(r3)
  	mov	r0,-(r3)
  	mov	$buf,-(r3)
Thread Navigation

This is a paginated view of messages in the thread with full content displayed inline.

Messages are displayed in chronological order, with the original post highlighted in green.

Use pagination controls to navigate through all messages in large threads.

Back to All Threads