Rev 539 | Blame | Compare with Previous | Last modification | View Log | Download
# file opened: savenexBmpL2.asm1 00002 0000 DEVICE ZXSPECTRUMNEXT3 00004 0000 ; empty infinite loop as code5 0000 ORG $C0006 C000 F3 di7 C001 18 FE jr $8 C0039 C003 ;; OPEN <filename>[,<startAddress>,<stackAddress>[,<entryBank 0..111>]]10 C003 SAVENEX OPEN "savenexBmpL2.nex", $C000, $F00011 C003 ;; CORE <major 0..15>,<minor 0..15>,<subminor 0..255>12 C003 SAVENEX CORE 2,0,013 C003 ;; CFG <border 0..7>[,<fileHandle 0/1/$4000+>[,<PreserveNextRegs 0/1>[,<2MbRamReq 0/1>]]]14 C003 SAVENEX CFG 0, 0, 0, 015 C003 ;; BAR <loadBar 0/1>,<barColour 0..255>[,<startDelay 0..255>[,<bankDelay 0..255>]]16 C003 SAVENEX BAR 0, 017 C00318 C003 ;; SAVENEX SCREEN BMP <filename>[,<savePalette 0/1>]19 C003 ; errors - [un]expected argumentssavenexBmpL2.asm(20): error: [SAVENEX] Error opening file:20 C003 SAVENEX SCREEN BMPsavenexBmpL2.asm(21): error: [SAVENEX] Error opening file: ,21 C003 SAVENEX SCREEN BMP , 0savenexBmpL2.asm(22): error: [SAVENEX] expected syntax is BMP <filename>[,<savePalette 0/1>[,<paletteOffset 0..15>]]: SAVENEX SCREEN BMP 9 ,22 C003 SAVENEX SCREEN BMP 9 ,23 C00324 C003 ; errors - missing file / invalid filessavenexBmpL2.asm(25): error: [SAVENEX] Error opening file: missing file . bmp25 C003 SAVENEX SCREEN BMP "missing file . bmp"savenexBmpL2.asm(26): error: [SAVENEX] BMP file is not in expected format (uncompressed, 8bpp, 40B BITMAPINFOHEADER header): savenexBmpL2/savenexBmpL2_16color.bmp26 C003 SAVENEX SCREEN BMP "savenexBmpL2/savenexBmpL2_16color.bmp", 0savenexBmpL2.asm(27): error: [SAVENEX] BMP file is not 256x192, 128x96, 320x256 or 640x256: savenexBmpL2/savenexBmpL2_256x8.bmp27 C003 SAVENEX SCREEN BMP "savenexBmpL2/savenexBmpL2_256x8.bmp", 0 ;.. shouldn't warn about colors because savePalette = 0savenexBmpL2.asm(28): error: [SAVENEX] BMP file is not 256x192, 128x96, 320x256 or 640x256: savenexBmpL2/savenexBmpL2_256x8.bmp28 C003 SAVENEX SCREEN BMP "savenexBmpL2/savenexBmpL2_256x8.bmp", 1 ; ok - to suppres "only 10 color" warning29 C00330 C003 ; correct one (with warning)savenexBmpL2.asm(31): warning: [SAVENEX] savePalette should be 0 or 1 (defaulting to 1)31 C003 SAVENEX SCREEN BMP "savenexBmpL2/savenexBmpL2.bmp", 2 ; will warn: savePalette=232 C00333 C003 SAVENEX BANK 034 C00335 C003 ; revisit screen errors - here no screen should work because bank was written alreadysavenexBmpL2.asm(36): error: [SAVENEX] screen for this NEX file was already stored36 C003 SAVENEX SCREEN BMP "savenexBmpL2/savenexBmpL2.bmp"37 C00338 C003 SAVENEX CLOSE39 C003# file closed: savenexBmpL2.asmValue Label------ - -----------------------------------------------------------