Changes

Jump to: navigation, search

Snapshot

1,580 bytes added, 18:59, 1 November 2017
Added information on ACE snapshot chunk support
5. Winape allows a 4MB RAM expansion to be enabled but doesn't save the additional RAM in the snapshot.
 
=== BRKC Chunk (ACE) ===
 
This chunk is written by ACE when some breakpoints are set. When loading a snapshot, the breakpoints found in this chunk are added to the one already installed.
 
{|
|-
| ''Offset (Hex)''
| ''Length''
| ''Description''
|-
| 00
| 1
| Breakpoint type (0:Execution, 1:Memory, 2:I/O port)
|-
| 01
| 1
| Memory access mode (0:R/W, 1:R/O, 2:W/O)
|-
| 02
| 1
| Breakpoint runtime mode (0:Break, 1:Watch)
|-
| 03
| 1
| Reserved
|-
| 04
| 2
| Breakable memory/port (MSB first)
|-
| 06
| 2
| Breakable memory/port mask (MSB first)
|-
| 08
| 1
| Match value
|-
| 09
| 1
| Match value mask
|-
| 10
| 2
| Breakable memory size (MSB first)
|-
| 12
| 4
| Breakpoint activation step (MSB first)
|-
| 16
| 128
| Breakpoint condition to match (NULL terminated string) (note 1)
|-
| 144
| 64
| Breakpoint user name (NULL terminated string)
|-
| 208
| 8
| Reserved
|}
 
Notes:
 
1. The condition is expressed using ACE syntax (similar to BASIC with AND/OR/XOR/NOT/+/-/=...).
Allowed additional syntaxes are:
*&, # or 0x for a hexadecimal number.
*% or &x for a binary number.
*AF, BC, HL, IX... for a 16-bit Z80 register.
*A, B, D, IXh, IXl... for an 8-bit Z80 register.
*FlagC, FlagNC, FlagM... for a Z80 flag.
*LineCount for the line number.
*LineCycle for the µs count on the current line.
*MMR for the memory mapping register.
*UpperROMOn for the paging state of the upper ROM.
*UpperROMNum for the selected upper ROM number.
*LowerROMOn for the paging state of the lower ROM.
*LowerROMNum for the selected lower ROM number.
*ASICPageOn for the paging state of the I/O ASIC registers page.
 
[[Example :]] FlagC AND (HL=DE OR HL=&5000)
=== CPC+ Chunk ===
This chunk is supported by Arnold, Winape and , No$CPC. I am unable to test Ace so I don't know if it supports this chunk or notand ACE. Arnold , Winape and Winape ACE will save the block when Plus configuration enabled. No$CPC will save the block if the Plus features have been unlocked.
{|
194
edits