kopia lustrzana https://github.com/maccasoft/z80-tools
Fixed ROM paging
rodzic
f70ae8040e
commit
ef80cbdf23
|
@ -659,6 +659,7 @@ PROCESSSECTORS
|
||||||
; 0 = SIO A, 1 = SIO B
|
; 0 = SIO A, 1 = SIO B
|
||||||
|
|
||||||
LD A, (PRIMARYIO)
|
LD A, (PRIMARYIO)
|
||||||
|
PUSH AF
|
||||||
LD HL, (0FFFEH)
|
LD HL, (0FFFEH)
|
||||||
JP (HL)
|
JP (HL)
|
||||||
|
|
||||||
|
|
|
@ -87,7 +87,7 @@ public class Emulator {
|
||||||
String s2 = preferences.getRomImage2();
|
String s2 = preferences.getRomImage2();
|
||||||
|
|
||||||
if ((s1 == null || "".equals(s1)) && (s2 == null || "".equals(s2))) {
|
if ((s1 == null || "".equals(s1)) && (s2 == null || "".equals(s2))) {
|
||||||
InputStream is = Emulator.class.getResourceAsStream("rom.bin");
|
InputStream is = Emulator.class.getResourceAsStream("ROM.BIN");
|
||||||
byte[] rom = new byte[is.available()];
|
byte[] rom = new byte[is.available()];
|
||||||
is.read(rom);
|
is.read(rom);
|
||||||
is.close();
|
is.close();
|
||||||
|
|
Plik binarny nie jest wyświetlany.
Plik binarny nie jest wyświetlany.
Ładowanie…
Reference in New Issue