Rev 539 | Blame | Compare with Previous | Last modification | View Log | Download
# file opened: org_page.asm1 0000 DEVICE ZXSPECTRUM1282 0000 ; taint page 0 and page 13 0000 SLOT 33 0000 PAGE 03 0000 ORG 0xC0003 C000 30 30 DB "00"3 C002 PAGE 13 C002 ORG 0xC0003 C000 31 31 DB "11"4 C002 ASSERT {0xC000} == "11"5 C002 ; test second argument of ORGorg_page.asm(6): warning[orgpage]: [ORG] page argument affects current slot while address is outside: address 0x4000 vs slot 3 range 0xC000..0xFFFF6 C002 ORG 0x4000, 0 ; should do also PAGE 0 in current slot (not related to 0x4000)7 4000 ; since v1.15.2 this should emit warning about address outside current slot8 4000 35 35 DB "55"9 4002 ASSERT {0xC000} == "00"9 4002 ASSERT {0x4000} == "55"10 4002 ; verify warning precision on all ends11 4002 SLOT 2org_page.asm(12): warning[orgpage]: [ORG] page argument affects current slot while address is outside: address 0x7FFF vs slot 2 range 0x8000..0xBFFF12 4002 ORG 0x7FFF, 7 ; should warnorg_page.asm(13): warning[orgpage]: [ORG] page argument affects current slot while address is outside: address 0xC000 vs slot 2 range 0x8000..0xBFFF13 7FFF ORG 0xC000, 7 ; should warn14 C000 ORG 0x8000, 6 ; should be ok15 8000 ORG 0xBFFF, 6 ; should be ok16 BFFF ORG 0x7FFF, 5 ; orgpage-ok ; should be suppressed17 7FFF ORG 0xC000, 5 ; orgpage-ok ; should be suppressed18 C00019 C000 ; try the warning with 8kiB slots20 C000 DEVICE ZXSPECTRUMNEXT21 C000 SLOT 4org_page.asm(22): warning[orgpage]: [ORG] page argument affects current slot while address is outside: address 0x7FFF vs slot 4 range 0x8000..0x9FFF22 C000 ORG 0x7FFF, 7 ; should warnorg_page.asm(23): warning[orgpage]: [ORG] page argument affects current slot while address is outside: address 0xA000 vs slot 4 range 0x8000..0x9FFF23 7FFF ORG 0xA000, 7 ; should warn24 A000 ORG 0x8000, 6 ; should be ok25 8000 ORG 0x9FFF, 6 ; should be ok26 9FFF ORG 0x7FFF, 5 ; orgpage-ok ; should be suppressed27 7FFF ORG 0xA000, 5 ; orgpage-ok ; should be suppressed28 A000# file closed: org_page.asmValue Label------ - -----------------------------------------------------------