ive been doing some testing tonight and it seems the CRTC changes broke other areas..ARGH!
batman forever demo now crashes on CRTC 1 just after the bat breaking through the glass…damnit!..works on CRTC 0 still…
wont be able to fix till the weekend.
ive been doing some testing tonight and it seems the CRTC changes broke other areas..ARGH!
batman forever demo now crashes on CRTC 1 just after the bat breaking through the glass…damnit!..works on CRTC 0 still…
wont be able to fix till the weekend.
more testing showed it wasnt the CRTC changes but some floppy emulation changes causing batman forever issues, and loading of some others (phX).. thats been fixed… and ive also spent alot of time to get the CRTC/GA matching more (almost all!) shaker screens against real CRTs and Amspirit..(past amspirit on some!).. the CRTC/GA is complete
id really like some feedback, does everything work as expected?!.. do you want to see anything else added? try to throw some demos at it and let me know if it any break!
ill work on completing the expansion emulation next..(eg mp3 player for lambaspeak/symbos)
latest version is up on github
This release makes the CRTC, the Plus ASIC, the monitor and the disc drive more accurate. The changes come from the SHAKER 2.7 screens that were compared with photographs of real CPCs and with AmSpiriT.
EDIT
not sure when the next update will be…almost all features i want added.. should only need bug fixes if any are found… i want to see if i can add cpctelera and C compiler, but it may not workout…
This release adds new hardware and a new file format: three mouse interfaces, the X-MASS IDE interface, CRO ROM containers, and more of the M4 board and the LambdaSpeak 3. It also fixes SymbOS on a 128K CPC and a line in the Plus sprites.
Select one in Input > Mouse interface. Click the picture to use the mouse; F12 or the middle button lets it go. While a Symbiface II or III is fitted, the interfaces stay off, because the Symbiface has its own mouse.
On the command line: --mouse-interface amx|kempston|multiplay-a|multiplay-b.
CRO files ( GitHub - Logon-System/CRO-Format: CRO Format : Containers ROms for Amstrad CPC · GitHub ) open everywhere a .cpr opens: the menus, drag and drop, --cart, and the M4’s |CTRUP.
--cro-group.|M4ROMOFF resets the CPC with the M4 ROM off.|CTRUP and |CTR put a cartridge in the M4’s flash and start it, on a Plus or a classic CPC (Alcon runs).--keys: a token like ShiftLeft+Digit2 holds its keys together.new feature coming soon!.. this makes it simple to use cpctelera and C code (via SDCC or z88dk)
cpctelera doesnt even need “installing” just unzip it to a folder, and point the gui to it via settings, same with SDCC/z88dk.
i do not need to package cpctelera or SDCC/z88dk with the emulator either so no licencing or anything required..they are downloaded separately if you want to use the C assembler feature..
CPCSyntaxError will build everything and put it into memory and run it..no cygwin needed
im not sure how this is going to work on linux/macos, but anyone on them ‘should’ be able to install cpctelera and sdcc like they normally would, and just point the emulator to the path
Waoh… I will definetly be lloking at it sooner or later ![]()
all the examples in cpctelera_next build and work as expected..theres a few extra things needed but i cant get to them until the weekend!..
This release adds a C compiler to the assembler window. It builds C programs with SDCC and CPCtelera’s library, and it does CPCtelera’s asset steps. You do not need Cygwin, make or bash.
Open a .c file in the assembler window. The window changes to C mode:
cfg/build_config.mk gives the project name, the code address, the source folder and the compiler flags._main. On a GX4000 there is no firmware, so the ROMs are paged out and the program starts directly.The window reads the project’s cfg/*.mk files and does each step as CPCtelera’s make files do:
.bin file in the source folder becomes a C array.A step runs only when its output is older than its input. Convert assets runs all of them.
All 58 example projects of CPCtelera’s “next” branch build and run. The packed data is byte for byte the same as the output of CPCtelera’s own programs and its cpct_pack script.
Some examples need more than the build:
diskSectors needs a disc image, which this release does not make.tilemap_hwscroll_asic needs a Plus model.cpcse --cbuild <main.c> [--cpctelera <folder>] [--sdcc <folder>] [--codeloc <address>] [--force-assets] builds a project and runs it. Use it with --frames and --shot for a picture with no window.
Stepping through C source lines in the debugger.
Yep, that one is a must ![]()
Also :
run to cursor? you mean breakpoints?.. you can mark a line for it to pause the emulation… and then see the functions in the debugger/disassembler
heres a WIP.. with the assembler and debugger windows on a 2nd monitor!
Most IDEs have the feature where you can click a line of code, select “run to cursor” and then it will execute until it reaches that point, ignoring other breakpoints. It can be a fast way of drilling down into the source of a problem without having to strip out a lot of breakpoints first (especially ones inside loops etc)
This release completes the SYMBiFACE III: its sound card, its functions and its WiFi, with web radio. It also adds a volume control for each sound device, finishes the C mode of the assembler window, and adds H.264 recording and a separate GFX9000 screen window. It contains two pull requests from AndyHOvine.
The SF3 emulation is now built from TMTLOGIC’s SF3 ROM, the SF3’s own BASIC programs, and Prodatron’s SymAmp, SF3Monitor and network daemon sources.
Set the SF3’s USB stick and SD card folders in Expansions > Symbiface when SF3 is selected.
|VER, the clock (|RSTIME, |RGTIME, |RSDATE, |RGDATE), the buzzer (|BUZZ) and the measurements.The ROM banks and file functions (62, 63, 66), DFU, MIDI files and the FM radio’s sound. These functions answer with the SF3’s error status and an error text, so a program reports the error and does not stop.
Audio settings > Sound sources has a slider for each device: the CPC (AY), DigiBlaster / AmDrum, speech, the LambdaSpeak 3 MP3 module, the SYMBiFACE III, the PlayCity and the OPL4. Each goes from 0 to 200% of the device’s own level. A right click sets 100%.
-i, -o, -s, -O.\, and the key left of 1 is the CPC’s [.LambdaSpeak 3 in its Amdrum mode takes all &FFxx ports. With it in that mode, the SF3’s sound card ports do not answer.
Fast and impressive evolution…
thanks!.. claude works fast when it has the right documentation!
heres some pics of the new Advanced CRT filter from Andys pull requests..it has a bunch of options to tweak…
and heres a quick recording
and some Batman Forever…coz why the hell not! ![]()
Really nice! Congratulations on the work, and thanks for sharing it. It’s impressive how much functionality you’ve managed to put into it… I like the interface and how everything is organised. It makes the emulator really pleasant to use. A small suggestion about the timing section in the debugger, would it be possible to add a button to reset the machine T counter to 0 and an option to display the value in NOP instead of ticks. It would also be nice to have a grid between the CPC pixels in the graphics finder when zooming inwithout antialiasing.
Keep up the good work, and thanks for all the time and effort you put into making such a great tool.
Hello,
the ROM configuration is not being saved. Best regards, KARL-HEINZ MAYER
This release adds a CRO editor, WinAPE syntax and several programs in the assembler window, separate screen settings for the GFX9000, the HD20 hard disc, and the SYMBiFACE III’s SD card and boot ROMs. It also has a second audit: the emulator now reports a crash, and seven memory faults in the assembler are fixed.
If the emulator crashes, it does not just close. It writes a report and shows a message box with the report’s name.
crash-<date>-<time>-<number>.txt, in the same folder as cpcse.ini.Choose WinAPE in the syntax list. & is a hex prefix, expressions work as in Maxam, and WinAPE’s directives work:
byte, text, word, rmem, defl, str, charset, align, defs with several regions, let, if/ifnot/ifdef/ifndef/elseif, while/wend, repeat/rend, nocode/code, limit, print, read, relocate_start/relocate_end/relocate_table.end leaves out the rest of the source. stop stops with an error.brk makes RST &30 and sets a debugger breakpoint on it. run address,breakpoint sets the breakpoint.break, case, switch and default are labels, as in WinAPE.Not supported: checksum, memory(), and the output files of write, write direct and save. The code always goes into the machine. checksum gives an error, not a wrong value.
Seven memory faults in RASM could crash the emulator when you assembled a short line, for example repeat l on the last line, f{, y{ equ 1 or many < signs. They now give an error message. RASM’s BREAKPOINT directive now sets a debugger breakpoint.
Tools > CRO editor makes and changes CRO files (Logon-System’s ROM containers):
When a CRO with several groups is loaded, a box asks which group to run.
SD/CPC/ROMTABLE are used. The boot ROMs show when the machine starts. The OLED display shows its start screen.i also made some user documentation that can be found here.. Home · WacKEDmaN/CPCSyntaxError Wiki · GitHub
Hello,
Suggestions for expansion: Ambireo SD card
Vortex memory card SP 64 - SP 512
Load + save multiple configurations.
Best regards,
Karl-Heinz Mayer
i have the Albrieo on the list, but only for its serial connection.. no SD or mouse, these can be already done with the other expansions already done…
i dont see any point for the Vortex memory, they are too old and rare.. not point emulating it when theres only a handful of people that have them..
you can sort of load and save configs with the quick save slots… but it can be a little hard to work out how to do… ill look at doing separate machine config slots…
wont be any updates till next weekend (i hit limits quick this week!)
Hello,
Thank you very much for the Dobbertin HD20. It’s also featured in CPCEMU and MAME. Now I can prepare Setup.bin for my poke loader on floppy disk to install games. Winape is also supported in RASM. This allows me to use my source code in your emulator without any changes. Thanks again and keep it up!!! Mayer Software, Karl-Heinz Mayer
This release adds the Albireo board, CPCtelera_next 1.04a support in the C window, and the original RASM from its GitHub. It also has CRTC and Plus fixes that the SHAKER test screens and a Plus demo showed.
Expansions > Albireo fits one or two Albireo boards. Each board has a CH376 chip with an SD card and a USB port.
--albireo <folder>, --albireo-usb <folder|mouse|none>, --albireo2 <folder> and --albireo2-usb <folder|mouse|none>. Use - for a board with no SD card.Not emulated: the UART and the interrupt line of other board versions. The software must poll the chip, as on the Albireo 2.0.
CPCtelera_next 1.04a ( GitHub - Arnaud6128/cpctelera: Astonishingly fast Amstrad CPC game engine for C developers · GitHub , branch cpctelera_next) now builds all its 60 examples without Cygwin. The new asset steps are:
Other changes:
--nogenconstprop.cache folder beside the program (or under CPCSE_HOME). They are not in the system’s temporary folder.RASM is now the original RASM (EdouardBerge/rasm, commit 0e25710), with none of our own changes.
& is a hex prefix and expressions work as in Maxam. RASM knows these WinAPE directives itself: BRK, LIST, NOLIST, LET, CHARSET, RELOCATE_START, RELOCATE_END and RELOCATE_TABLE.BYTE, TEXT, WORD, RMEM, DEFL, END, WRITE, SAVE, CHECKSUM, memory() and RUN address,breakpoint.BRK label sets a debugger breakpoint.CPC\ROMTABLE\BANKnnn) works with TMTLOGIC’s ROM manager SF3-RM.BAS: the ROMs fitted now, read and save a ROM, ROM names, the banks and the start bank.|SROM of the SF3-RSX ROM puts a ROM into a slot at once.This release adds the serial link of the Albireo 1.1 board. It also adds the last CH376 command that was not emulated.
The Albireo 1.0 and 1.1 boards have a UART (an SC16C650B) with a USB serial link to another computer. The Albireo 2.0 has no UART.
To fit it, tick Serial link (Albireo 1.1) under Albireo 1 in Expansions.
The UART is at &FEB0-&FEB7. It has 32-byte FIFOs, automatic RTS/CTS and Xon/Xoff flow control, and a loopback mode. Its clock is 24 MHz, so the line can run at 1.5 Mbaud.
The far end can be:
For a PC program that opens a COM port, use a virtual serial port pair (for example com0com).
Interrupts: the UART sends its interrupt to the CPC’s INT when MCR bit 2 is 0, and to NMI when MCR bit 3 is 0. These sources can also cause an interrupt:
DIP switches:
On the command line: --albireo-serial <line> (tcp:host:port, listen:port, com:COM3, loopback or -) and --albireo-switches 1100 (S1 to S4).
The test program of the Albireo manual (16c650.bas) runs. With a loopback plug, it gets back all the bytes it sends.
The CH376 now does command 50H. This command sends a SCSI command to a USB stick: INQUIRY, READ CAPACITY, TEST UNIT READY, REQUEST SENSE, MODE SENSE, START STOP and READ/WRITE (10) with no blocks. As on the real chip, it gives an error on the SD card.
macos-14 build machine, and the automatic build of v0.13.0 failed. The v0.13.0 packages came from a later build of the same source.new update with a bunch of fixes… only a small amount of Shaker screens not matching exactly but close.. i manually went through and marked ~2000 shaker images as good or bad, across all the CRTCs, twice!.. also added the machine config load/save option
This release adds machine profiles. It also has many CRTC, Gate Array and monitor fixes. They come from a screen-by-screen review of the SHAKER test suite against photos of a real CPC and against AmSpiriT-lite.
You can now save a machine with all its expansions in a file, and load it again with one click.
.cpcmachine file on the window, or start with --machine <name or file>.machines folder beside the program. They are text files with the same lines as cpcse.ini, so you can also write them by hand.This release lets a classic CPC load cartridges, adds an Expansion port window to the debugger, and corrects the CM14 monitor on the 6128 Plus.
&DFxx selects the other pages. On a real CPC, an M4 Board loads cartridges the same way.Debug → Expansion port shows the CPC’s 50-way expansion connector.
&FBEE. A real bus has the same clash.these will be the last updates for a while, unless i find some bugs that need fixing.. the CRTC/GA/Monitor emulation is now 99% complete and i wont be doing any more work on them…
quick bug fix for plus/gx4000 scrolling, gnggx is now nice and smooth like it should be!
This release corrects the soft scroll of the Plus and the GX4000.
&6804) now covers the first character that the CRTC displays. Before, a game that scrolls with it showed a column of characters at the left edge of the play area (for example Ghosts’n Goblins GX).