?login_element?

Subversion Repositories NedoOS

Rev

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

  1. ; test only valid variants in this test, the invalid/error states are in savedevB.asm
  2. ; (because existence of LST file would kill the result of binary compares from .cli run)
  3. ; (and .cli is used to make the test work with gzipped binaries)
  4. ; The test binaries do contain also ordinary ZX128 default RAM area values (CLS, sysvar,
  5. ; stack), so any changes to the device in future will make binaries obsolete = update it.
  6.     DEVICE ZXSPECTRUM128
  7.     MMU 0 3, 0      ; map pages 0,1,2,3, write tags into them
  8.     ORG $0000 : DB "00" : ORG $4000 : DB "11" : ORG $8000 : DB "22" : ORG $C000 : DB "33"
  9.     MMU 0 3, 4      ; map pages 0,1,2,3, write tags into them
  10.     ORG $0000 : DB "44" : ORG $4000 : DB "55" : ORG $8000 : DB "66" : ORG $C000 : DB "77"
  11.     ; save 128kiB binary blob of whole device memory
  12.     SAVEDEV "savedev1.bin", 0, 0x0000, 0x20000
  13.     SAVEDEV "savedev2.bin", 1, 0x0000, 0x20000-0xBFFE   ; save second blob from "11".."66"
  14.     SAVEDEV "savedev3.bin", 0, 0x4000, 0x20000-0xBFFE   ; third blob from "11".."66"
  15.                         ; ^^^ by using start offset instead of page
  16.