From 0d2cb208a3b4a8467abdf1d61647dff4edcddbfc Mon Sep 17 00:00:00 2001 From: sinamas Date: Sun, 31 Mar 2019 23:43:59 +0200 Subject: [PATCH] test: remove some obsolete stuff --- test/hwtests/halt/halt.txt | 1 - test/hwtests/halt/lycint0_m0stat_ds_1.asm | 113 ---------------- test/hwtests/halt/lycint0_m0stat_ds_2.asm | 113 ---------------- test/hwtests/halt/lycint_lycirq_1.asm | 106 --------------- test/hwtests/halt/lycint_lycirq_2.asm | 106 --------------- test/hwtests/halt/lycint_m0stat_1.asm | 106 --------------- test/hwtests/halt/lycint_m0stat_2.asm | 106 --------------- test/hwtests/halt/lycirq98_m0stat_1.asm | 122 ------------------ test/hwtests/halt/lycirq98_m0stat_2.asm | 122 ------------------ test/hwtests/halt/lycirq_lycirq_1.asm | 107 --------------- test/hwtests/halt/lycirq_lycirq_2.asm | 107 --------------- test/hwtests/halt/lycirq_m0stat_1.asm | 110 ---------------- test/hwtests/halt/lycirq_m0stat_2.asm | 110 ---------------- test/hwtests/halt/lycirq_m0stat_ds_1.asm | 117 ----------------- test/hwtests/halt/lycirq_m0stat_ds_2.asm | 117 ----------------- test/hwtests/halt/lycirq_scy_during_m3_1.asm | 70 ---------- test/hwtests/halt/lycirq_scy_during_m3_2.asm | 71 ---------- test/hwtests/halt/lycirq_scy_during_m3_3.asm | 72 ----------- test/hwtests/halt/lycirq_scy_during_m3_4.asm | 73 ----------- test/hwtests/halt/lycirq_scy_during_m3_5.asm | 74 ----------- .../halt/lycirq_scy_during_m3_ds_1.asm | 91 ------------- .../halt/lycirq_scy_during_m3_ds_2.asm | 91 ------------- .../halt/lycirq_scy_during_m3_ds_3.asm | 91 ------------- .../halt/lycirq_scy_during_m3_ds_4.asm | 91 ------------- .../halt/lycirq_scy_during_m3_ds_5.asm | 91 ------------- .../halt/lycirq_scy_during_m3_ds_6.asm | 91 ------------- .../halt/lycirq_scy_during_m3_ds_7.asm | 91 ------------- test/hwtests/halt/m2int_m2irq_1.asm | 103 --------------- test/hwtests/halt/m2int_m2irq_2.asm | 103 --------------- test/hwtests/halt/m2int_m2stat_1.asm | 109 ---------------- test/hwtests/halt/m2int_m2stat_2.asm | 110 ---------------- test/hwtests/halt/m2irq_ly_1.asm | 105 --------------- test/hwtests/halt/m2irq_ly_2.asm | 105 --------------- test/hwtests/halt/m2irq_m2irq_1.asm | 105 --------------- test/hwtests/halt/m2irq_m2irq_2.asm | 105 --------------- test/hwtests/halt/m2irq_m2stat_1.asm | 110 ---------------- test/hwtests/halt/m2irq_m2stat_2.asm | 111 ---------------- test/hwtests/halt/m2irq_scy_during_m3_1.asm | 62 --------- test/hwtests/halt/m2irq_scy_during_m3_2.asm | 63 --------- test/hwtests/halt/m2irq_scy_during_m3_3.asm | 64 --------- test/hwtests/halt/m2irq_scy_during_m3_4.asm | 65 ---------- test/hwtests/halt/m2irq_scy_during_m3_5.asm | 66 ---------- 42 files changed, 3946 deletions(-) delete mode 100755 test/hwtests/halt/halt.txt delete mode 100644 test/hwtests/halt/lycint0_m0stat_ds_1.asm delete mode 100644 test/hwtests/halt/lycint0_m0stat_ds_2.asm delete mode 100644 test/hwtests/halt/lycint_lycirq_1.asm delete mode 100644 test/hwtests/halt/lycint_lycirq_2.asm delete mode 100644 test/hwtests/halt/lycint_m0stat_1.asm delete mode 100644 test/hwtests/halt/lycint_m0stat_2.asm delete mode 100644 test/hwtests/halt/lycirq98_m0stat_1.asm delete mode 100644 test/hwtests/halt/lycirq98_m0stat_2.asm delete mode 100644 test/hwtests/halt/lycirq_lycirq_1.asm delete mode 100644 test/hwtests/halt/lycirq_lycirq_2.asm delete mode 100644 test/hwtests/halt/lycirq_m0stat_1.asm delete mode 100644 test/hwtests/halt/lycirq_m0stat_2.asm delete mode 100644 test/hwtests/halt/lycirq_m0stat_ds_1.asm delete mode 100644 test/hwtests/halt/lycirq_m0stat_ds_2.asm delete mode 100644 test/hwtests/halt/lycirq_scy_during_m3_1.asm delete mode 100644 test/hwtests/halt/lycirq_scy_during_m3_2.asm delete mode 100644 test/hwtests/halt/lycirq_scy_during_m3_3.asm delete mode 100644 test/hwtests/halt/lycirq_scy_during_m3_4.asm delete mode 100644 test/hwtests/halt/lycirq_scy_during_m3_5.asm delete mode 100644 test/hwtests/halt/lycirq_scy_during_m3_ds_1.asm delete mode 100644 test/hwtests/halt/lycirq_scy_during_m3_ds_2.asm delete mode 100644 test/hwtests/halt/lycirq_scy_during_m3_ds_3.asm delete mode 100644 test/hwtests/halt/lycirq_scy_during_m3_ds_4.asm delete mode 100644 test/hwtests/halt/lycirq_scy_during_m3_ds_5.asm delete mode 100644 test/hwtests/halt/lycirq_scy_during_m3_ds_6.asm delete mode 100644 test/hwtests/halt/lycirq_scy_during_m3_ds_7.asm delete mode 100644 test/hwtests/halt/m2int_m2irq_1.asm delete mode 100644 test/hwtests/halt/m2int_m2irq_2.asm delete mode 100644 test/hwtests/halt/m2int_m2stat_1.asm delete mode 100644 test/hwtests/halt/m2int_m2stat_2.asm delete mode 100644 test/hwtests/halt/m2irq_ly_1.asm delete mode 100644 test/hwtests/halt/m2irq_ly_2.asm delete mode 100644 test/hwtests/halt/m2irq_m2irq_1.asm delete mode 100644 test/hwtests/halt/m2irq_m2irq_2.asm delete mode 100644 test/hwtests/halt/m2irq_m2stat_1.asm delete mode 100644 test/hwtests/halt/m2irq_m2stat_2.asm delete mode 100644 test/hwtests/halt/m2irq_scy_during_m3_1.asm delete mode 100644 test/hwtests/halt/m2irq_scy_during_m3_2.asm delete mode 100644 test/hwtests/halt/m2irq_scy_during_m3_3.asm delete mode 100644 test/hwtests/halt/m2irq_scy_during_m3_4.asm delete mode 100644 test/hwtests/halt/m2irq_scy_during_m3_5.asm diff --git a/test/hwtests/halt/halt.txt b/test/hwtests/halt/halt.txt deleted file mode 100755 index 8a5b621d..00000000 --- a/test/hwtests/halt/halt.txt +++ /dev/null @@ -1 +0,0 @@ -It seems that gbc works around the noime halt with if&ie bug (next pc byte is read twice), by autoinserting a nop after every halt. This means normal halts will take 4 cycle longer on the gbc, and noime halt with if&ie will take a total of 12 cycles (4 cycles for the halt opcode, 8 cycles for the two subsequent nops). Note that I have not done any tests on the original game boy (dmg), only on the gbc. diff --git a/test/hwtests/halt/lycint0_m0stat_ds_1.asm b/test/hwtests/halt/lycint0_m0stat_ds_1.asm deleted file mode 100644 index 24b6f9d5..00000000 --- a/test/hwtests/halt/lycint0_m0stat_ds_1.asm +++ /dev/null @@ -1,113 +0,0 @@ -.size 8000 - -.text@48 - jp lstatint - -.text@100 - jp lbegin - -.data@143 - c0 - -.text@150 -lbegin: - ld a, 00 - ldff(ff), a - ld a, 30 - ldff(00), a - ld a, 01 - ldff(4d), a - stop, 00 - ld a, ff - ldff(45), a - ld b, 93 - call lwaitly_b - ld a, 40 - ldff(41), a - ld a, 02 - ldff(ff), a - xor a, a - ldff(0f), a - ei - ldff(45), a - ld c, 41 - halt - -.text@1000 -lstatint: - nop - -.text@10d4 - ldff a, (c) - and a, 03 - jp lprint_a - -.text@7000 -lprint_a: - push af - ld b, 91 - call lwaitly_b - xor a, a - ldff(40), a - pop af - ld(9800), a - ld bc, 7a00 - ld hl, 8000 - ld d, a0 -lprint_copytiles: - ld a, (bc) - inc bc - ld(hl++), a - dec d - jrnz lprint_copytiles - ld a, c0 - ldff(47), a - ld a, 80 - ldff(68), a - ld a, ff - ldff(69), a - ldff(69), a - ldff(69), a - ldff(69), a - ldff(69), a - ldff(69), a - xor a, a - ldff(69), a - ldff(69), a - ldff(43), a - ld a, 91 - ldff(40), a -lprint_limbo: - jr lprint_limbo - -.text@7400 -lwaitly_b: - ld c, 44 -lwaitly_b_loop: - ldff a, (c) - cmp a, b - jrnz lwaitly_b_loop - ret - -.data@7a00 - 00 00 7f 7f 41 41 41 41 - 41 41 41 41 41 41 7f 7f - 00 00 08 08 08 08 08 08 - 08 08 08 08 08 08 08 08 - 00 00 7f 7f 01 01 01 01 - 7f 7f 40 40 40 40 7f 7f - 00 00 7f 7f 01 01 01 01 - 3f 3f 01 01 01 01 7f 7f - 00 00 41 41 41 41 41 41 - 7f 7f 01 01 01 01 01 01 - 00 00 7f 7f 40 40 40 40 - 7e 7e 01 01 01 01 7e 7e - 00 00 7f 7f 40 40 40 40 - 7f 7f 41 41 41 41 7f 7f - 00 00 7f 7f 01 01 02 02 - 04 04 08 08 10 10 10 10 - 00 00 3e 3e 41 41 41 41 - 3e 3e 41 41 41 41 3e 3e - 00 00 7f 7f 41 41 41 41 - 7f 7f 01 01 01 01 7f 7f - diff --git a/test/hwtests/halt/lycint0_m0stat_ds_2.asm b/test/hwtests/halt/lycint0_m0stat_ds_2.asm deleted file mode 100644 index fee46962..00000000 --- a/test/hwtests/halt/lycint0_m0stat_ds_2.asm +++ /dev/null @@ -1,113 +0,0 @@ -.size 8000 - -.text@48 - jp lstatint - -.text@100 - jp lbegin - -.data@143 - c0 - -.text@150 -lbegin: - ld a, 00 - ldff(ff), a - ld a, 30 - ldff(00), a - ld a, 01 - ldff(4d), a - stop, 00 - ld a, ff - ldff(45), a - ld b, 93 - call lwaitly_b - ld a, 40 - ldff(41), a - ld a, 02 - ldff(ff), a - xor a, a - ldff(0f), a - ei - ldff(45), a - ld c, 41 - halt - -.text@1000 -lstatint: - nop - -.text@10d5 - ldff a, (c) - and a, 03 - jp lprint_a - -.text@7000 -lprint_a: - push af - ld b, 91 - call lwaitly_b - xor a, a - ldff(40), a - pop af - ld(9800), a - ld bc, 7a00 - ld hl, 8000 - ld d, a0 -lprint_copytiles: - ld a, (bc) - inc bc - ld(hl++), a - dec d - jrnz lprint_copytiles - ld a, c0 - ldff(47), a - ld a, 80 - ldff(68), a - ld a, ff - ldff(69), a - ldff(69), a - ldff(69), a - ldff(69), a - ldff(69), a - ldff(69), a - xor a, a - ldff(69), a - ldff(69), a - ldff(43), a - ld a, 91 - ldff(40), a -lprint_limbo: - jr lprint_limbo - -.text@7400 -lwaitly_b: - ld c, 44 -lwaitly_b_loop: - ldff a, (c) - cmp a, b - jrnz lwaitly_b_loop - ret - -.data@7a00 - 00 00 7f 7f 41 41 41 41 - 41 41 41 41 41 41 7f 7f - 00 00 08 08 08 08 08 08 - 08 08 08 08 08 08 08 08 - 00 00 7f 7f 01 01 01 01 - 7f 7f 40 40 40 40 7f 7f - 00 00 7f 7f 01 01 01 01 - 3f 3f 01 01 01 01 7f 7f - 00 00 41 41 41 41 41 41 - 7f 7f 01 01 01 01 01 01 - 00 00 7f 7f 40 40 40 40 - 7e 7e 01 01 01 01 7e 7e - 00 00 7f 7f 40 40 40 40 - 7f 7f 41 41 41 41 7f 7f - 00 00 7f 7f 01 01 02 02 - 04 04 08 08 10 10 10 10 - 00 00 3e 3e 41 41 41 41 - 3e 3e 41 41 41 41 3e 3e - 00 00 7f 7f 41 41 41 41 - 7f 7f 01 01 01 01 7f 7f - diff --git a/test/hwtests/halt/lycint_lycirq_1.asm b/test/hwtests/halt/lycint_lycirq_1.asm deleted file mode 100644 index 2e145ed8..00000000 --- a/test/hwtests/halt/lycint_lycirq_1.asm +++ /dev/null @@ -1,106 +0,0 @@ -.size 8000 - -.text@48 - inc a - ldff(45), a - jp lstatint - -.text@100 - jp lbegin - -.text@150 -lbegin: - ld a, ff - ldff(45), a - ld b, 03 - call lwaitly_b - ld a, 40 - ldff(41), a - ld a, 02 - ldff(ff), a - ei - ld a, b - inc a - inc a - ldff(45), a - ld c, 0f - halt - -.text@1000 -lstatint: - nop - -.text@1062 - ldff a, (c) - and a, b - jp lprint_a - -.text@7000 -lprint_a: - push af - ld b, 91 - call lwaitly_b - xor a, a - ldff(40), a - pop af - ld(9800), a - ld bc, 7a00 - ld hl, 8000 - ld d, a0 -lprint_copytiles: - ld a, (bc) - inc bc - ld(hl++), a - dec d - jrnz lprint_copytiles - ld a, c0 - ldff(47), a - ld a, 80 - ldff(68), a - ld a, ff - ldff(69), a - ldff(69), a - ldff(69), a - ldff(69), a - ldff(69), a - ldff(69), a - xor a, a - ldff(69), a - ldff(69), a - ldff(43), a - ld a, 91 - ldff(40), a -lprint_limbo: - jr lprint_limbo - -.text@7400 -lwaitly_b: - ld c, 44 -lwaitly_b_loop: - ldff a, (c) - cmp a, b - jrnz lwaitly_b_loop - ret - -.data@7a00 - 00 00 7f 7f 41 41 41 41 - 41 41 41 41 41 41 7f 7f - 00 00 08 08 08 08 08 08 - 08 08 08 08 08 08 08 08 - 00 00 7f 7f 01 01 01 01 - 7f 7f 40 40 40 40 7f 7f - 00 00 7f 7f 01 01 01 01 - 3f 3f 01 01 01 01 7f 7f - 00 00 41 41 41 41 41 41 - 7f 7f 01 01 01 01 01 01 - 00 00 7f 7f 40 40 40 40 - 7e 7e 01 01 01 01 7e 7e - 00 00 7f 7f 40 40 40 40 - 7f 7f 41 41 41 41 7f 7f - 00 00 7f 7f 01 01 02 02 - 04 04 08 08 10 10 10 10 - 00 00 3e 3e 41 41 41 41 - 3e 3e 41 41 41 41 3e 3e - 00 00 7f 7f 41 41 41 41 - 7f 7f 01 01 01 01 7f 7f - diff --git a/test/hwtests/halt/lycint_lycirq_2.asm b/test/hwtests/halt/lycint_lycirq_2.asm deleted file mode 100644 index ca61e4f9..00000000 --- a/test/hwtests/halt/lycint_lycirq_2.asm +++ /dev/null @@ -1,106 +0,0 @@ -.size 8000 - -.text@48 - inc a - ldff(45), a - jp lstatint - -.text@100 - jp lbegin - -.text@150 -lbegin: - ld a, ff - ldff(45), a - ld b, 03 - call lwaitly_b - ld a, 40 - ldff(41), a - ld a, 02 - ldff(ff), a - ei - ld a, b - inc a - inc a - ldff(45), a - ld c, 0f - halt - -.text@1000 -lstatint: - nop - -.text@1063 - ldff a, (c) - and a, b - jp lprint_a - -.text@7000 -lprint_a: - push af - ld b, 91 - call lwaitly_b - xor a, a - ldff(40), a - pop af - ld(9800), a - ld bc, 7a00 - ld hl, 8000 - ld d, a0 -lprint_copytiles: - ld a, (bc) - inc bc - ld(hl++), a - dec d - jrnz lprint_copytiles - ld a, c0 - ldff(47), a - ld a, 80 - ldff(68), a - ld a, ff - ldff(69), a - ldff(69), a - ldff(69), a - ldff(69), a - ldff(69), a - ldff(69), a - xor a, a - ldff(69), a - ldff(69), a - ldff(43), a - ld a, 91 - ldff(40), a -lprint_limbo: - jr lprint_limbo - -.text@7400 -lwaitly_b: - ld c, 44 -lwaitly_b_loop: - ldff a, (c) - cmp a, b - jrnz lwaitly_b_loop - ret - -.data@7a00 - 00 00 7f 7f 41 41 41 41 - 41 41 41 41 41 41 7f 7f - 00 00 08 08 08 08 08 08 - 08 08 08 08 08 08 08 08 - 00 00 7f 7f 01 01 01 01 - 7f 7f 40 40 40 40 7f 7f - 00 00 7f 7f 01 01 01 01 - 3f 3f 01 01 01 01 7f 7f - 00 00 41 41 41 41 41 41 - 7f 7f 01 01 01 01 01 01 - 00 00 7f 7f 40 40 40 40 - 7e 7e 01 01 01 01 7e 7e - 00 00 7f 7f 40 40 40 40 - 7f 7f 41 41 41 41 7f 7f - 00 00 7f 7f 01 01 02 02 - 04 04 08 08 10 10 10 10 - 00 00 3e 3e 41 41 41 41 - 3e 3e 41 41 41 41 3e 3e - 00 00 7f 7f 41 41 41 41 - 7f 7f 01 01 01 01 7f 7f - diff --git a/test/hwtests/halt/lycint_m0stat_1.asm b/test/hwtests/halt/lycint_m0stat_1.asm deleted file mode 100644 index d45029b0..00000000 --- a/test/hwtests/halt/lycint_m0stat_1.asm +++ /dev/null @@ -1,106 +0,0 @@ -.size 8000 - -.text@48 - inc a - ldff(45), a - jp lstatint - -.text@100 - jp lbegin - -.text@150 -lbegin: - ld a, ff - ldff(45), a - ld b, 03 - call lwaitly_b - ld a, 40 - ldff(41), a - ld a, 02 - ldff(ff), a - ei - ld a, b - inc a - inc a - ldff(45), a - ld c, 41 - halt - -.text@1000 -lstatint: - nop - -.text@1062 - ldff a, (c) - and a, b - jp lprint_a - -.text@7000 -lprint_a: - push af - ld b, 91 - call lwaitly_b - xor a, a - ldff(40), a - pop af - ld(9800), a - ld bc, 7a00 - ld hl, 8000 - ld d, a0 -lprint_copytiles: - ld a, (bc) - inc bc - ld(hl++), a - dec d - jrnz lprint_copytiles - ld a, c0 - ldff(47), a - ld a, 80 - ldff(68), a - ld a, ff - ldff(69), a - ldff(69), a - ldff(69), a - ldff(69), a - ldff(69), a - ldff(69), a - xor a, a - ldff(69), a - ldff(69), a - ldff(43), a - ld a, 91 - ldff(40), a -lprint_limbo: - jr lprint_limbo - -.text@7400 -lwaitly_b: - ld c, 44 -lwaitly_b_loop: - ldff a, (c) - cmp a, b - jrnz lwaitly_b_loop - ret - -.data@7a00 - 00 00 7f 7f 41 41 41 41 - 41 41 41 41 41 41 7f 7f - 00 00 08 08 08 08 08 08 - 08 08 08 08 08 08 08 08 - 00 00 7f 7f 01 01 01 01 - 7f 7f 40 40 40 40 7f 7f - 00 00 7f 7f 01 01 01 01 - 3f 3f 01 01 01 01 7f 7f - 00 00 41 41 41 41 41 41 - 7f 7f 01 01 01 01 01 01 - 00 00 7f 7f 40 40 40 40 - 7e 7e 01 01 01 01 7e 7e - 00 00 7f 7f 40 40 40 40 - 7f 7f 41 41 41 41 7f 7f - 00 00 7f 7f 01 01 02 02 - 04 04 08 08 10 10 10 10 - 00 00 3e 3e 41 41 41 41 - 3e 3e 41 41 41 41 3e 3e - 00 00 7f 7f 41 41 41 41 - 7f 7f 01 01 01 01 7f 7f - diff --git a/test/hwtests/halt/lycint_m0stat_2.asm b/test/hwtests/halt/lycint_m0stat_2.asm deleted file mode 100644 index 3ce804e9..00000000 --- a/test/hwtests/halt/lycint_m0stat_2.asm +++ /dev/null @@ -1,106 +0,0 @@ -.size 8000 - -.text@48 - inc a - ldff(45), a - jp lstatint - -.text@100 - jp lbegin - -.text@150 -lbegin: - ld a, ff - ldff(45), a - ld b, 03 - call lwaitly_b - ld a, 40 - ldff(41), a - ld a, 02 - ldff(ff), a - ei - ld a, b - inc a - inc a - ldff(45), a - ld c, 41 - halt - -.text@1000 -lstatint: - nop - -.text@1063 - ldff a, (c) - and a, b - jp lprint_a - -.text@7000 -lprint_a: - push af - ld b, 91 - call lwaitly_b - xor a, a - ldff(40), a - pop af - ld(9800), a - ld bc, 7a00 - ld hl, 8000 - ld d, a0 -lprint_copytiles: - ld a, (bc) - inc bc - ld(hl++), a - dec d - jrnz lprint_copytiles - ld a, c0 - ldff(47), a - ld a, 80 - ldff(68), a - ld a, ff - ldff(69), a - ldff(69), a - ldff(69), a - ldff(69), a - ldff(69), a - ldff(69), a - xor a, a - ldff(69), a - ldff(69), a - ldff(43), a - ld a, 91 - ldff(40), a -lprint_limbo: - jr lprint_limbo - -.text@7400 -lwaitly_b: - ld c, 44 -lwaitly_b_loop: - ldff a, (c) - cmp a, b - jrnz lwaitly_b_loop - ret - -.data@7a00 - 00 00 7f 7f 41 41 41 41 - 41 41 41 41 41 41 7f 7f - 00 00 08 08 08 08 08 08 - 08 08 08 08 08 08 08 08 - 00 00 7f 7f 01 01 01 01 - 7f 7f 40 40 40 40 7f 7f - 00 00 7f 7f 01 01 01 01 - 3f 3f 01 01 01 01 7f 7f - 00 00 41 41 41 41 41 41 - 7f 7f 01 01 01 01 01 01 - 00 00 7f 7f 40 40 40 40 - 7e 7e 01 01 01 01 7e 7e - 00 00 7f 7f 40 40 40 40 - 7f 7f 41 41 41 41 7f 7f - 00 00 7f 7f 01 01 02 02 - 04 04 08 08 10 10 10 10 - 00 00 3e 3e 41 41 41 41 - 3e 3e 41 41 41 41 3e 3e - 00 00 7f 7f 41 41 41 41 - 7f 7f 01 01 01 01 7f 7f - diff --git a/test/hwtests/halt/lycirq98_m0stat_1.asm b/test/hwtests/halt/lycirq98_m0stat_1.asm deleted file mode 100644 index 44d5c787..00000000 --- a/test/hwtests/halt/lycirq98_m0stat_1.asm +++ /dev/null @@ -1,122 +0,0 @@ -.size 8000 - -.text@100 - jp lbegin - -.text@150 -lbegin: - ld d, 02 - ld b, 91 -lbegin_waitly91: - call lwaitly_b - ld a, 11 - ldff(40), a - ld a, 91 - ldff(40), a - dec d - jrnz lbegin_waitly91 - ld a, ff - ldff(45), a - ld b, 96 - call lwaitly_b - ld a, 40 - ldff(41), a - ld a, 02 - ldff(ff), a - xor a, a - ldff(0f), a - ld a, b - inc a - inc a - ldff(45), a - ld c, 41 - halt - nop - nop - nop - nop - nop - nop - nop - nop - nop - jp l1000 - -.text@1000 -l1000: - nop - -.text@11b8 - ldff a, (c) - and a, 03 - jp lprint_a - -.text@7000 -lprint_a: - push af - ld b, 91 - call lwaitly_b - xor a, a - ldff(40), a - pop af - ld(9800), a - ld bc, 7a00 - ld hl, 8000 - ld d, a0 -lprint_copytiles: - ld a, (bc) - inc bc - ld(hl++), a - dec d - jrnz lprint_copytiles - ld a, c0 - ldff(47), a - ld a, 80 - ldff(68), a - ld a, ff - ldff(69), a - ldff(69), a - ldff(69), a - ldff(69), a - ldff(69), a - ldff(69), a - xor a, a - ldff(69), a - ldff(69), a - ldff(43), a - ld a, 91 - ldff(40), a -lprint_limbo: - jr lprint_limbo - -.text@7400 -lwaitly_b: - ld c, 44 -lwaitly_b_loop: - ldff a, (c) - cmp a, b - jrnz lwaitly_b_loop - ret - -.data@7a00 - 00 00 7f 7f 41 41 41 41 - 41 41 41 41 41 41 7f 7f - 00 00 08 08 08 08 08 08 - 08 08 08 08 08 08 08 08 - 00 00 7f 7f 01 01 01 01 - 7f 7f 40 40 40 40 7f 7f - 00 00 7f 7f 01 01 01 01 - 3f 3f 01 01 01 01 7f 7f - 00 00 41 41 41 41 41 41 - 7f 7f 01 01 01 01 01 01 - 00 00 7f 7f 40 40 40 40 - 7e 7e 01 01 01 01 7e 7e - 00 00 7f 7f 40 40 40 40 - 7f 7f 41 41 41 41 7f 7f - 00 00 7f 7f 01 01 02 02 - 04 04 08 08 10 10 10 10 - 00 00 3e 3e 41 41 41 41 - 3e 3e 41 41 41 41 3e 3e - 00 00 7f 7f 41 41 41 41 - 7f 7f 01 01 01 01 7f 7f - diff --git a/test/hwtests/halt/lycirq98_m0stat_2.asm b/test/hwtests/halt/lycirq98_m0stat_2.asm deleted file mode 100644 index 1b2310d7..00000000 --- a/test/hwtests/halt/lycirq98_m0stat_2.asm +++ /dev/null @@ -1,122 +0,0 @@ -.size 8000 - -.text@100 - jp lbegin - -.text@150 -lbegin: - ld d, 02 - ld b, 91 -lbegin_waitly91: - call lwaitly_b - ld a, 11 - ldff(40), a - ld a, 91 - ldff(40), a - dec d - jrnz lbegin_waitly91 - ld a, ff - ldff(45), a - ld b, 96 - call lwaitly_b - ld a, 40 - ldff(41), a - ld a, 02 - ldff(ff), a - xor a, a - ldff(0f), a - ld a, b - inc a - inc a - ldff(45), a - ld c, 41 - halt - nop - nop - nop - nop - nop - nop - nop - nop - nop - jp l1000 - -.text@1000 -l1000: - nop - -.text@11b9 - ldff a, (c) - and a, 03 - jp lprint_a - -.text@7000 -lprint_a: - push af - ld b, 91 - call lwaitly_b - xor a, a - ldff(40), a - pop af - ld(9800), a - ld bc, 7a00 - ld hl, 8000 - ld d, a0 -lprint_copytiles: - ld a, (bc) - inc bc - ld(hl++), a - dec d - jrnz lprint_copytiles - ld a, c0 - ldff(47), a - ld a, 80 - ldff(68), a - ld a, ff - ldff(69), a - ldff(69), a - ldff(69), a - ldff(69), a - ldff(69), a - ldff(69), a - xor a, a - ldff(69), a - ldff(69), a - ldff(43), a - ld a, 91 - ldff(40), a -lprint_limbo: - jr lprint_limbo - -.text@7400 -lwaitly_b: - ld c, 44 -lwaitly_b_loop: - ldff a, (c) - cmp a, b - jrnz lwaitly_b_loop - ret - -.data@7a00 - 00 00 7f 7f 41 41 41 41 - 41 41 41 41 41 41 7f 7f - 00 00 08 08 08 08 08 08 - 08 08 08 08 08 08 08 08 - 00 00 7f 7f 01 01 01 01 - 7f 7f 40 40 40 40 7f 7f - 00 00 7f 7f 01 01 01 01 - 3f 3f 01 01 01 01 7f 7f - 00 00 41 41 41 41 41 41 - 7f 7f 01 01 01 01 01 01 - 00 00 7f 7f 40 40 40 40 - 7e 7e 01 01 01 01 7e 7e - 00 00 7f 7f 40 40 40 40 - 7f 7f 41 41 41 41 7f 7f - 00 00 7f 7f 01 01 02 02 - 04 04 08 08 10 10 10 10 - 00 00 3e 3e 41 41 41 41 - 3e 3e 41 41 41 41 3e 3e - 00 00 7f 7f 41 41 41 41 - 7f 7f 01 01 01 01 7f 7f - diff --git a/test/hwtests/halt/lycirq_lycirq_1.asm b/test/hwtests/halt/lycirq_lycirq_1.asm deleted file mode 100644 index 759829f7..00000000 --- a/test/hwtests/halt/lycirq_lycirq_1.asm +++ /dev/null @@ -1,107 +0,0 @@ -.size 8000 - -.text@100 - jp lbegin - -.text@150 -lbegin: - ld a, ff - ldff(45), a - ld b, 03 - call lwaitly_b - ld a, 40 - ldff(41), a - ld a, 02 - ldff(ff), a - ld a, b - inc a - inc a - ldff(45), a - ld c, 0f - halt - nop - inc a - ldff(45), a - xor a, a - ldff(c), a - nop - jp l1000 - -.text@1000 -l1000: - nop - -.text@1062 - ldff a, (c) - and a, b - jp lprint_a - -.text@7000 -lprint_a: - push af - ld b, 91 - call lwaitly_b - xor a, a - ldff(40), a - pop af - ld(9800), a - ld bc, 7a00 - ld hl, 8000 - ld d, a0 -lprint_copytiles: - ld a, (bc) - inc bc - ld(hl++), a - dec d - jrnz lprint_copytiles - ld a, c0 - ldff(47), a - ld a, 80 - ldff(68), a - ld a, ff - ldff(69), a - ldff(69), a - ldff(69), a - ldff(69), a - ldff(69), a - ldff(69), a - xor a, a - ldff(69), a - ldff(69), a - ldff(43), a - ld a, 91 - ldff(40), a -lprint_limbo: - jr lprint_limbo - -.text@7400 -lwaitly_b: - ld c, 44 -lwaitly_b_loop: - ldff a, (c) - cmp a, b - jrnz lwaitly_b_loop - ret - -.data@7a00 - 00 00 7f 7f 41 41 41 41 - 41 41 41 41 41 41 7f 7f - 00 00 08 08 08 08 08 08 - 08 08 08 08 08 08 08 08 - 00 00 7f 7f 01 01 01 01 - 7f 7f 40 40 40 40 7f 7f - 00 00 7f 7f 01 01 01 01 - 3f 3f 01 01 01 01 7f 7f - 00 00 41 41 41 41 41 41 - 7f 7f 01 01 01 01 01 01 - 00 00 7f 7f 40 40 40 40 - 7e 7e 01 01 01 01 7e 7e - 00 00 7f 7f 40 40 40 40 - 7f 7f 41 41 41 41 7f 7f - 00 00 7f 7f 01 01 02 02 - 04 04 08 08 10 10 10 10 - 00 00 3e 3e 41 41 41 41 - 3e 3e 41 41 41 41 3e 3e - 00 00 7f 7f 41 41 41 41 - 7f 7f 01 01 01 01 7f 7f - diff --git a/test/hwtests/halt/lycirq_lycirq_2.asm b/test/hwtests/halt/lycirq_lycirq_2.asm deleted file mode 100644 index 00b81e6c..00000000 --- a/test/hwtests/halt/lycirq_lycirq_2.asm +++ /dev/null @@ -1,107 +0,0 @@ -.size 8000 - -.text@100 - jp lbegin - -.text@150 -lbegin: - ld a, ff - ldff(45), a - ld b, 03 - call lwaitly_b - ld a, 40 - ldff(41), a - ld a, 02 - ldff(ff), a - ld a, b - inc a - inc a - ldff(45), a - ld c, 0f - halt - nop - inc a - ldff(45), a - xor a, a - ldff(c), a - nop - jp l1000 - -.text@1000 -l1000: - nop - -.text@1063 - ldff a, (c) - and a, b - jp lprint_a - -.text@7000 -lprint_a: - push af - ld b, 91 - call lwaitly_b - xor a, a - ldff(40), a - pop af - ld(9800), a - ld bc, 7a00 - ld hl, 8000 - ld d, a0 -lprint_copytiles: - ld a, (bc) - inc bc - ld(hl++), a - dec d - jrnz lprint_copytiles - ld a, c0 - ldff(47), a - ld a, 80 - ldff(68), a - ld a, ff - ldff(69), a - ldff(69), a - ldff(69), a - ldff(69), a - ldff(69), a - ldff(69), a - xor a, a - ldff(69), a - ldff(69), a - ldff(43), a - ld a, 91 - ldff(40), a -lprint_limbo: - jr lprint_limbo - -.text@7400 -lwaitly_b: - ld c, 44 -lwaitly_b_loop: - ldff a, (c) - cmp a, b - jrnz lwaitly_b_loop - ret - -.data@7a00 - 00 00 7f 7f 41 41 41 41 - 41 41 41 41 41 41 7f 7f - 00 00 08 08 08 08 08 08 - 08 08 08 08 08 08 08 08 - 00 00 7f 7f 01 01 01 01 - 7f 7f 40 40 40 40 7f 7f - 00 00 7f 7f 01 01 01 01 - 3f 3f 01 01 01 01 7f 7f - 00 00 41 41 41 41 41 41 - 7f 7f 01 01 01 01 01 01 - 00 00 7f 7f 40 40 40 40 - 7e 7e 01 01 01 01 7e 7e - 00 00 7f 7f 40 40 40 40 - 7f 7f 41 41 41 41 7f 7f - 00 00 7f 7f 01 01 02 02 - 04 04 08 08 10 10 10 10 - 00 00 3e 3e 41 41 41 41 - 3e 3e 41 41 41 41 3e 3e - 00 00 7f 7f 41 41 41 41 - 7f 7f 01 01 01 01 7f 7f - diff --git a/test/hwtests/halt/lycirq_m0stat_1.asm b/test/hwtests/halt/lycirq_m0stat_1.asm deleted file mode 100644 index 63b60f59..00000000 --- a/test/hwtests/halt/lycirq_m0stat_1.asm +++ /dev/null @@ -1,110 +0,0 @@ -.size 8000 - -.text@100 - jp lbegin - -.text@150 -lbegin: - ld a, ff - ldff(45), a - ld b, 03 - call lwaitly_b - ld a, 40 - ldff(41), a - ld a, 02 - ldff(ff), a - ld a, b - inc a - inc a - ldff(45), a - ld c, 41 - halt - nop - nop - nop - nop - nop - nop - nop - nop - nop - jp l1000 - -.text@1000 -l1000: - nop - -.text@1062 - ldff a, (c) - and a, b - jp lprint_a - -.text@7000 -lprint_a: - push af - ld b, 91 - call lwaitly_b - xor a, a - ldff(40), a - pop af - ld(9800), a - ld bc, 7a00 - ld hl, 8000 - ld d, a0 -lprint_copytiles: - ld a, (bc) - inc bc - ld(hl++), a - dec d - jrnz lprint_copytiles - ld a, c0 - ldff(47), a - ld a, 80 - ldff(68), a - ld a, ff - ldff(69), a - ldff(69), a - ldff(69), a - ldff(69), a - ldff(69), a - ldff(69), a - xor a, a - ldff(69), a - ldff(69), a - ldff(43), a - ld a, 91 - ldff(40), a -lprint_limbo: - jr lprint_limbo - -.text@7400 -lwaitly_b: - ld c, 44 -lwaitly_b_loop: - ldff a, (c) - cmp a, b - jrnz lwaitly_b_loop - ret - -.data@7a00 - 00 00 7f 7f 41 41 41 41 - 41 41 41 41 41 41 7f 7f - 00 00 08 08 08 08 08 08 - 08 08 08 08 08 08 08 08 - 00 00 7f 7f 01 01 01 01 - 7f 7f 40 40 40 40 7f 7f - 00 00 7f 7f 01 01 01 01 - 3f 3f 01 01 01 01 7f 7f - 00 00 41 41 41 41 41 41 - 7f 7f 01 01 01 01 01 01 - 00 00 7f 7f 40 40 40 40 - 7e 7e 01 01 01 01 7e 7e - 00 00 7f 7f 40 40 40 40 - 7f 7f 41 41 41 41 7f 7f - 00 00 7f 7f 01 01 02 02 - 04 04 08 08 10 10 10 10 - 00 00 3e 3e 41 41 41 41 - 3e 3e 41 41 41 41 3e 3e - 00 00 7f 7f 41 41 41 41 - 7f 7f 01 01 01 01 7f 7f - diff --git a/test/hwtests/halt/lycirq_m0stat_2.asm b/test/hwtests/halt/lycirq_m0stat_2.asm deleted file mode 100644 index 4b3e8a51..00000000 --- a/test/hwtests/halt/lycirq_m0stat_2.asm +++ /dev/null @@ -1,110 +0,0 @@ -.size 8000 - -.text@100 - jp lbegin - -.text@150 -lbegin: - ld a, ff - ldff(45), a - ld b, 03 - call lwaitly_b - ld a, 40 - ldff(41), a - ld a, 02 - ldff(ff), a - ld a, b - inc a - inc a - ldff(45), a - ld c, 41 - halt - nop - nop - nop - nop - nop - nop - nop - nop - nop - jp l1000 - -.text@1000 -l1000: - nop - -.text@1063 - ldff a, (c) - and a, b - jp lprint_a - -.text@7000 -lprint_a: - push af - ld b, 91 - call lwaitly_b - xor a, a - ldff(40), a - pop af - ld(9800), a - ld bc, 7a00 - ld hl, 8000 - ld d, a0 -lprint_copytiles: - ld a, (bc) - inc bc - ld(hl++), a - dec d - jrnz lprint_copytiles - ld a, c0 - ldff(47), a - ld a, 80 - ldff(68), a - ld a, ff - ldff(69), a - ldff(69), a - ldff(69), a - ldff(69), a - ldff(69), a - ldff(69), a - xor a, a - ldff(69), a - ldff(69), a - ldff(43), a - ld a, 91 - ldff(40), a -lprint_limbo: - jr lprint_limbo - -.text@7400 -lwaitly_b: - ld c, 44 -lwaitly_b_loop: - ldff a, (c) - cmp a, b - jrnz lwaitly_b_loop - ret - -.data@7a00 - 00 00 7f 7f 41 41 41 41 - 41 41 41 41 41 41 7f 7f - 00 00 08 08 08 08 08 08 - 08 08 08 08 08 08 08 08 - 00 00 7f 7f 01 01 01 01 - 7f 7f 40 40 40 40 7f 7f - 00 00 7f 7f 01 01 01 01 - 3f 3f 01 01 01 01 7f 7f - 00 00 41 41 41 41 41 41 - 7f 7f 01 01 01 01 01 01 - 00 00 7f 7f 40 40 40 40 - 7e 7e 01 01 01 01 7e 7e - 00 00 7f 7f 40 40 40 40 - 7f 7f 41 41 41 41 7f 7f - 00 00 7f 7f 01 01 02 02 - 04 04 08 08 10 10 10 10 - 00 00 3e 3e 41 41 41 41 - 3e 3e 41 41 41 41 3e 3e - 00 00 7f 7f 41 41 41 41 - 7f 7f 01 01 01 01 7f 7f - diff --git a/test/hwtests/halt/lycirq_m0stat_ds_1.asm b/test/hwtests/halt/lycirq_m0stat_ds_1.asm deleted file mode 100644 index 1b3f1474..00000000 --- a/test/hwtests/halt/lycirq_m0stat_ds_1.asm +++ /dev/null @@ -1,117 +0,0 @@ -.size 8000 - -.text@100 - jp lbegin - -.data@143 - c0 - -.text@150 -lbegin: - ld a, 00 - ldff(ff), a - ld a, 30 - ldff(00), a - ld a, 01 - ldff(4d), a - stop, 00 - ld a, ff - ldff(45), a - ld b, 03 - call lwaitly_b - ld a, 40 - ldff(41), a - ld a, 02 - ldff(ff), a - xor a, a - ldff(0f), a - ld a, b - inc a - inc a - ldff(45), a - ld c, 41 - halt - nop - nop - nop - nop - jp l1000 - -.text@1000 -l1000: - nop - -.text@10d9 - ldff a, (c) - and a, b - jp lprint_a - -.text@7000 -lprint_a: - push af - ld b, 91 - call lwaitly_b - xor a, a - ldff(40), a - pop af - ld(9800), a - ld bc, 7a00 - ld hl, 8000 - ld d, a0 -lprint_copytiles: - ld a, (bc) - inc bc - ld(hl++), a - dec d - jrnz lprint_copytiles - ld a, c0 - ldff(47), a - ld a, 80 - ldff(68), a - ld a, ff - ldff(69), a - ldff(69), a - ldff(69), a - ldff(69), a - ldff(69), a - ldff(69), a - xor a, a - ldff(69), a - ldff(69), a - ldff(43), a - ld a, 91 - ldff(40), a -lprint_limbo: - jr lprint_limbo - -.text@7400 -lwaitly_b: - ld c, 44 -lwaitly_b_loop: - ldff a, (c) - cmp a, b - jrnz lwaitly_b_loop - ret - -.data@7a00 - 00 00 7f 7f 41 41 41 41 - 41 41 41 41 41 41 7f 7f - 00 00 08 08 08 08 08 08 - 08 08 08 08 08 08 08 08 - 00 00 7f 7f 01 01 01 01 - 7f 7f 40 40 40 40 7f 7f - 00 00 7f 7f 01 01 01 01 - 3f 3f 01 01 01 01 7f 7f - 00 00 41 41 41 41 41 41 - 7f 7f 01 01 01 01 01 01 - 00 00 7f 7f 40 40 40 40 - 7e 7e 01 01 01 01 7e 7e - 00 00 7f 7f 40 40 40 40 - 7f 7f 41 41 41 41 7f 7f - 00 00 7f 7f 01 01 02 02 - 04 04 08 08 10 10 10 10 - 00 00 3e 3e 41 41 41 41 - 3e 3e 41 41 41 41 3e 3e - 00 00 7f 7f 41 41 41 41 - 7f 7f 01 01 01 01 7f 7f - diff --git a/test/hwtests/halt/lycirq_m0stat_ds_2.asm b/test/hwtests/halt/lycirq_m0stat_ds_2.asm deleted file mode 100644 index 6ac98787..00000000 --- a/test/hwtests/halt/lycirq_m0stat_ds_2.asm +++ /dev/null @@ -1,117 +0,0 @@ -.size 8000 - -.text@100 - jp lbegin - -.data@143 - c0 - -.text@150 -lbegin: - ld a, 00 - ldff(ff), a - ld a, 30 - ldff(00), a - ld a, 01 - ldff(4d), a - stop, 00 - ld a, ff - ldff(45), a - ld b, 03 - call lwaitly_b - ld a, 40 - ldff(41), a - ld a, 02 - ldff(ff), a - xor a, a - ldff(0f), a - ld a, b - inc a - inc a - ldff(45), a - ld c, 41 - halt - nop - nop - nop - nop - jp l1000 - -.text@1000 -l1000: - nop - -.text@10da - ldff a, (c) - and a, b - jp lprint_a - -.text@7000 -lprint_a: - push af - ld b, 91 - call lwaitly_b - xor a, a - ldff(40), a - pop af - ld(9800), a - ld bc, 7a00 - ld hl, 8000 - ld d, a0 -lprint_copytiles: - ld a, (bc) - inc bc - ld(hl++), a - dec d - jrnz lprint_copytiles - ld a, c0 - ldff(47), a - ld a, 80 - ldff(68), a - ld a, ff - ldff(69), a - ldff(69), a - ldff(69), a - ldff(69), a - ldff(69), a - ldff(69), a - xor a, a - ldff(69), a - ldff(69), a - ldff(43), a - ld a, 91 - ldff(40), a -lprint_limbo: - jr lprint_limbo - -.text@7400 -lwaitly_b: - ld c, 44 -lwaitly_b_loop: - ldff a, (c) - cmp a, b - jrnz lwaitly_b_loop - ret - -.data@7a00 - 00 00 7f 7f 41 41 41 41 - 41 41 41 41 41 41 7f 7f - 00 00 08 08 08 08 08 08 - 08 08 08 08 08 08 08 08 - 00 00 7f 7f 01 01 01 01 - 7f 7f 40 40 40 40 7f 7f - 00 00 7f 7f 01 01 01 01 - 3f 3f 01 01 01 01 7f 7f - 00 00 41 41 41 41 41 41 - 7f 7f 01 01 01 01 01 01 - 00 00 7f 7f 40 40 40 40 - 7e 7e 01 01 01 01 7e 7e - 00 00 7f 7f 40 40 40 40 - 7f 7f 41 41 41 41 7f 7f - 00 00 7f 7f 01 01 02 02 - 04 04 08 08 10 10 10 10 - 00 00 3e 3e 41 41 41 41 - 3e 3e 41 41 41 41 3e 3e - 00 00 7f 7f 41 41 41 41 - 7f 7f 01 01 01 01 7f 7f - diff --git a/test/hwtests/halt/lycirq_scy_during_m3_1.asm b/test/hwtests/halt/lycirq_scy_during_m3_1.asm deleted file mode 100644 index e2e84b87..00000000 --- a/test/hwtests/halt/lycirq_scy_during_m3_1.asm +++ /dev/null @@ -1,70 +0,0 @@ -.size 8000 - -.text@100 - jp lbegin - -.text@150 -lbegin: - ld c, 44 - ld b, 90 -lbegin_waitvblank: - ldff a, (c) - cmp a, b - jrnz lbegin_waitvblank - ld hl, 8010 - ld a, ff - ld(hl++), a - ld(hl++), a - ld a, 01 - ld b, 32 - ld hl, 9a40 -lbegin_settilemap: - ld(hl++), a - dec b - jrnz lbegin_settilemap - ld a, c0 - ldff(47), a - ld c, 41 - ld b, 03 -lbegin_waitm3: - ldff a, (c) - and a, b - cmp a, b - jrnz lbegin_waitm3 - xor a, a - ldff(45), a - ld a, 40 - ldff(c), a - ld a, 02 - ldff(ff), a - ld c, 42 - ld b, 90 -lwait_lycirq: - halt - xor a, a - ldff(0f), a - jp llycint - -.text@1000 -llycint: - nop - nop - nop - ldff a, (44) - ld d, a - ld a, b - sub a, d - ldff(c), a - xor a, a - -.text@1030 - ldff(c), a - ld a, d - inc a - cmp a, b - jrnz llycint_waitlya - xor a, a -llycint_waitlya: - ldff(45), a - jp lwait_lycirq - diff --git a/test/hwtests/halt/lycirq_scy_during_m3_2.asm b/test/hwtests/halt/lycirq_scy_during_m3_2.asm deleted file mode 100644 index 05af6c48..00000000 --- a/test/hwtests/halt/lycirq_scy_during_m3_2.asm +++ /dev/null @@ -1,71 +0,0 @@ -.size 8000 - -.text@100 - jp lbegin - -.text@150 -lbegin: - ld c, 44 - ld b, 90 -lbegin_waitvblank: - ldff a, (c) - cmp a, b - jrnz lbegin_waitvblank - ld hl, 8010 - ld a, ff - ld(hl++), a - ld(hl++), a - ld a, 01 - ld b, 32 - ld hl, 9a40 -lbegin_settilemap: - ld(hl++), a - dec b - jrnz lbegin_settilemap - ld a, c0 - ldff(47), a - ld c, 41 - ld b, 03 -lbegin_waitm3: - ldff a, (c) - and a, b - cmp a, b - jrnz lbegin_waitm3 - xor a, a - ldff(45), a - ld a, 40 - ldff(c), a - ld a, 02 - ldff(ff), a - ld c, 42 - ld b, 90 -lwait_lycirq: - halt - xor a, a - ldff(0f), a - jp llycint - -.text@1000 -llycint: - nop - nop - nop - nop - ldff a, (44) - ld d, a - ld a, b - sub a, d - ldff(c), a - xor a, a - -.text@102f - ldff(c), a - ld a, d - inc a - cmp a, b - jrnz llycint_waitlya - xor a, a -llycint_waitlya: - ldff(45), a - jp lwait_lycirq - diff --git a/test/hwtests/halt/lycirq_scy_during_m3_3.asm b/test/hwtests/halt/lycirq_scy_during_m3_3.asm deleted file mode 100644 index ba28d9b3..00000000 --- a/test/hwtests/halt/lycirq_scy_during_m3_3.asm +++ /dev/null @@ -1,72 +0,0 @@ -.size 8000 - -.text@100 - jp lbegin - -.text@150 -lbegin: - ld c, 44 - ld b, 90 -lbegin_waitvblank: - ldff a, (c) - cmp a, b - jrnz lbegin_waitvblank - ld hl, 8010 - ld a, ff - ld(hl++), a - ld(hl++), a - ld a, 01 - ld b, 32 - ld hl, 9a40 -lbegin_settilemap: - ld(hl++), a - dec b - jrnz lbegin_settilemap - ld a, c0 - ldff(47), a - ld c, 41 - ld b, 03 -lbegin_waitm3: - ldff a, (c) - and a, b - cmp a, b - jrnz lbegin_waitm3 - xor a, a - ldff(45), a - ld a, 40 - ldff(c), a - ld a, 02 - ldff(ff), a - ld c, 42 - ld b, 90 -lwait_lycirq: - halt - xor a, a - ldff(0f), a - jp llycint - -.text@1000 -llycint: - nop - nop - nop - nop - nop - ldff a, (44) - ld d, a - ld a, b - sub a, d - ldff(c), a - xor a, a - -.text@102e - ldff(c), a - ld a, d - inc a - cmp a, b - jrnz llycint_waitlya - xor a, a -llycint_waitlya: - ldff(45), a - jp lwait_lycirq - diff --git a/test/hwtests/halt/lycirq_scy_during_m3_4.asm b/test/hwtests/halt/lycirq_scy_during_m3_4.asm deleted file mode 100644 index c2a63b83..00000000 --- a/test/hwtests/halt/lycirq_scy_during_m3_4.asm +++ /dev/null @@ -1,73 +0,0 @@ -.size 8000 - -.text@100 - jp lbegin - -.text@150 -lbegin: - ld c, 44 - ld b, 90 -lbegin_waitvblank: - ldff a, (c) - cmp a, b - jrnz lbegin_waitvblank - ld hl, 8010 - ld a, ff - ld(hl++), a - ld(hl++), a - ld a, 01 - ld b, 32 - ld hl, 9a40 -lbegin_settilemap: - ld(hl++), a - dec b - jrnz lbegin_settilemap - ld a, c0 - ldff(47), a - ld c, 41 - ld b, 03 -lbegin_waitm3: - ldff a, (c) - and a, b - cmp a, b - jrnz lbegin_waitm3 - xor a, a - ldff(45), a - ld a, 40 - ldff(c), a - ld a, 02 - ldff(ff), a - ld c, 42 - ld b, 90 -lwait_lycirq: - halt - xor a, a - ldff(0f), a - jp llycint - -.text@1000 -llycint: - nop - nop - nop - nop - nop - nop - ldff a, (44) - ld d, a - ld a, b - sub a, d - ldff(c), a - xor a, a - -.text@102d - ldff(c), a - ld a, d - inc a - cmp a, b - jrnz llycint_waitlya - xor a, a -llycint_waitlya: - ldff(45), a - jp lwait_lycirq - diff --git a/test/hwtests/halt/lycirq_scy_during_m3_5.asm b/test/hwtests/halt/lycirq_scy_during_m3_5.asm deleted file mode 100644 index 5c021612..00000000 --- a/test/hwtests/halt/lycirq_scy_during_m3_5.asm +++ /dev/null @@ -1,74 +0,0 @@ -.size 8000 - -.text@100 - jp lbegin - -.text@150 -lbegin: - ld c, 44 - ld b, 90 -lbegin_waitvblank: - ldff a, (c) - cmp a, b - jrnz lbegin_waitvblank - ld hl, 8010 - ld a, ff - ld(hl++), a - ld(hl++), a - ld a, 01 - ld b, 32 - ld hl, 9a40 -lbegin_settilemap: - ld(hl++), a - dec b - jrnz lbegin_settilemap - ld a, c0 - ldff(47), a - ld c, 41 - ld b, 03 -lbegin_waitm3: - ldff a, (c) - and a, b - cmp a, b - jrnz lbegin_waitm3 - xor a, a - ldff(45), a - ld a, 40 - ldff(c), a - ld a, 02 - ldff(ff), a - ld c, 42 - ld b, 90 -lwait_lycirq: - halt - xor a, a - ldff(0f), a - jp llycint - -.text@1000 -llycint: - nop - nop - nop - nop - nop - nop - nop - ldff a, (44) - ld d, a - ld a, b - sub a, d - ldff(c), a - xor a, a - -.text@102c - ldff(c), a - ld a, d - inc a - cmp a, b - jrnz llycint_waitlya - xor a, a -llycint_waitlya: - ldff(45), a - jp lwait_lycirq - diff --git a/test/hwtests/halt/lycirq_scy_during_m3_ds_1.asm b/test/hwtests/halt/lycirq_scy_during_m3_ds_1.asm deleted file mode 100644 index 29a6178d..00000000 --- a/test/hwtests/halt/lycirq_scy_during_m3_ds_1.asm +++ /dev/null @@ -1,91 +0,0 @@ -.size 8000 - -.text@100 - jp lbegin - -.data@143 - c0 - -.text@150 -lbegin: - ld a, 00 - ldff(ff), a - ld a, 30 - ldff(00), a - ld a, 01 - ldff(4d), a - stop, 00 - ld c, 44 - ld b, 90 -lbegin_waitly90: - ldff a, (c) - cmp a, b - jrnz lbegin_waitly90 - ld hl, 8010 - ld a, ff - ld(hl++), a - ld(hl++), a - ld a, 01 - ld b, 32 - ld hl, 9a40 -lbegin_settilemap: - ld(hl++), a - dec b - jrnz lbegin_settilemap - ld a, 80 - ldff(68), a - ld a, ff - ld c, 69 - ldff(c), a - ldff(c), a - ldff(c), a - ldff(c), a - ldff(c), a - ldff(c), a - xor a, a - ldff(c), a - ldff(c), a - ld c, 41 - ld b, 03 -lbegin_waitm3: - ldff a, (c) - and a, b - cmp a, b - jrnz lbegin_waitm3 - xor a, a - ldff(45), a - ld a, 40 - ldff(c), a - ld a, 02 - ldff(ff), a - ld c, 42 - ld b, 90 -lwait_lycirq: - halt - xor a, a - ldff(0f), a - jp llycint - -.text@1000 -llycint: - nop - -.text@1017 - ldff a, (44) - ld d, a - ld a, b - sub a, d - ldff(c), a - xor a, a - -.text@106a - ldff(c), a - ld a, d - inc a - cmp a, b - jrnz llycint_waitlya - xor a, a -llycint_waitlya: - ldff(45), a - jp lwait_lycirq - diff --git a/test/hwtests/halt/lycirq_scy_during_m3_ds_2.asm b/test/hwtests/halt/lycirq_scy_during_m3_ds_2.asm deleted file mode 100644 index 8b1656cf..00000000 --- a/test/hwtests/halt/lycirq_scy_during_m3_ds_2.asm +++ /dev/null @@ -1,91 +0,0 @@ -.size 8000 - -.text@100 - jp lbegin - -.data@143 - c0 - -.text@150 -lbegin: - ld a, 00 - ldff(ff), a - ld a, 30 - ldff(00), a - ld a, 01 - ldff(4d), a - stop, 00 - ld c, 44 - ld b, 90 -lbegin_waitly90: - ldff a, (c) - cmp a, b - jrnz lbegin_waitly90 - ld hl, 8010 - ld a, ff - ld(hl++), a - ld(hl++), a - ld a, 01 - ld b, 32 - ld hl, 9a40 -lbegin_settilemap: - ld(hl++), a - dec b - jrnz lbegin_settilemap - ld a, 80 - ldff(68), a - ld a, ff - ld c, 69 - ldff(c), a - ldff(c), a - ldff(c), a - ldff(c), a - ldff(c), a - ldff(c), a - xor a, a - ldff(c), a - ldff(c), a - ld c, 41 - ld b, 03 -lbegin_waitm3: - ldff a, (c) - and a, b - cmp a, b - jrnz lbegin_waitm3 - xor a, a - ldff(45), a - ld a, 40 - ldff(c), a - ld a, 02 - ldff(ff), a - ld c, 42 - ld b, 90 -lwait_lycirq: - halt - xor a, a - ldff(0f), a - jp llycint - -.text@1000 -llycint: - nop - -.text@1018 - ldff a, (44) - ld d, a - ld a, b - sub a, d - ldff(c), a - xor a, a - -.text@1069 - ldff(c), a - ld a, d - inc a - cmp a, b - jrnz llycint_waitlya - xor a, a -llycint_waitlya: - ldff(45), a - jp lwait_lycirq - diff --git a/test/hwtests/halt/lycirq_scy_during_m3_ds_3.asm b/test/hwtests/halt/lycirq_scy_during_m3_ds_3.asm deleted file mode 100644 index 8242eae4..00000000 --- a/test/hwtests/halt/lycirq_scy_during_m3_ds_3.asm +++ /dev/null @@ -1,91 +0,0 @@ -.size 8000 - -.text@100 - jp lbegin - -.data@143 - c0 - -.text@150 -lbegin: - ld a, 00 - ldff(ff), a - ld a, 30 - ldff(00), a - ld a, 01 - ldff(4d), a - stop, 00 - ld c, 44 - ld b, 90 -lbegin_waitly90: - ldff a, (c) - cmp a, b - jrnz lbegin_waitly90 - ld hl, 8010 - ld a, ff - ld(hl++), a - ld(hl++), a - ld a, 01 - ld b, 32 - ld hl, 9a40 -lbegin_settilemap: - ld(hl++), a - dec b - jrnz lbegin_settilemap - ld a, 80 - ldff(68), a - ld a, ff - ld c, 69 - ldff(c), a - ldff(c), a - ldff(c), a - ldff(c), a - ldff(c), a - ldff(c), a - xor a, a - ldff(c), a - ldff(c), a - ld c, 41 - ld b, 03 -lbegin_waitm3: - ldff a, (c) - and a, b - cmp a, b - jrnz lbegin_waitm3 - xor a, a - ldff(45), a - ld a, 40 - ldff(c), a - ld a, 02 - ldff(ff), a - ld c, 42 - ld b, 90 -lwait_lycirq: - halt - xor a, a - ldff(0f), a - jp llycint - -.text@1000 -llycint: - nop - -.text@1019 - ldff a, (44) - ld d, a - ld a, b - sub a, d - ldff(c), a - xor a, a - -.text@1068 - ldff(c), a - ld a, d - inc a - cmp a, b - jrnz llycint_waitlya - xor a, a -llycint_waitlya: - ldff(45), a - jp lwait_lycirq - diff --git a/test/hwtests/halt/lycirq_scy_during_m3_ds_4.asm b/test/hwtests/halt/lycirq_scy_during_m3_ds_4.asm deleted file mode 100644 index 401cdcd6..00000000 --- a/test/hwtests/halt/lycirq_scy_during_m3_ds_4.asm +++ /dev/null @@ -1,91 +0,0 @@ -.size 8000 - -.text@100 - jp lbegin - -.data@143 - c0 - -.text@150 -lbegin: - ld a, 00 - ldff(ff), a - ld a, 30 - ldff(00), a - ld a, 01 - ldff(4d), a - stop, 00 - ld c, 44 - ld b, 90 -lbegin_waitly90: - ldff a, (c) - cmp a, b - jrnz lbegin_waitly90 - ld hl, 8010 - ld a, ff - ld(hl++), a - ld(hl++), a - ld a, 01 - ld b, 32 - ld hl, 9a40 -lbegin_settilemap: - ld(hl++), a - dec b - jrnz lbegin_settilemap - ld a, 80 - ldff(68), a - ld a, ff - ld c, 69 - ldff(c), a - ldff(c), a - ldff(c), a - ldff(c), a - ldff(c), a - ldff(c), a - xor a, a - ldff(c), a - ldff(c), a - ld c, 41 - ld b, 03 -lbegin_waitm3: - ldff a, (c) - and a, b - cmp a, b - jrnz lbegin_waitm3 - xor a, a - ldff(45), a - ld a, 40 - ldff(c), a - ld a, 02 - ldff(ff), a - ld c, 42 - ld b, 90 -lwait_lycirq: - halt - xor a, a - ldff(0f), a - jp llycint - -.text@1000 -llycint: - nop - -.text@101a - ldff a, (44) - ld d, a - ld a, b - sub a, d - ldff(c), a - xor a, a - -.text@1067 - ldff(c), a - ld a, d - inc a - cmp a, b - jrnz llycint_waitlya - xor a, a -llycint_waitlya: - ldff(45), a - jp lwait_lycirq - diff --git a/test/hwtests/halt/lycirq_scy_during_m3_ds_5.asm b/test/hwtests/halt/lycirq_scy_during_m3_ds_5.asm deleted file mode 100644 index d056aed6..00000000 --- a/test/hwtests/halt/lycirq_scy_during_m3_ds_5.asm +++ /dev/null @@ -1,91 +0,0 @@ -.size 8000 - -.text@100 - jp lbegin - -.data@143 - c0 - -.text@150 -lbegin: - ld a, 00 - ldff(ff), a - ld a, 30 - ldff(00), a - ld a, 01 - ldff(4d), a - stop, 00 - ld c, 44 - ld b, 90 -lbegin_waitly90: - ldff a, (c) - cmp a, b - jrnz lbegin_waitly90 - ld hl, 8010 - ld a, ff - ld(hl++), a - ld(hl++), a - ld a, 01 - ld b, 32 - ld hl, 9a40 -lbegin_settilemap: - ld(hl++), a - dec b - jrnz lbegin_settilemap - ld a, 80 - ldff(68), a - ld a, ff - ld c, 69 - ldff(c), a - ldff(c), a - ldff(c), a - ldff(c), a - ldff(c), a - ldff(c), a - xor a, a - ldff(c), a - ldff(c), a - ld c, 41 - ld b, 03 -lbegin_waitm3: - ldff a, (c) - and a, b - cmp a, b - jrnz lbegin_waitm3 - xor a, a - ldff(45), a - ld a, 40 - ldff(c), a - ld a, 02 - ldff(ff), a - ld c, 42 - ld b, 90 -lwait_lycirq: - halt - xor a, a - ldff(0f), a - jp llycint - -.text@1000 -llycint: - nop - -.text@101b - ldff a, (44) - ld d, a - ld a, b - sub a, d - ldff(c), a - xor a, a - -.text@1066 - ldff(c), a - ld a, d - inc a - cmp a, b - jrnz llycint_waitlya - xor a, a -llycint_waitlya: - ldff(45), a - jp lwait_lycirq - diff --git a/test/hwtests/halt/lycirq_scy_during_m3_ds_6.asm b/test/hwtests/halt/lycirq_scy_during_m3_ds_6.asm deleted file mode 100644 index ef6a2a34..00000000 --- a/test/hwtests/halt/lycirq_scy_during_m3_ds_6.asm +++ /dev/null @@ -1,91 +0,0 @@ -.size 8000 - -.text@100 - jp lbegin - -.data@143 - c0 - -.text@150 -lbegin: - ld a, 00 - ldff(ff), a - ld a, 30 - ldff(00), a - ld a, 01 - ldff(4d), a - stop, 00 - ld c, 44 - ld b, 90 -lbegin_waitly90: - ldff a, (c) - cmp a, b - jrnz lbegin_waitly90 - ld hl, 8010 - ld a, ff - ld(hl++), a - ld(hl++), a - ld a, 01 - ld b, 32 - ld hl, 9a40 -lbegin_settilemap: - ld(hl++), a - dec b - jrnz lbegin_settilemap - ld a, 80 - ldff(68), a - ld a, ff - ld c, 69 - ldff(c), a - ldff(c), a - ldff(c), a - ldff(c), a - ldff(c), a - ldff(c), a - xor a, a - ldff(c), a - ldff(c), a - ld c, 41 - ld b, 03 -lbegin_waitm3: - ldff a, (c) - and a, b - cmp a, b - jrnz lbegin_waitm3 - xor a, a - ldff(45), a - ld a, 40 - ldff(c), a - ld a, 02 - ldff(ff), a - ld c, 42 - ld b, 90 -lwait_lycirq: - halt - xor a, a - ldff(0f), a - jp llycint - -.text@1000 -llycint: - nop - -.text@101c - ldff a, (44) - ld d, a - ld a, b - sub a, d - ldff(c), a - xor a, a - -.text@1065 - ldff(c), a - ld a, d - inc a - cmp a, b - jrnz llycint_waitlya - xor a, a -llycint_waitlya: - ldff(45), a - jp lwait_lycirq - diff --git a/test/hwtests/halt/lycirq_scy_during_m3_ds_7.asm b/test/hwtests/halt/lycirq_scy_during_m3_ds_7.asm deleted file mode 100644 index 19ef6fc2..00000000 --- a/test/hwtests/halt/lycirq_scy_during_m3_ds_7.asm +++ /dev/null @@ -1,91 +0,0 @@ -.size 8000 - -.text@100 - jp lbegin - -.data@143 - c0 - -.text@150 -lbegin: - ld a, 00 - ldff(ff), a - ld a, 30 - ldff(00), a - ld a, 01 - ldff(4d), a - stop, 00 - ld c, 44 - ld b, 90 -lbegin_waitly90: - ldff a, (c) - cmp a, b - jrnz lbegin_waitly90 - ld hl, 8010 - ld a, ff - ld(hl++), a - ld(hl++), a - ld a, 01 - ld b, 32 - ld hl, 9a40 -lbegin_settilemap: - ld(hl++), a - dec b - jrnz lbegin_settilemap - ld a, 80 - ldff(68), a - ld a, ff - ld c, 69 - ldff(c), a - ldff(c), a - ldff(c), a - ldff(c), a - ldff(c), a - ldff(c), a - xor a, a - ldff(c), a - ldff(c), a - ld c, 41 - ld b, 03 -lbegin_waitm3: - ldff a, (c) - and a, b - cmp a, b - jrnz lbegin_waitm3 - xor a, a - ldff(45), a - ld a, 40 - ldff(c), a - ld a, 02 - ldff(ff), a - ld c, 42 - ld b, 90 -lwait_lycirq: - halt - xor a, a - ldff(0f), a - jp llycint - -.text@1000 -llycint: - nop - -.text@101d - ldff a, (44) - ld d, a - ld a, b - sub a, d - ldff(c), a - xor a, a - -.text@1064 - ldff(c), a - ld a, d - inc a - cmp a, b - jrnz llycint_waitlya - xor a, a -llycint_waitlya: - ldff(45), a - jp lwait_lycirq - diff --git a/test/hwtests/halt/m2int_m2irq_1.asm b/test/hwtests/halt/m2int_m2irq_1.asm deleted file mode 100644 index 29df7320..00000000 --- a/test/hwtests/halt/m2int_m2irq_1.asm +++ /dev/null @@ -1,103 +0,0 @@ -.size 8000 - -.text@48 - jp lstatint - -.text@100 - jp lbegin - -.text@150 -lbegin: - ld c, 41 - ld b, 03 -lbegin_waitm3: - ldff a, (c) - and a, b - cmp a, b - jrnz lbegin_waitm3 - ld a, 20 - ldff(c), a - ld a, 02 - ldff(ff), a - ei - ld c, 0f - halt - -.text@1000 -lstatint: - nop - -.text@1066 - ldff a, (c) - and a, b - jp lprint_a - -.text@7000 -lprint_a: - push af - ld b, 91 - call lwaitly_b - xor a, a - ldff(40), a - pop af - ld(9800), a - ld bc, 7a00 - ld hl, 8000 - ld d, a0 -lprint_copytiles: - ld a, (bc) - inc bc - ld(hl++), a - dec d - jrnz lprint_copytiles - ld a, c0 - ldff(47), a - ld a, 80 - ldff(68), a - ld a, ff - ldff(69), a - ldff(69), a - ldff(69), a - ldff(69), a - ldff(69), a - ldff(69), a - xor a, a - ldff(69), a - ldff(69), a - ldff(43), a - ld a, 91 - ldff(40), a -lprint_limbo: - jr lprint_limbo - -.text@7400 -lwaitly_b: - ld c, 44 -lwaitly_b_loop: - ldff a, (c) - cmp a, b - jrnz lwaitly_b_loop - ret - -.data@7a00 - 00 00 7f 7f 41 41 41 41 - 41 41 41 41 41 41 7f 7f - 00 00 08 08 08 08 08 08 - 08 08 08 08 08 08 08 08 - 00 00 7f 7f 01 01 01 01 - 7f 7f 40 40 40 40 7f 7f - 00 00 7f 7f 01 01 01 01 - 3f 3f 01 01 01 01 7f 7f - 00 00 41 41 41 41 41 41 - 7f 7f 01 01 01 01 01 01 - 00 00 7f 7f 40 40 40 40 - 7e 7e 01 01 01 01 7e 7e - 00 00 7f 7f 40 40 40 40 - 7f 7f 41 41 41 41 7f 7f - 00 00 7f 7f 01 01 02 02 - 04 04 08 08 10 10 10 10 - 00 00 3e 3e 41 41 41 41 - 3e 3e 41 41 41 41 3e 3e - 00 00 7f 7f 41 41 41 41 - 7f 7f 01 01 01 01 7f 7f - diff --git a/test/hwtests/halt/m2int_m2irq_2.asm b/test/hwtests/halt/m2int_m2irq_2.asm deleted file mode 100644 index b6bc7159..00000000 --- a/test/hwtests/halt/m2int_m2irq_2.asm +++ /dev/null @@ -1,103 +0,0 @@ -.size 8000 - -.text@48 - jp lstatint - -.text@100 - jp lbegin - -.text@150 -lbegin: - ld c, 41 - ld b, 03 -lbegin_waitm3: - ldff a, (c) - and a, b - cmp a, b - jrnz lbegin_waitm3 - ld a, 20 - ldff(c), a - ld a, 02 - ldff(ff), a - ei - ld c, 0f - halt - -.text@1000 -lstatint: - nop - -.text@1067 - ldff a, (c) - and a, b - jp lprint_a - -.text@7000 -lprint_a: - push af - ld b, 91 - call lwaitly_b - xor a, a - ldff(40), a - pop af - ld(9800), a - ld bc, 7a00 - ld hl, 8000 - ld d, a0 -lprint_copytiles: - ld a, (bc) - inc bc - ld(hl++), a - dec d - jrnz lprint_copytiles - ld a, c0 - ldff(47), a - ld a, 80 - ldff(68), a - ld a, ff - ldff(69), a - ldff(69), a - ldff(69), a - ldff(69), a - ldff(69), a - ldff(69), a - xor a, a - ldff(69), a - ldff(69), a - ldff(43), a - ld a, 91 - ldff(40), a -lprint_limbo: - jr lprint_limbo - -.text@7400 -lwaitly_b: - ld c, 44 -lwaitly_b_loop: - ldff a, (c) - cmp a, b - jrnz lwaitly_b_loop - ret - -.data@7a00 - 00 00 7f 7f 41 41 41 41 - 41 41 41 41 41 41 7f 7f - 00 00 08 08 08 08 08 08 - 08 08 08 08 08 08 08 08 - 00 00 7f 7f 01 01 01 01 - 7f 7f 40 40 40 40 7f 7f - 00 00 7f 7f 01 01 01 01 - 3f 3f 01 01 01 01 7f 7f - 00 00 41 41 41 41 41 41 - 7f 7f 01 01 01 01 01 01 - 00 00 7f 7f 40 40 40 40 - 7e 7e 01 01 01 01 7e 7e - 00 00 7f 7f 40 40 40 40 - 7f 7f 41 41 41 41 7f 7f - 00 00 7f 7f 01 01 02 02 - 04 04 08 08 10 10 10 10 - 00 00 3e 3e 41 41 41 41 - 3e 3e 41 41 41 41 3e 3e - 00 00 7f 7f 41 41 41 41 - 7f 7f 01 01 01 01 7f 7f - diff --git a/test/hwtests/halt/m2int_m2stat_1.asm b/test/hwtests/halt/m2int_m2stat_1.asm deleted file mode 100644 index 02b14c5a..00000000 --- a/test/hwtests/halt/m2int_m2stat_1.asm +++ /dev/null @@ -1,109 +0,0 @@ -.size 8000 - -.text@48 - jp lstatint - -.text@100 - jp lbegin - -.text@150 -lbegin: - ld c, 41 - ld b, 03 -lbegin_waitm3: - ldff a, (c) - and a, b - cmp a, b - jrnz lbegin_waitm3 - ld a, 20 - ldff(c), a - ld a, 02 - ldff(ff), a - ei - nop - halt - -.text@1000 -lstatint: - nop - nop - nop - nop - nop - nop - nop - nop - nop - ldff a, (c) - and a, b - jp lprint_a - -.text@7000 -lprint_a: - push af - ld b, 91 - call lwaitly_b - xor a, a - ldff(40), a - pop af - ld(9800), a - ld bc, 7a00 - ld hl, 8000 - ld d, a0 -lprint_copytiles: - ld a, (bc) - inc bc - ld(hl++), a - dec d - jrnz lprint_copytiles - ld a, c0 - ldff(47), a - ld a, 80 - ldff(68), a - ld a, ff - ldff(69), a - ldff(69), a - ldff(69), a - ldff(69), a - ldff(69), a - ldff(69), a - xor a, a - ldff(69), a - ldff(69), a - ldff(43), a - ld a, 91 - ldff(40), a -lprint_limbo: - jr lprint_limbo - -.text@7400 -lwaitly_b: - ld c, 44 -lwaitly_b_loop: - ldff a, (c) - cmp a, b - jrnz lwaitly_b_loop - ret - -.data@7a00 - 00 00 7f 7f 41 41 41 41 - 41 41 41 41 41 41 7f 7f - 00 00 08 08 08 08 08 08 - 08 08 08 08 08 08 08 08 - 00 00 7f 7f 01 01 01 01 - 7f 7f 40 40 40 40 7f 7f - 00 00 7f 7f 01 01 01 01 - 3f 3f 01 01 01 01 7f 7f - 00 00 41 41 41 41 41 41 - 7f 7f 01 01 01 01 01 01 - 00 00 7f 7f 40 40 40 40 - 7e 7e 01 01 01 01 7e 7e - 00 00 7f 7f 40 40 40 40 - 7f 7f 41 41 41 41 7f 7f - 00 00 7f 7f 01 01 02 02 - 04 04 08 08 10 10 10 10 - 00 00 3e 3e 41 41 41 41 - 3e 3e 41 41 41 41 3e 3e - 00 00 7f 7f 41 41 41 41 - 7f 7f 01 01 01 01 7f 7f - diff --git a/test/hwtests/halt/m2int_m2stat_2.asm b/test/hwtests/halt/m2int_m2stat_2.asm deleted file mode 100644 index 284ce7bb..00000000 --- a/test/hwtests/halt/m2int_m2stat_2.asm +++ /dev/null @@ -1,110 +0,0 @@ -.size 8000 - -.text@48 - jp lstatint - -.text@100 - jp lbegin - -.text@150 -lbegin: - ld c, 41 - ld b, 03 -lbegin_waitm3: - ldff a, (c) - and a, b - cmp a, b - jrnz lbegin_waitm3 - ld a, 20 - ldff(c), a - ld a, 02 - ldff(ff), a - ei - nop - halt - -.text@1000 -lstatint: - nop - nop - nop - nop - nop - nop - nop - nop - nop - nop - ldff a, (c) - and a, b - jp lprint_a - -.text@7000 -lprint_a: - push af - ld b, 91 - call lwaitly_b - xor a, a - ldff(40), a - pop af - ld(9800), a - ld bc, 7a00 - ld hl, 8000 - ld d, a0 -lprint_copytiles: - ld a, (bc) - inc bc - ld(hl++), a - dec d - jrnz lprint_copytiles - ld a, c0 - ldff(47), a - ld a, 80 - ldff(68), a - ld a, ff - ldff(69), a - ldff(69), a - ldff(69), a - ldff(69), a - ldff(69), a - ldff(69), a - xor a, a - ldff(69), a - ldff(69), a - ldff(43), a - ld a, 91 - ldff(40), a -lprint_limbo: - jr lprint_limbo - -.text@7400 -lwaitly_b: - ld c, 44 -lwaitly_b_loop: - ldff a, (c) - cmp a, b - jrnz lwaitly_b_loop - ret - -.data@7a00 - 00 00 7f 7f 41 41 41 41 - 41 41 41 41 41 41 7f 7f - 00 00 08 08 08 08 08 08 - 08 08 08 08 08 08 08 08 - 00 00 7f 7f 01 01 01 01 - 7f 7f 40 40 40 40 7f 7f - 00 00 7f 7f 01 01 01 01 - 3f 3f 01 01 01 01 7f 7f - 00 00 41 41 41 41 41 41 - 7f 7f 01 01 01 01 01 01 - 00 00 7f 7f 40 40 40 40 - 7e 7e 01 01 01 01 7e 7e - 00 00 7f 7f 40 40 40 40 - 7f 7f 41 41 41 41 7f 7f - 00 00 7f 7f 01 01 02 02 - 04 04 08 08 10 10 10 10 - 00 00 3e 3e 41 41 41 41 - 3e 3e 41 41 41 41 3e 3e - 00 00 7f 7f 41 41 41 41 - 7f 7f 01 01 01 01 7f 7f - diff --git a/test/hwtests/halt/m2irq_ly_1.asm b/test/hwtests/halt/m2irq_ly_1.asm deleted file mode 100644 index 91c121ab..00000000 --- a/test/hwtests/halt/m2irq_ly_1.asm +++ /dev/null @@ -1,105 +0,0 @@ -.size 8000 - -.text@100 - jp lbegin - -.text@150 -lbegin: - ld c, 41 - ld b, 03 -lbegin_waitm3: - ldff a, (c) - and a, b - cmp a, b - jrnz lbegin_waitm3 - ld a, 20 - ldff(c), a - ld a, 02 - ldff(ff), a - xor a, a - ld c, 44 - halt - nop - nop - nop - nop - jp l1000 - -.text@1000 -l1000: - nop - -.text@1067 - ldff a, (c) - and a, b - jp lprint_a - -.text@7000 -lprint_a: - push af - ld b, 91 - call lwaitly_b - xor a, a - ldff(40), a - pop af - ld(9800), a - ld bc, 7a00 - ld hl, 8000 - ld d, a0 -lprint_copytiles: - ld a, (bc) - inc bc - ld(hl++), a - dec d - jrnz lprint_copytiles - ld a, c0 - ldff(47), a - ld a, 80 - ldff(68), a - ld a, ff - ldff(69), a - ldff(69), a - ldff(69), a - ldff(69), a - ldff(69), a - ldff(69), a - xor a, a - ldff(69), a - ldff(69), a - ldff(43), a - ld a, 91 - ldff(40), a -lprint_limbo: - jr lprint_limbo - -.text@7400 -lwaitly_b: - ld c, 44 -lwaitly_b_loop: - ldff a, (c) - cmp a, b - jrnz lwaitly_b_loop - ret - -.data@7a00 - 00 00 7f 7f 41 41 41 41 - 41 41 41 41 41 41 7f 7f - 00 00 08 08 08 08 08 08 - 08 08 08 08 08 08 08 08 - 00 00 7f 7f 01 01 01 01 - 7f 7f 40 40 40 40 7f 7f - 00 00 7f 7f 01 01 01 01 - 3f 3f 01 01 01 01 7f 7f - 00 00 41 41 41 41 41 41 - 7f 7f 01 01 01 01 01 01 - 00 00 7f 7f 40 40 40 40 - 7e 7e 01 01 01 01 7e 7e - 00 00 7f 7f 40 40 40 40 - 7f 7f 41 41 41 41 7f 7f - 00 00 7f 7f 01 01 02 02 - 04 04 08 08 10 10 10 10 - 00 00 3e 3e 41 41 41 41 - 3e 3e 41 41 41 41 3e 3e - 00 00 7f 7f 41 41 41 41 - 7f 7f 01 01 01 01 7f 7f - diff --git a/test/hwtests/halt/m2irq_ly_2.asm b/test/hwtests/halt/m2irq_ly_2.asm deleted file mode 100644 index 4a577155..00000000 --- a/test/hwtests/halt/m2irq_ly_2.asm +++ /dev/null @@ -1,105 +0,0 @@ -.size 8000 - -.text@100 - jp lbegin - -.text@150 -lbegin: - ld c, 41 - ld b, 03 -lbegin_waitm3: - ldff a, (c) - and a, b - cmp a, b - jrnz lbegin_waitm3 - ld a, 20 - ldff(c), a - ld a, 02 - ldff(ff), a - xor a, a - ld c, 44 - halt - nop - nop - nop - nop - jp l1000 - -.text@1000 -l1000: - nop - -.text@1068 - ldff a, (c) - and a, b - jp lprint_a - -.text@7000 -lprint_a: - push af - ld b, 91 - call lwaitly_b - xor a, a - ldff(40), a - pop af - ld(9800), a - ld bc, 7a00 - ld hl, 8000 - ld d, a0 -lprint_copytiles: - ld a, (bc) - inc bc - ld(hl++), a - dec d - jrnz lprint_copytiles - ld a, c0 - ldff(47), a - ld a, 80 - ldff(68), a - ld a, ff - ldff(69), a - ldff(69), a - ldff(69), a - ldff(69), a - ldff(69), a - ldff(69), a - xor a, a - ldff(69), a - ldff(69), a - ldff(43), a - ld a, 91 - ldff(40), a -lprint_limbo: - jr lprint_limbo - -.text@7400 -lwaitly_b: - ld c, 44 -lwaitly_b_loop: - ldff a, (c) - cmp a, b - jrnz lwaitly_b_loop - ret - -.data@7a00 - 00 00 7f 7f 41 41 41 41 - 41 41 41 41 41 41 7f 7f - 00 00 08 08 08 08 08 08 - 08 08 08 08 08 08 08 08 - 00 00 7f 7f 01 01 01 01 - 7f 7f 40 40 40 40 7f 7f - 00 00 7f 7f 01 01 01 01 - 3f 3f 01 01 01 01 7f 7f - 00 00 41 41 41 41 41 41 - 7f 7f 01 01 01 01 01 01 - 00 00 7f 7f 40 40 40 40 - 7e 7e 01 01 01 01 7e 7e - 00 00 7f 7f 40 40 40 40 - 7f 7f 41 41 41 41 7f 7f - 00 00 7f 7f 01 01 02 02 - 04 04 08 08 10 10 10 10 - 00 00 3e 3e 41 41 41 41 - 3e 3e 41 41 41 41 3e 3e - 00 00 7f 7f 41 41 41 41 - 7f 7f 01 01 01 01 7f 7f - diff --git a/test/hwtests/halt/m2irq_m2irq_1.asm b/test/hwtests/halt/m2irq_m2irq_1.asm deleted file mode 100644 index b5745177..00000000 --- a/test/hwtests/halt/m2irq_m2irq_1.asm +++ /dev/null @@ -1,105 +0,0 @@ -.size 8000 - -.text@100 - jp lbegin - -.text@150 -lbegin: - ld c, 41 - ld b, 03 -lbegin_waitm3: - ldff a, (c) - and a, b - cmp a, b - jrnz lbegin_waitm3 - ld a, 20 - ldff(c), a - ld a, 02 - ldff(ff), a - xor a, a - ld c, 0f - halt - nop - ldff(c), a - nop - nop - jp l1000 - -.text@1000 -l1000: - nop - -.text@1066 - ldff a, (c) - and a, b - jp lprint_a - -.text@7000 -lprint_a: - push af - ld b, 91 - call lwaitly_b - xor a, a - ldff(40), a - pop af - ld(9800), a - ld bc, 7a00 - ld hl, 8000 - ld d, a0 -lprint_copytiles: - ld a, (bc) - inc bc - ld(hl++), a - dec d - jrnz lprint_copytiles - ld a, c0 - ldff(47), a - ld a, 80 - ldff(68), a - ld a, ff - ldff(69), a - ldff(69), a - ldff(69), a - ldff(69), a - ldff(69), a - ldff(69), a - xor a, a - ldff(69), a - ldff(69), a - ldff(43), a - ld a, 91 - ldff(40), a -lprint_limbo: - jr lprint_limbo - -.text@7400 -lwaitly_b: - ld c, 44 -lwaitly_b_loop: - ldff a, (c) - cmp a, b - jrnz lwaitly_b_loop - ret - -.data@7a00 - 00 00 7f 7f 41 41 41 41 - 41 41 41 41 41 41 7f 7f - 00 00 08 08 08 08 08 08 - 08 08 08 08 08 08 08 08 - 00 00 7f 7f 01 01 01 01 - 7f 7f 40 40 40 40 7f 7f - 00 00 7f 7f 01 01 01 01 - 3f 3f 01 01 01 01 7f 7f - 00 00 41 41 41 41 41 41 - 7f 7f 01 01 01 01 01 01 - 00 00 7f 7f 40 40 40 40 - 7e 7e 01 01 01 01 7e 7e - 00 00 7f 7f 40 40 40 40 - 7f 7f 41 41 41 41 7f 7f - 00 00 7f 7f 01 01 02 02 - 04 04 08 08 10 10 10 10 - 00 00 3e 3e 41 41 41 41 - 3e 3e 41 41 41 41 3e 3e - 00 00 7f 7f 41 41 41 41 - 7f 7f 01 01 01 01 7f 7f - diff --git a/test/hwtests/halt/m2irq_m2irq_2.asm b/test/hwtests/halt/m2irq_m2irq_2.asm deleted file mode 100644 index 6d457d6d..00000000 --- a/test/hwtests/halt/m2irq_m2irq_2.asm +++ /dev/null @@ -1,105 +0,0 @@ -.size 8000 - -.text@100 - jp lbegin - -.text@150 -lbegin: - ld c, 41 - ld b, 03 -lbegin_waitm3: - ldff a, (c) - and a, b - cmp a, b - jrnz lbegin_waitm3 - ld a, 20 - ldff(c), a - ld a, 02 - ldff(ff), a - xor a, a - ld c, 0f - halt - nop - ldff(c), a - nop - nop - jp l1000 - -.text@1000 -l1000: - nop - -.text@1067 - ldff a, (c) - and a, b - jp lprint_a - -.text@7000 -lprint_a: - push af - ld b, 91 - call lwaitly_b - xor a, a - ldff(40), a - pop af - ld(9800), a - ld bc, 7a00 - ld hl, 8000 - ld d, a0 -lprint_copytiles: - ld a, (bc) - inc bc - ld(hl++), a - dec d - jrnz lprint_copytiles - ld a, c0 - ldff(47), a - ld a, 80 - ldff(68), a - ld a, ff - ldff(69), a - ldff(69), a - ldff(69), a - ldff(69), a - ldff(69), a - ldff(69), a - xor a, a - ldff(69), a - ldff(69), a - ldff(43), a - ld a, 91 - ldff(40), a -lprint_limbo: - jr lprint_limbo - -.text@7400 -lwaitly_b: - ld c, 44 -lwaitly_b_loop: - ldff a, (c) - cmp a, b - jrnz lwaitly_b_loop - ret - -.data@7a00 - 00 00 7f 7f 41 41 41 41 - 41 41 41 41 41 41 7f 7f - 00 00 08 08 08 08 08 08 - 08 08 08 08 08 08 08 08 - 00 00 7f 7f 01 01 01 01 - 7f 7f 40 40 40 40 7f 7f - 00 00 7f 7f 01 01 01 01 - 3f 3f 01 01 01 01 7f 7f - 00 00 41 41 41 41 41 41 - 7f 7f 01 01 01 01 01 01 - 00 00 7f 7f 40 40 40 40 - 7e 7e 01 01 01 01 7e 7e - 00 00 7f 7f 40 40 40 40 - 7f 7f 41 41 41 41 7f 7f - 00 00 7f 7f 01 01 02 02 - 04 04 08 08 10 10 10 10 - 00 00 3e 3e 41 41 41 41 - 3e 3e 41 41 41 41 3e 3e - 00 00 7f 7f 41 41 41 41 - 7f 7f 01 01 01 01 7f 7f - diff --git a/test/hwtests/halt/m2irq_m2stat_1.asm b/test/hwtests/halt/m2irq_m2stat_1.asm deleted file mode 100644 index 872f527c..00000000 --- a/test/hwtests/halt/m2irq_m2stat_1.asm +++ /dev/null @@ -1,110 +0,0 @@ -.size 8000 - -.text@100 - jp lbegin - -.text@150 -lbegin: - ld c, 41 - ld b, 03 -lbegin_waitm3: - ldff a, (c) - and a, b - cmp a, b - jrnz lbegin_waitm3 - ld a, 20 - ldff(c), a - ld a, 02 - ldff(ff), a - halt - nop - nop - nop - nop - nop - jp l1000 - -.text@1000 -l1000: - nop - nop - nop - nop - nop - nop - nop - nop - nop - ldff a, (c) - and a, b - jp lprint_a - -.text@7000 -lprint_a: - push af - ld b, 91 - call lwaitly_b - xor a, a - ldff(40), a - pop af - ld(9800), a - ld bc, 7a00 - ld hl, 8000 - ld d, a0 -lprint_copytiles: - ld a, (bc) - inc bc - ld(hl++), a - dec d - jrnz lprint_copytiles - ld a, c0 - ldff(47), a - ld a, 80 - ldff(68), a - ld a, ff - ldff(69), a - ldff(69), a - ldff(69), a - ldff(69), a - ldff(69), a - ldff(69), a - xor a, a - ldff(69), a - ldff(69), a - ldff(43), a - ld a, 91 - ldff(40), a -lprint_limbo: - jr lprint_limbo - -.text@7400 -lwaitly_b: - ld c, 44 -lwaitly_b_loop: - ldff a, (c) - cmp a, b - jrnz lwaitly_b_loop - ret - -.data@7a00 - 00 00 7f 7f 41 41 41 41 - 41 41 41 41 41 41 7f 7f - 00 00 08 08 08 08 08 08 - 08 08 08 08 08 08 08 08 - 00 00 7f 7f 01 01 01 01 - 7f 7f 40 40 40 40 7f 7f - 00 00 7f 7f 01 01 01 01 - 3f 3f 01 01 01 01 7f 7f - 00 00 41 41 41 41 41 41 - 7f 7f 01 01 01 01 01 01 - 00 00 7f 7f 40 40 40 40 - 7e 7e 01 01 01 01 7e 7e - 00 00 7f 7f 40 40 40 40 - 7f 7f 41 41 41 41 7f 7f - 00 00 7f 7f 01 01 02 02 - 04 04 08 08 10 10 10 10 - 00 00 3e 3e 41 41 41 41 - 3e 3e 41 41 41 41 3e 3e - 00 00 7f 7f 41 41 41 41 - 7f 7f 01 01 01 01 7f 7f - diff --git a/test/hwtests/halt/m2irq_m2stat_2.asm b/test/hwtests/halt/m2irq_m2stat_2.asm deleted file mode 100644 index c85f415b..00000000 --- a/test/hwtests/halt/m2irq_m2stat_2.asm +++ /dev/null @@ -1,111 +0,0 @@ -.size 8000 - -.text@100 - jp lbegin - -.text@150 -lbegin: - ld c, 41 - ld b, 03 -lbegin_waitm3: - ldff a, (c) - and a, b - cmp a, b - jrnz lbegin_waitm3 - ld a, 20 - ldff(c), a - ld a, 02 - ldff(ff), a - halt - nop - nop - nop - nop - nop - jp l1000 - -.text@1000 -l1000: - nop - nop - nop - nop - nop - nop - nop - nop - nop - nop - ldff a, (c) - and a, b - jp lprint_a - -.text@7000 -lprint_a: - push af - ld b, 91 - call lwaitly_b - xor a, a - ldff(40), a - pop af - ld(9800), a - ld bc, 7a00 - ld hl, 8000 - ld d, a0 -lprint_copytiles: - ld a, (bc) - inc bc - ld(hl++), a - dec d - jrnz lprint_copytiles - ld a, c0 - ldff(47), a - ld a, 80 - ldff(68), a - ld a, ff - ldff(69), a - ldff(69), a - ldff(69), a - ldff(69), a - ldff(69), a - ldff(69), a - xor a, a - ldff(69), a - ldff(69), a - ldff(43), a - ld a, 91 - ldff(40), a -lprint_limbo: - jr lprint_limbo - -.text@7400 -lwaitly_b: - ld c, 44 -lwaitly_b_loop: - ldff a, (c) - cmp a, b - jrnz lwaitly_b_loop - ret - -.data@7a00 - 00 00 7f 7f 41 41 41 41 - 41 41 41 41 41 41 7f 7f - 00 00 08 08 08 08 08 08 - 08 08 08 08 08 08 08 08 - 00 00 7f 7f 01 01 01 01 - 7f 7f 40 40 40 40 7f 7f - 00 00 7f 7f 01 01 01 01 - 3f 3f 01 01 01 01 7f 7f - 00 00 41 41 41 41 41 41 - 7f 7f 01 01 01 01 01 01 - 00 00 7f 7f 40 40 40 40 - 7e 7e 01 01 01 01 7e 7e - 00 00 7f 7f 40 40 40 40 - 7f 7f 41 41 41 41 7f 7f - 00 00 7f 7f 01 01 02 02 - 04 04 08 08 10 10 10 10 - 00 00 3e 3e 41 41 41 41 - 3e 3e 41 41 41 41 3e 3e - 00 00 7f 7f 41 41 41 41 - 7f 7f 01 01 01 01 7f 7f - diff --git a/test/hwtests/halt/m2irq_scy_during_m3_1.asm b/test/hwtests/halt/m2irq_scy_during_m3_1.asm deleted file mode 100644 index b0fecab5..00000000 --- a/test/hwtests/halt/m2irq_scy_during_m3_1.asm +++ /dev/null @@ -1,62 +0,0 @@ -.size 8000 - -.text@100 - jp lbegin - -.text@150 -lbegin: - ld c, 44 - ld b, 90 -lbegin_waitvblank: - ldff a, (c) - cmp a, b - jrnz lbegin_waitvblank - ld hl, 8010 - ld a, ff - ld(hl++), a - ld(hl++), a - ld a, 01 - ld b, 32 - ld hl, 9a40 -lbegin_settilemap: - ld(hl++), a - dec b - jrnz lbegin_settilemap - ld a, c0 - ldff(47), a - ld c, 41 - ld b, 03 -lbegin_waitm3: - ldff a, (c) - and a, b - cmp a, b - jrnz lbegin_waitm3 - ld a, 20 - ldff(c), a - ld a, 02 - ldff(ff), a - ld c, 42 - ld b, 90 -lwait_m2irq: - halt - xor a, a - ldff(0f), a - jp lm2int - -.text@1000 -lm2int: - nop - nop - nop - nop - ldff a, (44) - ld d, a - ld a, b - sub a, d - ldff(c), a - xor a, a - -.text@1031 - ldff(c), a - jp lwait_m2irq - diff --git a/test/hwtests/halt/m2irq_scy_during_m3_2.asm b/test/hwtests/halt/m2irq_scy_during_m3_2.asm deleted file mode 100644 index 39998332..00000000 --- a/test/hwtests/halt/m2irq_scy_during_m3_2.asm +++ /dev/null @@ -1,63 +0,0 @@ -.size 8000 - -.text@100 - jp lbegin - -.text@150 -lbegin: - ld c, 44 - ld b, 90 -lbegin_waitvblank: - ldff a, (c) - cmp a, b - jrnz lbegin_waitvblank - ld hl, 8010 - ld a, ff - ld(hl++), a - ld(hl++), a - ld a, 01 - ld b, 32 - ld hl, 9a40 -lbegin_settilemap: - ld(hl++), a - dec b - jrnz lbegin_settilemap - ld a, c0 - ldff(47), a - ld c, 41 - ld b, 03 -lbegin_waitm3: - ldff a, (c) - and a, b - cmp a, b - jrnz lbegin_waitm3 - ld a, 20 - ldff(c), a - ld a, 02 - ldff(ff), a - ld c, 42 - ld b, 90 -lwait_m2irq: - halt - xor a, a - ldff(0f), a - jp lm2int - -.text@1000 -lm2int: - nop - nop - nop - nop - nop - ldff a, (44) - ld d, a - ld a, b - sub a, d - ldff(c), a - xor a, a - -.text@1030 - ldff(c), a - jp lwait_m2irq - diff --git a/test/hwtests/halt/m2irq_scy_during_m3_3.asm b/test/hwtests/halt/m2irq_scy_during_m3_3.asm deleted file mode 100644 index 0e4be020..00000000 --- a/test/hwtests/halt/m2irq_scy_during_m3_3.asm +++ /dev/null @@ -1,64 +0,0 @@ -.size 8000 - -.text@100 - jp lbegin - -.text@150 -lbegin: - ld c, 44 - ld b, 90 -lbegin_waitvblank: - ldff a, (c) - cmp a, b - jrnz lbegin_waitvblank - ld hl, 8010 - ld a, ff - ld(hl++), a - ld(hl++), a - ld a, 01 - ld b, 32 - ld hl, 9a40 -lbegin_settilemap: - ld(hl++), a - dec b - jrnz lbegin_settilemap - ld a, c0 - ldff(47), a - ld c, 41 - ld b, 03 -lbegin_waitm3: - ldff a, (c) - and a, b - cmp a, b - jrnz lbegin_waitm3 - ld a, 20 - ldff(c), a - ld a, 02 - ldff(ff), a - ld c, 42 - ld b, 90 -lwait_m2irq: - halt - xor a, a - ldff(0f), a - jp lm2int - -.text@1000 -lm2int: - nop - nop - nop - nop - nop - nop - ldff a, (44) - ld d, a - ld a, b - sub a, d - ldff(c), a - xor a, a - -.text@102f - ldff(c), a - jp lwait_m2irq - diff --git a/test/hwtests/halt/m2irq_scy_during_m3_4.asm b/test/hwtests/halt/m2irq_scy_during_m3_4.asm deleted file mode 100644 index 2e86e4c6..00000000 --- a/test/hwtests/halt/m2irq_scy_during_m3_4.asm +++ /dev/null @@ -1,65 +0,0 @@ -.size 8000 - -.text@100 - jp lbegin - -.text@150 -lbegin: - ld c, 44 - ld b, 90 -lbegin_waitvblank: - ldff a, (c) - cmp a, b - jrnz lbegin_waitvblank - ld hl, 8010 - ld a, ff - ld(hl++), a - ld(hl++), a - ld a, 01 - ld b, 32 - ld hl, 9a40 -lbegin_settilemap: - ld(hl++), a - dec b - jrnz lbegin_settilemap - ld a, c0 - ldff(47), a - ld c, 41 - ld b, 03 -lbegin_waitm3: - ldff a, (c) - and a, b - cmp a, b - jrnz lbegin_waitm3 - ld a, 20 - ldff(c), a - ld a, 02 - ldff(ff), a - ld c, 42 - ld b, 90 -lwait_m2irq: - halt - xor a, a - ldff(0f), a - jp lm2int - -.text@1000 -lm2int: - nop - nop - nop - nop - nop - nop - nop - ldff a, (44) - ld d, a - ld a, b - sub a, d - ldff(c), a - xor a, a - -.text@102e - ldff(c), a - jp lwait_m2irq - diff --git a/test/hwtests/halt/m2irq_scy_during_m3_5.asm b/test/hwtests/halt/m2irq_scy_during_m3_5.asm deleted file mode 100644 index 78a37ef4..00000000 --- a/test/hwtests/halt/m2irq_scy_during_m3_5.asm +++ /dev/null @@ -1,66 +0,0 @@ -.size 8000 - -.text@100 - jp lbegin - -.text@150 -lbegin: - ld c, 44 - ld b, 90 -lbegin_waitvblank: - ldff a, (c) - cmp a, b - jrnz lbegin_waitvblank - ld hl, 8010 - ld a, ff - ld(hl++), a - ld(hl++), a - ld a, 01 - ld b, 32 - ld hl, 9a40 -lbegin_settilemap: - ld(hl++), a - dec b - jrnz lbegin_settilemap - ld a, c0 - ldff(47), a - ld c, 41 - ld b, 03 -lbegin_waitm3: - ldff a, (c) - and a, b - cmp a, b - jrnz lbegin_waitm3 - ld a, 20 - ldff(c), a - ld a, 02 - ldff(ff), a - ld c, 42 - ld b, 90 -lwait_m2irq: - halt - xor a, a - ldff(0f), a - jp lm2int - -.text@1000 -lm2int: - nop - nop - nop - nop - nop - nop - nop - nop - ldff a, (44) - ld d, a - ld a, b - sub a, d - ldff(c), a - xor a, a - -.text@102d - ldff(c), a - jp lwait_m2irq -