Blame | Last modification | View Log | Download
# file opened: noslot64k_device.asm1 0000 DEVICE NOSLOT64K2 0000 ; check default page mapping 0 (and ORG 0) - write marker3 0000 30 30 DB "00"4 0002 ; verify defaut is slot 0 (the only slot)5 0002 PAGE 25 0002 ASSERT {0x0000} == 05 0002 ORG 0x00005 0000 32 32 DB "22"6 0002 PAGE 36 0002 ASSERT {0x0000} == 06 0002 ORG 0x00006 0000 33 33 DB "33"7 0002 ; verify there is single slot and 32 pagesnoslot64k_device.asm(8): error: [SLOT] Slot number must be in range 0..0, or exact starting address of slot8 0002 SLOT 1 ; errornoslot64k_device.asm(9): error: [PAGE] Page number must be in range 0..31: 329 0002 PAGE 32 ; error10 0002 ; do few more verifications, reading previously modified pages11 0002 SLOT 011 0002 PAGE 011 0002 ASSERT {0x0000} == "00"12 0002 SLOT 012 0002 PAGE 212 0002 ASSERT {0x0000} == "22"13 0002 SLOT 013 0002 PAGE 313 0002 ASSERT {0x0000} == "33"14 0002noslot64k_device.asm(15): error: [PAGE] Page number must be in range 0..31: -115 0002 PAGE -1 ; error16 000217 0002 ; try wrap-around MMU mapping, filling 80kiB18 0002 MMU 0 n, 4, $E00019 E000 ASSERT 4 == $$20 E000 44 44 44... BLOCK 80*1024, $4421 2000 ASSERT 6 == $$22 2000# file closed: noslot64k_device.asmValue Label------ - -----------------------------------------------------------