;fill memory with $ff

*=$0000
.rept 65536
    .byte $ff
.next

;load bitmaps in memory

  *=$e000
  bitmap0
    .binary .\includes\nightmar\bins\bmp0.bin
  *=$a000
  bitmap1
    .binary .\includes\nightmar\bins\bmp1a.bin
  *=$bf40
    .binary .\includes\nightmar\bins\bmp1b.bin
  *=$6000
  bitmap2
    .binary .\includes\nightmar\bins\bmp2a.bin
  *=$7e80
    .binary .\includes\nightmar\bins\bmp2b.bin

;------------------------------------------------
;fill bitmap which has sprite-pointer colors..  -
;------------------------------------------------

*=bitmap1+$1fc0
        .rept 8*8
          .byte 255
        .next
*=bitmap2+$1fc0
        .rept 8*8
          .byte 255
        .next

;------------------------------------
;write pointers to bitmap to $0000+ -
;------------------------------------

  *=$0000
  .byte <bitmap0,>bitmap0
  .byte <bitmap1,>bitmap1
  .byte <bitmap2,>bitmap2

;fill positions of sprites in memory with #$ff

.include .\includes\nightmar\source\spritepos.txt     ;load positions

*=ballsprite1a                                        ;fill positions
        .rept 64
          .byte 255
        .next
*=ballsprite1b
        .rept 64
          .byte 255
        .next
*=ballsprite1c
        .rept 64
          .byte 255
        .next
*=ballsprite1d
        .rept 64
          .byte 255
        .next
*=ballsprite1e
        .rept 64
          .byte 255
        .next
*=ballsprite1f
        .rept 64
          .byte 255
        .next
*=ballsprite1g
        .rept 64
          .byte 255
        .next
*=ballsprite1h
        .rept 64
          .byte 255
        .next
*=ballsprite2a
        .rept 64
          .byte 255
        .next
*=ballsprite2b
        .rept 64
          .byte 255
        .next
*=ballsprite2c
        .rept 64
          .byte 255
        .next
*=ballsprite2d
        .rept 64
          .byte 255
        .next
*=ballsprite2e
        .rept 64
          .byte 255
        .next
*=ballsprite2f
        .rept 64
          .byte 255
        .next
*=ballsprite2g
        .rept 64
          .byte 255
        .next
*=ballsprite2h
        .rept 64
          .byte 255
        .next
*=ballsprite3a
        .rept 64
          .byte 255
        .next
*=ballsprite3b
        .rept 64
          .byte 255
        .next
*=ballsprite3c
        .rept 64
          .byte 255
        .next
*=ballsprite3d
        .rept 64
          .byte 255
        .next
*=ballsprite3e
        .rept 64
          .byte 255
        .next
*=ballsprite3f
        .rept 64
          .byte 255
        .next
*=ballsprite3g
        .rept 64
          .byte 255
        .next
*=ballsprite3h
        .rept 64
          .byte 255
        .next
        
*=$ffff
.byte 255
