Repository navigation
CPCSyntaxError v0.17.0
A large update of the tools and the interface.
Assembler and C windows
- Undo and redo (Ctrl+Z, Ctrl+Y or Ctrl+Shift+Z) for each tab. The history stays when the editor loses the focus (for example after F9).
- Find and replace: Ctrl+F, Ctrl+H, F3 and Shift+F3, and Enter in the find box. "Aa" matches the case, "Word" finds whole words only. All the matches on the screen are marked. Replace all is one step for Undo.
- Go to definition: F12, Ctrl+click, or the right-click menu. It looks in the file on show, then in the other files of the program, then in the symbols of the last build.
- A Labels tab lists the names the file defines (labels, EQU and macros; in C, functions,
#defineand globals). A click goes to the line. - Ctrl+/ puts a comment on or off for the selected lines (
;or//). Tab and Shift+Tab move the selected lines in or out. - A NOP column shows the cost of each line in NOPs, also for lines with several instructions separated by
:. The costs were measured on the emulated CPC. Put the mouse on a cost to see each instruction's cost. - Drag a
.asm,.cor.basfile onto the window to open it. - RASM is now version 3.3.3 from its GitHub, with no changes of ours.
BASIC window
- It opens the files BASIC saves: tokenized, with or without an AMSDOS header, also protected ones. ASCII files open as before.
- Find and replace (Ctrl+F, Ctrl+H, F3), with "Undo the replace".
Debugger
- Watches window: an address or a label (with an offset, such as
table+2), as a byte or a word. A value that changes shows in another colour for a second. Type a new value and press Enter to write it. - Memory → Search: bytes (
??is any byte), text (in any case) or a word, in the Z80's 64K or in all the RAM. A click on a result shows it in the hex editor. - Export .asm (in the disassembly): a range of memory as RASM source, with labels for its jumps and calls. The export is assembled again, and what does not give back the same bytes is written as
db. The OS and BASIC ROMs of the 6128 come back byte for byte. - The timing line shows the difference to 19968 NOPs (one frame), when the count is 22000 NOPs or less.
- PSG tab: a scope for each channel, and a switch to mute each one (the sound only; the chip does not change).
Graphics Finder
- Draw on the picture, as in WinAPE. The pens of the mode are shown with their numbers, in their real colours. Tools: Pen, Line, Box, Filled box and Fill. A right-click on a pixel takes its pen.
- Undo and redo (Ctrl+Z, Ctrl+Y) for each stroke, shape, fill, paste and import.
- Right-click a pen to change its ink: the 27 CPC colours, or red, green and blue on a Plus.
- Copy tile and Paste tile.
- Import PNG into the selected tile: each pixel gets the pen with the nearest ink.
Interface
- Themes (Window → Settings → Colours and themes): a colour for each part of the interface, five themes included, and your own themes saved as
.cpcthemefiles. The default is the look the program always had. - Command palette (Ctrl+Shift+P): type part of a command's name and press Enter.
- Copy the screen to the clipboard (Ctrl+Shift+C, or the File menu).
- Help → Keyboard shortcuts: every key of the program in one window.