changeset 50:5f64b137c6be

Moved boot_rom to 3rdparty
author boisy
date Sat, 20 Apr 2002 13:43:09 +0000
parents 4fd75b62ccb1
children 09767531e395
files level1/modules/boot_rom.asm level1/modules/makefile
diffstat 2 files changed, 3 insertions(+), 62 deletions(-) [+]
line wrap: on
line diff
--- a/level1/modules/boot_rom.asm	Sat Apr 20 13:41:49 2002 +0000
+++ /dev/null	Thu Jan 01 00:00:00 1970 +0000
@@ -1,60 +0,0 @@
-********************************************************************
-* Boot - OS-9 Level One V2 Boot module
-*
-* $Id$
-*
-* Ed.    Comments                                       Who YY/MM/DD
-* ------------------------------------------------------------------
-* 1      Tandy/Microware original version
-
-         nam   Boot
-         ttl   OS-9 Level One V2.00 Boot module
-
-         ifp1
-         use   defsfile
-         endc
-
-tylg     set   Systm+Objct
-atrv     set   ReEnt+rev
-rev      set   $01
-edition  set   1
-
-         mod   eom,name,tylg,atrv,start,size
-
-u0000    rmb   2
-u0002    rmb   2
-u0004    rmb   1
-size     equ   .
-
-name     fcs   /Boot/
-         fcb   edition
-
-
-* obtain bootfile size at known offset
-start    pshs  u,y,x,a,b
-         leax  eom,pcr                 point to end of module
-         ldd   ,x                      get size of bootfile
-         std   ,s                      place bootfile size in A/B on stack
-* allocate memory from system
-         os9   F$SRqMem
-         bcs   Uhoh
-* copy bootfile from low RAM to allocated area
-         stu   2,s                     place address in X loc. on stack
-         ldx   #$2600+$1200            X points to bootfile in ROM
-         ldd   ,s                      get bootfile size from A/B on stack
-Loop     ldy   ,x++
-         sty   ,u++
-         subd  #2
-         bgt   Loop
-
-* Upon exit, we return to the kernel with:
-*    X = address of bootfile
-*    D = size of bootfile
-Uhoh     puls  u,y,x,a,b,pc
-
-         emod
-eom      equ   *
-
-* Size of bootfile (maximum is put here)
-         fdb   $2E00
-         end
--- a/level1/modules/makefile	Sat Apr 20 13:41:49 2002 +0000
+++ b/level1/modules/makefile	Sat Apr 20 13:43:09 2002 +0000
@@ -1,8 +1,9 @@
 include ../../Makefile.rules
 
 DEPENDS		= ./Makefile
+TPB		= ../../3rdparty/booters
 
-BOOTERS		= oscode boot_1773 boot_rom rom_vectors
+BOOTERS		= oscode boot_1773 $(TPB)/boot_rom_l1 rom_vectors
 KERNELS		= os9 os9p2
 SYSMODS		= rominfo ioman init
 CLOCKS		= clock.60hz clock.50hz
@@ -18,7 +19,7 @@
 		$(DRIVERS) $(IOSUBS) $(DESCS) $(SYSGOS)
 
 KERNEL_1773	= oscode os9 os9p2 init boot_1773
-KERNEL_ROM	= oscode os9 os9p2 init boot_rom
+KERNEL_ROM	= oscode os9 os9p2 init $(TP)/boot_rom_l1
 
 all:	$(ALLOBJS)