home *** CD-ROM | disk | FTP | other *** search
/ Loadstar 210 / 210.d81 / b.pyramid (.txt) < prev    next >
Commodore BASIC  |  2022-08-26  |  693b  |  20 lines

  1. 0 rem pyramid boot
  2. 1 d=peek(186):ifd<8thenpoke186,8:goto1
  3. 5 ifx=0thenx=1:load"unpacker",d,1
  4. 6 ifx=1thenx=2:load"pyramid.title.shp",d,1
  5. 7 ifx=2thenx=3:load"hi-res text.o",d,1
  6. 10 poke249,224:poke250,204:                 rem screen/color
  7. 20 poke251,0:poke252,64:                    rem shp buffer
  8. 30 poke253,0:poke254,0:                     rem   x-pos,y-pos
  9. 34 print"[147]"
  10. 35 poke53281,1: rem  border to white
  11. 50 sys51456:    rem  unpack normal shp
  12. 60 sys51459:    rem  show screen
  13. 70 f$="pyramid":rem  file to load & run
  14. 75 p$=chr$(34)+"press any key"+chr$(34):   t$="sys50759,"+p$+",14*8,24*8"
  15. 80 print"[147]loadf$,d"
  16. 81 print""t$;
  17. 82 print":poke198,0:wait198,1:sys51459:run"
  18. 83 poke631,13:poke632,13:poke198,2:end
  19. 10000 d=peek(186):n$="b.pyramid":open15,d,15,"s0:"+n$:close15:saven$,d:end
  20.