Browse Source

fixing readarc issue when reading from "flash" at address >=8000

Zeda Thomas 4 years ago
parent
commit
597b78a6a5
1 changed files with 3 additions and 1 deletions
  1. 3 1
      src/readarc.z80

+ 3 - 1
src/readarc.z80

@@ -3,7 +3,9 @@
 ;Arc, on two pages: 21n+269
 ;Arc, on three pages: 21n+355
   or a
-  jp z,ReadRAM    ;different routine in the App,
+  jp z,ReadRAM    ;different routine in the App
+  bit 7,h
+  jp nz,ReadRAM    ;different routine in the App
   out (6),a
   adc hl,bc
 ;  jr c,read_from_Arc_blocks   ;if you need this, you probably need a different routine. this will write on page 0.