?login_element?

Subversion Repositories NedoOS

Rev

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

  1.     ; various syntax errors
  2.     DEVICE  NONE x
  3.     DEVICE  NONE,
  4.     DEVICE  NONE,,
  5.     DEVICE  NONE, 0     ; error valid range (ZX-like expected)
  6.     DEVICE  NONE, $8000,    ; error for extra argument
  7.     DEVICE  NONE, $8000, 0  ; error for extra argument
  8.     ; following two are "good", because NONE ignores any ramtop value
  9.     DEVICE  NONE, $5D00
  10.     DEVICE  NONE, $5D01
  11.  
  12.     ; more checks exercised
  13.     DEVICE  ZXSPECTRUMNEXT, 0
  14.     DEVICE  ZXSPECTRUMNEXT, $5D00   ; warning about ignoring ramtop
  15.     DEVICE  ZXSPECTRUMNEXT, $5D01   ; device was already initialized, silent line (still ignoring ramtop)
  16.     DEVICE  ZXSPECTRUMNEXT          ; no warning (just switching)
  17.  
  18.     DEVICE  ZXSPECTRUM256, 0
  19.     DEVICE  ZXSPECTRUM256
  20.     DEVICE  ZXSPECTRUM256, $5D00    ; was already opened with default RAMTOP
  21.     DEVICE  ZXSPECTRUM256           ; no warning (same ramtop)
  22.  
  23.     DEVICE  ZXSPECTRUM128, $5D00-1  ; error value
  24.     DEVICE  ZXSPECTRUM128, $FFFF+1  ; error value
  25.     DEVICE  ZXSPECTRUM128, $FFFF
  26.     DEVICE  ZXSPECTRUM128           ; no warning (just switching device to zx128)
  27.     DEVICE  ZXSPECTRUM128, $FFFE    ; warning about different RAMTOP
  28.  
  29.     DEVICE  NOSLOT64K, 0
  30.     DEVICE  NOSLOT64K, $5D00    ; warning about ignoring ramtop
  31.     DEVICE  NOSLOT64K, $5D01    ; device was already initialized, silent line (still ignoring ramtop)
  32.     DEVICE  NOSLOT64K           ; no warning (just switching)
  33.  
  34.     DEVICE  AMSTRADCPC464, 0
  35.     DEVICE  AMSTRADCPC464, $5D00    ; warning about ignoring ramtop
  36.     DEVICE  AMSTRADCPC464, $5D01    ; device was already initialized, silent line (still ignoring ramtop)
  37.     DEVICE  AMSTRADCPC464           ; no warning (just switching)
  38.  
  39.     DEVICE  AMSTRADCPC6128, 0
  40.     DEVICE  AMSTRADCPC6128, $5D00   ; warning about ignoring ramtop
  41.     DEVICE  AMSTRADCPC6128, $5D01   ; device was already initialized, silent line (still ignoring ramtop)
  42.     DEVICE  AMSTRADCPC6128          ; no warning (just switching)
  43.