Rev 539 | Blame | Compare with Previous | Last modification | View Log | Download
# file opened: next_device.asm1 0000 DEVICE ZXSPECTRUMNEXT2 0000 ; check default page mapping 14, 15, 10, 11, 4, 5, 0, 1 (and ORG 0) - write markers3 0000 45 45 DB "EE"3 0002 ORG 0x20003 2000 46 46 DB "FF"3 2002 ORG 0x40003 4000 41 41 DB "AA"3 4002 ORG 0x60003 6000 42 42 DB "BB"4 6002 ORG 0x80004 8000 34 34 DB "44"4 8002 ORG 0xA0004 A000 35 35 DB "55"4 A002 ORG 0xC0004 C000 30 30 DB "00"4 C002 ORG 0xE0004 E000 31 31 DB "11"5 E002 ; verify defaut is slot 76 E002 PAGE 26 E002 ASSERT {0xE000} == 06 E002 ORG 0xE0006 E000 32 32 DB "22"7 E002 PAGE 37 E002 ASSERT {0xE000} == 07 E002 ORG 0xE0007 E000 33 33 DB "33"8 E002 ; verify there are 8 slots and 224 pagesnext_device.asm(9): error: [SLOT] Slot number must be in range 0..7, or exact starting address of slot9 E002 SLOT 8 ; errornext_device.asm(10): error: [PAGE] Page number must be in range 0..223: 22410 E002 PAGE 224 ; error11 E002 ; do few more verifications with other slots, reading previously modified pages12 E002 SLOT 112 E002 PAGE 012 E002 ASSERT {0x2000} == "00"12 E002 SLOT 212 E002 PAGE 112 E002 ASSERT {0x4000} == "11"13 E002 SLOT 113 E002 PAGE 213 E002 ASSERT {0x2000} == "22"13 E002 SLOT 213 E002 PAGE 313 E002 ASSERT {0x4000} == "33"14 E002 SLOT 114 E002 PAGE 414 E002 ASSERT {0x2000} == "44"14 E002 SLOT 214 E002 PAGE 514 E002 ASSERT {0x4000} == "55"15 E002 SLOT 115 E002 PAGE 1015 E002 ASSERT {0x2000} == "AA"15 E002 SLOT 215 E002 PAGE 1115 E002 ASSERT {0x4000} == "BB"16 E002 SLOT 116 E002 PAGE 1416 E002 ASSERT {0x2000} == "EE"16 E002 SLOT 216 E002 PAGE 1516 E002 ASSERT {0x4000} == "FF"17 E00218 E002 ; check the Z80N instructions are enabled by the device selection19 E002 ED 91 07 02 nextreg $07,220 E006next_device.asm(21): error: [PAGE] Page number must be in range 0..223: -121 E006 PAGE -1 ; error22 E006# file closed: next_device.asmValue Label------ - -----------------------------------------------------------