Rev 539 | Blame | Compare with Previous | Last modification | View Log | Download
# file opened: sld_disp.asm1 0000 DEVICE ZXSPECTRUMNEXT2 0000 ORG $E000,323 E000 DISP $8000,1 ; fake page "1" for everything here4 8000 DispLabel: ; sh*t, labels emit no warning about different mapping.5 8000 MMU 4, 16 8000 00 nop ; no warning, mapping is identical7 8001 MMU 4, 4 ; emit warning8 8001 DispLabel2:sld_disp.asm(9): warning[dispmempage]: DISP memory page differs from current mapping9 8001 00 nop ; warning about DISP page being different from current mapping10 8002 00 nop ; no warning (warning is emitted only once per whole assembling11 8003 ENT12 E003 DISP $801013 8010 DispLabel3: ; should derive page number from current mapping14 8010 00 nop15 8011 ENT16 E004 NormalLabel:17 E004 C9 ret18 E005 ASSERT 32 == $$NormalLabel19 E005 ASSERT 1 == $$DispLabel20 E005 ASSERT 1 == $$DispLabel221 E005 ASSERT 4 == $$DispLabel322 E00523 E005 ; just in the valid range values24 E005 DISP $8000,024 8000 ENT25 E005 DISP $8000,22325 8000 ENT26 E00527 E005 ; syntax errors of DISP parser (first in DEVICE mode)sld_disp.asm(28): error: [DISP] Syntax error in <page number>:28 E005 DISP $8000, ; syntax errorsld_disp.asm(29): error: ')' expectedsld_disp.asm(29): error: [DISP] Syntax error in <page number>:29 E005 DISP $8000,( ; syntax errorsld_disp.asm(30): error: [DISP] <page number> is out of range: 51230 E005 DISP $8000,512 ; error outside of valid pagessld_disp.asm(31): error: [DISP] <page number> is out of range: -131 E005 DISP $8000,-1 ; error outside of valid pages32 E00533 E005 DEVICE NONE34 E005 ORG $8000sld_disp.asm(35): error: [DISP] Syntax error in <page number>:35 8000 DISP $C000, ; error, only in device modesld_disp.asm(36): error: [DISP] <page number> is accepted only in device mode: DISP $C000,-1 ; error, only in device mode36 8000 DISP $C000,-1 ; error, only in device mode37 800038 8000 DEVICE ZXSPECTRUMNEXT39 8000 CSPECTMAP "sld_disp.sym"40 8000# file closed: sld_disp.asmValue Label------ - -----------------------------------------------------------0x8000 DispLabel0x8001 DispLabel20x8010 DispLabel30xE004 NormalLabel