;;; -*- Mode:LISP; Package:USER; Base:10 -*-


;;; to load the compiler and other setup code

(load "dj:k;simulation-sysdef")


(load-k-system-unattended)
(load-k-system-on-lambda-with-defsystem)
   ;; make-system 'k-hacking       nothing is loaded by this
   ;; make-system 'fleabit
   ;; make-system 'compiler-for-k
   ;; make-system 'k-debugger

;;; if you have a k-board in your lambda

(lam:k-local-setup <mem-slot-number>)

(pkg-goto 'k-kbug)

(mega-boot)             ;; or
(mega-boot t)		;; don't rebuild cold-load

(KBUG2)

(kbug-goto 'pkg:function-to-run)