; StartOS.asm - This here thing eases building a buildboot file.
; Copyright Xerox Corporation 1979
; Last modified November 1, 1978  1:27 AM by Boggs

; When a newly BuildBooted OS is booted for the first time,
;  it executes this code.

	.nrel

	0		; sacrificial word for BLDR

StartOS:jsr .+1
	lda 0 c377
	add 0 3
	movs 0 0
	and 0 3		; go to page boundary
	jsr 4 3		; JuntaReturn+4 no stack yet
	  1

c377:	377

	.end