home *** CD-ROM | disk | FTP | other *** search
- 10 rem copyright 1988 compute! publications, inc. - all rights reserved
- 15 poke 53280,15:poke 53281,15:poke646,6
- 20 print"[147] copyright 1988 compute! pub., inc."
- 30 printtab(11)"all rights reserved"
- 40 print"loading in at location";
- 50 nu=peek(55)+256*peek(56)-742:gosub280
- 60 printnu;:print"[157].":poke55,lo:poke56,hi:clr
- 70 sa=peek(55)+256*peek(56):adr=sa
- 80 open15,8,15:z$=chr$(0)
- 90 open2,8,2,"error.obj,p,r"
- 100 input#15,e,e$:ife>0thenprint"disk error: "e$:close2:close15:end
- 110 get#2,a$,a$:rem get start address
- 120 get#2,a$,b$:a$=a$+z$:b$=b$+z$
- 130 pokeadr,asc(a$):pokeadr+1,asc(b$)
- 140 ifadr=sa+740then160
- 150 adr=adr+2:goto120
- 160 close2:close15:print"ok"
- 170 print"relocating... ";
- 180 fora=1to10:gosub270:gosub290
- 190 hex=hex+4:gosub320:next
- 200 fora=1to12:gosub270:gosub290:next
- 210 fora=606+sato630+sastep2
- 220 hex=a-1:gosub290:next:hex=155+sa
- 230 gosub320:he=658+sa:lo=peek(he+1)
- 240 hi=peek(he+6):nu=lo+256*hi+sa
- 250 gosub280:pokehe+1,lo:pokehe+6,hi
- 260 print"done":syssa:end
- 270 readhe:he=he+sa:return
- 280 hi=int(nu/256):lo=nu-hi*256:return
- 290 nu=peek(he+1)+256*peek(he+2)+sa
- 300 gosub280:pokehe+1,lo:pokehe+2,hi
- 310 return
- 320 nu=peek(he)+256*peek(he+2)+sa
- 330 gosub280:pokehe,lo:pokehe+2,hi
- 340 return
- 350 data 166,180,208,229,249,269,289
- 360 data 309,337,357,36,39,56,61,72,78
- 370 data 132,639,649,655,703,709
-