;;;;;e.MAP - header error screen

  .inesprg 1 ;01 x 16k prg bank
  .ineschr 0	;no chr bank
  .inesmir 1	; VERTICAL mirroring   
  .inesmap 0        

  .include "variables.h"
  .include "loader.fns"

  .bank 0
  .org $0400
  jmp START
  .org $0404    
  jmp CONTROLLER

  
START:
  jsr RenderingOff
  jsr ClearNameTable
  jsr LoadLogo

  ldy #$00
BadFileHeaderStrLoop:
  lda BadFileHeaderStr, y
  sta printString, y      ;copy 32 text chars bad file header
  iny
  cpy #$20
  bne BadFileHeaderStrLoop
  lda #$1B
  sta printY
  jsr PrintLine

  ;jsr ClearLine
  ;lda #messageDISKDUDE
  ;sta temp
  ;jsr StrCopy
  ;lda #$1C
  ;sta printY
  ;jsr PrintLine
  
  
  
  jsr RenderingOn
  jmp Forever  
  
  
BadFileHeaderStr:
  ;    12345678901234567890123456789012
  .db "        Bad File Header         "
  

  

CONTROLLER:  
  rts
  
  
  
  
  
  
  

