?login_element?

Subversion Repositories NedoOS

Rev

Rev 539 | Blame | Compare with Previous | Last modification | View Log | Download | RSS feed

  1.         ; common case, reset, second one
  2.             ORG     0xFFFF
  3.             ldir            ; warning about memory limit
  4.             ldir            ; no warning (not doubling)
  5.             ORG     0       ; reset warnings state
  6.             ORG     0xFFFF
  7.             ldir            ; (again) warning about memory limit
  8.             ldir            ; no warning (not doubling)
  9.  
  10.         ; DISP-only
  11.             ORG     0x1000
  12.             DISP    0xFFFF
  13.             ldir            ; warning about DISP memory limit
  14.             ldir
  15.             ORG     0       ; displacedorg-ok ; does reset the DISP part only, not real address
  16.             ORG     0xFFFF  ; displacedorg-ok
  17.             ldir            ; (again) warning about DISP memory limit
  18.             ldir            ; no warning (not doubling)
  19.             ENDT
  20.  
  21.         ; physical under DISP
  22.             ORG     0xFFFF
  23.             DISP    0x2000
  24.             ldir            ; warning about memory limit
  25.             ldir
  26.             ORG     0x3000  ; displacedorg-ok ; does NOT reset physical one, only DISP one
  27.             ldir
  28.             ldir
  29.             ENDT
  30.  
  31.         ; physical AND disp together
  32.             ORG     0xFFFF
  33.             DISP    0xFFFF
  34.             ldir            ; will get TWO warnings (DISP + ORG)
  35.             ldir
  36.             ENDT
  37.  
  38.     ;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;
  39.     ;; Block-emit code coverage
  40.             ORG     0xFFF0
  41.             block   100,0xAA    ; warning about memory limit
  42.             ORG     0
  43.             ORG     0xFFF0
  44.             block   100,0xBB    ; again
  45.  
  46.         ; DISP-only
  47.             ORG     0x1000
  48.             DISP    0xFFF0
  49.             block   100,0xCC    ; warning about DISP memory limit
  50.             ORG     0       ; displacedorg-ok ; does reset the DISP part only, not real address
  51.             ORG     0xFFF0  ; displacedorg-ok
  52.             block   100,0xDD    ; again
  53.             ENDT
  54.  
  55.         ; physical under DISP
  56.             ORG     0xFFF0
  57.             DISP    0x2000
  58.             block   100,0xEE    ; warning about memory limit
  59.             ORG     0x3000  ; displacedorg-ok ; does NOT reset physical one, only DISP one
  60.             block   100,0xFF
  61.             ENDT
  62.  
  63.         ; physical AND disp together
  64.             ORG     0xFFF0
  65.             DISP    0xFFF0
  66.             block   100,0x77    ; will get TWO warnings (DISP + ORG)
  67.             ENDT
  68.