Go to most recent revision | 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: ORG address 0x4000 is outside of current slot 0xC000..0xFFFF (page argument affects *current* slot): ORG 0x4000, 06 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: ORG address 0x7FFF is outside of current slot 0x8000..0xBFFF (page argument affects *current* slot): ORG 0x7FFF, 712 4002 ORG 0x7FFF, 7 ; should warnorg_page.asm(13): warning: ORG address 0xC000 is outside of current slot 0x8000..0xBFFF (page argument affects *current* slot): ORG 0xC000, 713 7FFF ORG 0xC000, 7 ; should warn14 C000 ORG 0x8000, 6 ; should be ok15 8000 ORG 0xBFFF, 6 ; should be ok16 BFFF ORG 0x7FFF, 5 ; ok ; should be suppressed17 7FFF ORG 0xC000, 5 ; ok ; should be suppressed18 C00019 C000 ; try the warning with 8kiB slots20 C000 DEVICE ZXSPECTRUMNEXT21 C000 SLOT 4org_page.asm(22): warning: ORG address 0x7FFF is outside of current slot 0x8000..0x9FFF (page argument affects *current* slot): ORG 0x7FFF, 722 C000 ORG 0x7FFF, 7 ; should warnorg_page.asm(23): warning: ORG address 0xA000 is outside of current slot 0x8000..0x9FFF (page argument affects *current* slot): ORG 0xA000, 723 7FFF ORG 0xA000, 7 ; should warn24 A000 ORG 0x8000, 6 ; should be ok25 8000 ORG 0x9FFF, 6 ; should be ok26 9FFF ORG 0x7FFF, 5 ; ok ; should be suppressed27 7FFF ORG 0xA000, 5 ; ok ; should be suppressed28 A000# file closed: org_page.asmValue Label------ - -----------------------------------------------------------