?login_element?

Subversion Repositories NedoOS

Rev

Blame | Last modification | View Log | Download | RSS feed

  1.     DEVICE ZXSPECTRUMNEXT
  2.     MMU 0 n, 0
  3.     ORG 0x1F00
  4.     ; include 0x2200 bytes
  5.     ; => should include up 0x100 bytes into page 0
  6.     ; => then 0x2000 bytes into page 1
  7.     ; => and final 0x100 bytes into page 2
  8.     INCBIN "mmu_incbin_bug_data.i.asm"
  9.     ASSERT 0x100 == $ && 2 == $$
  10.  
  11.     ; include another 0x2200 bytes, starting from 0x100 in page 2
  12.     ; => should include up 0x1F00 bytes into page 2
  13.     ; => then 0x300 bytes into page 3 (failed in v1.13.2)
  14.     INCBIN "mmu_incbin_bug_data.i.asm"
  15.     ASSERT 0x300 == $ && 3 == $$
  16.