
This file describes what changes have been done to the original AR ROMs.

********************************
* PAL VERSION (AR version 6.0) *
********************************

*** 809f, chunk1
   -remove jsr $864f and put it after $80ab "beq L80E0" instead.
   this way the original action replay message is displayed only when
   pressing freeze (and not when resetting)

*** 80ec, chunk1
   -change jsr $8604 to jmp $813d

*** 85cd, chunk1
   -change 85d2 sta $03ff,y to sta $00ff,y
   -change 85d8 jmp $0400 to jmp $0100

*** 9db0, chunk4 startup screen

   - insert here a jump to own init screen:

      execmyinit:
             ldx #$10
      execmyinit2:
             lda execmyinit1,x
             sta $0100,x
             dex
             bpl execmyinit2
             jmp $0100

      execmyinit1:
              lda #$90
              sta $de00
              jmp $8000

   - the init screen returns to the ar rom by jumping to $9df4/chunk4,
   after setting the pressed char to $0100

*** 813e, chunk1, wait for keypress in startup screen
   -replace jsr $ffe4 (read keyboard) with lda $0100
   -$85-$88 are valid keys in the AR startup screen

*** 851d, chunk2
   -put here a jump to checkmycmd

      checkmycmd:

             ldx #$10
      checkmycmd2:
             lda checkmycmd1,x
             sta $0100,x
             dex
             bpl checkmycmd2
             jmp $0100
      
      checkmycmd1:
              lda #$90
              sta $de00
              jmp $8003

   -custom commands are terminated with:

      checkcommands3:ldx #$20
      checkcommands7:lda checkcommands6,x
                     sta $0100,x
                     dex
                     bpl checkcommands7
                     jmp $0100

      checkcommands6:lda #$08
                     sta $de00
                       lda     #$A4                            ; 851D A9 A4                    ..
                       pha                                     ; 851F 48                       H
                       lda     #$95                            ; 8520 A9 95                    ..
                       pha                                     ; 8522 48                       H
                       jmp     $84FB                           ; 8523 D0 D6                    ..

*** 8088, chunk1
   -replace and #$20 with lda #$20. this prevents pressing c= 
   while resetting activating the fastloader. this is very annoying
   on a c128 since you use the C= key to go to 64 mode and don't want to
   start the fastloader automatically.

*********************************
* NTSC VERSION (AR version 5.0) *
*********************************

*** 80e4, chunk1
   -replace jsr $8604 with nop, nop, nop

*** 80e7, chunk1
   -replace jsr $8604 with jmp execmyinit
   -execmyinit:

      execmyinit:
             ldx #$10
      execmyinit2:
             lda execmyinit1,x
             sta $0100,x
             dex
             bpl execmyinit2
             jmp $0100

      execmyinit1:
              lda #$90
              sta $de00
              jmp $8000

   - the init screen returns to the ar rom by jumping to $813d/chunk1,
   after setting the pressed char to $0100

*** 813e, chunk1, wait for keypress in startup screen
   -replace jsr $ffe4 (read keyboard) with lda $0100
   -$85-$88 are valid keys in the AR startup screen
