?login_element?

Subversion Repositories NedoOS

Rev

Blame | Last modification | View Log | Download

  1.  
  2.     DEVICE ZXSPECTRUMNEXT
  3. ; 18 FE
  4.     ;; OPEN <filename>[,<startAddress>,<stackAddress>[,<entryBank 0..111>]]
  5.     SAVENEX     OPEN    "savenexBmpLoRes.nex", $6000+128*47, $F000
  6.     ;; CORE <major 0..15>,<minor 0..15>,<subminor 0..255>
  7.     SAVENEX     CORE    2,0,0
  8.     ;; CFG <border 0..7>[,<fileHandle 0/1/$4000+>[,<PreserveNextRegs 0/1>[,<2MbRamReq 0/1>]]]
  9.     SAVENEX     CFG     0, 0, 0, 0
  10.     ;; BAR <loadBar 0/1>,<barColour 0..255>[,<startDelay 0..255>[,<bankDelay 0..255>]]
  11.     SAVENEX     BAR     0,  0
  12.  
  13.     ;; SAVENEX SCREEN BMP <filename>[,<savePalette 0/1>]
  14.     ; errors - [un]expected arguments
  15.     SAVENEX     SCREEN  BMP
  16.     SAVENEX     SCREEN  BMP , 0
  17.     SAVENEX     SCREEN  BMP 9 ,
  18.  
  19.     ; errors - missing file
  20.     SAVENEX     SCREEN  BMP "missing file . bmp"
  21.  
  22.     ; correct one
  23.     SAVENEX     SCREEN  BMP "savenexBmpLoRes/savenexBmpLoRes.bmp"
  24.  
  25.     ; revisit screen errors - here no screen should work because bank was written already
  26.     SAVENEX     SCREEN  BMP "savenexBmpLoRes/savenexBmpLoRes.bmp"
  27.  
  28.     SAVENEX     CLOSE
  29.