home *** CD-ROM | disk | FTP | other *** search
/ Acorn User 10 / AU_CD10.iso / Archived / Emulators / BBC-6502Em / 6502de / Docs / Snapshots < prev    next >
Encoding:
Text File  |  1996-05-01  |  2.6 KB  |  98 lines

  1. 6502Em: Filetype BBCSnap (&BBC)
  2. ===============================
  3.  
  4. Acorn's filetype &BBC (BBC ROM) has been extended by 6502Em
  5.  
  6. If the first line of the file is one of the following:
  7.  
  8. BBC Script
  9. BBC Tapefile
  10. BBC Snapshot
  11. BBC Snapshot101
  12.  
  13. then it is a new type of file, otherwise it is still
  14. a sideways ROM image (which 6502Em will also load)
  15.  
  16. BBC Snapshot files are saved out by the emulator, and
  17. contain the complete state of the emulator at the moment
  18. it was saved.
  19.  
  20. BBC Tapefile files can be accessed from the emulator using
  21. the casette filing system (selected by *TAPE)
  22.  
  23. BBC Script files are described in 'Scripts'
  24.  
  25. File format of 'BBC Snapshot101'
  26. --------------------------------
  27.  
  28. NB if a location is "unused", any information in it will be discarded
  29. when the snapshot is loaded. The information saved out is included for
  30. completeness.
  31.  
  32. String : "BBC Snapshot101"+CHR$ &0A (ie 16 bytes)
  33.  
  34. 256 bytes (Sheila, &FE00-&FEFF)
  35. Contains the raw values written to memory locations
  36.  
  37. Word : 6502's Accumulator in top 8 bits
  38. Word : 6502's X register in top 8 bits
  39. Word : 6502's Y register in top 8 bits
  40. Word : 6502's Flags register in bottom 8 bits
  41. Word : 6502's Stack Pointer in top 8 bits
  42. Word : 6502's Program Counter in top 16 bits
  43. Word : unused (Timer 1 mode)
  44. Word : Timer 2 mode (0=no further interrupts)
  45. Word : unused (Timer 3 mode)
  46. Word : Timer 4 mode (0=no further interrupts)
  47. Word : Timer 1          }
  48. Word : Timer 1 latch    }
  49. Word : Timer 2          }
  50. Word : Timer 2 latch    } NB top two bytes
  51. Word : Timer 3          }
  52. Word : Timer 3 latch    }
  53. Word : Timer 4          }
  54. Word : Timer 4 latch    }
  55. Word : Counter to vsync                  }  NB bottom two bytes
  56. Word : unused (Latch for above, &9C40)   }
  57. Word : unused (time until next interrupt)
  58. Word : unused (timer, used by sound code)
  59. Byte : System VIA's IFR
  60. Byte : System VIA's IER
  61. Byte : User VIA's IFR
  62. Byte : User VIA's IER
  63. Word : unused (arc_screenstart)
  64. Word : unused (tamper)
  65. Word : unused (cursor_tamper)
  66. Word : unused (romsel_on)
  67. Word : Sheila &30 (ROMSEL)
  68. Word } 
  69. Word } one byte for each ROM socket - 0=ROM, 1=RAM, 2=unused
  70. Word }
  71. Word }
  72. Word : Sheila &20
  73. Word }
  74. Word }
  75. Word }  6845 CRT's registers
  76. Word }  ("register 19" contains contents of addressable latch)
  77. Word }
  78. Word : unused
  79. Word : unused
  80. Word } 
  81. Word } Palette Registers
  82. Word }
  83. Word }
  84. Word : unused (palette_on)
  85. Word : ACCCON
  86. Byte : unused (patch_on)
  87. Byte : unused (pal_tamper)
  88. Byte : unused (lastmode)
  89. Byte : Sheila &FE10
  90. Word : unused (tapecount)
  91. Word : unused (keyaddr)
  92. Word : unused (screenstart_tamper)
  93. Word : unused (screenstart_previous)
  94.  
  95. Padding up to &210 bytes followed by memory dump
  96. (any size up to &10000, usually &8000 or &C000 bytes)
  97.  
  98.