Monday, January 06, 2020

#CSpect V2.12.5

Fixed plugin loading. This was due to the new loading/reset system that was nuking loaded plugin mappings.
I've also added a "Tick" to the plugin interface which gets called once per emulated frame, along with a debugger call which allows you to tell CSpect to enter the debugger. This is handy if you need to debug the operation that "just" happened.
Lastly... I've included a very simple plugin example, along with the interface .CS files to look at.

#CSpect V2.12.4 changes
  • Border now comes from fallback colour if paper/ink mode is 255 (as per hardware)
  • Fixed Plugin loading. Was broken due to new system loading+resetting.
  • Added new "Tick" to iPlugin interface, called once per emulated frame
  • Added Debugger() call to CSpect interface, allowing you to enter the debugger from the emulator
  • Added Plugin example (and current interface)


Maziac said...

I tried the Spec 2.12.5. The crash with the plugin on macOS is gone now.
But still the plugin Write/Read routines are not called when accessing the UART.

For the new Tick command:
What is an emulated frame? I.e. when is it called?

Anonymous said...

As an FYI, windows defender is tripping up saying this version is a trojan. Probably hitting a false positive but just so you are aware.

Space Fractal said...

Microsoft have removed the detection for this file (im sent the file to analyse). so its should works with the newest Microfoft Defender differens. So there is NO virus in this emulator. A least not in 2.12.5.

Sorry for eventuelly spelling here.

A. Meltinus said...


I'd like to try your emulator, however almost every version except the very old 1.x-versions get a virus warning from Avast. Additionally it warns me from When I try to access the download page.
As I know that Avast isn't the brightest child in class I uploaded the exe to Virustotal: 30 of the 71 scanners flag the exe as infected.
I guess it's a false positive but would like to let you know.


Mat Recardo said...

What's the likelihood of getting an option to point the cspect in next mode to a folder instead of an image for its boot SD? currently juggling between hdfmonkey, winimage and explorer.

jonv said...

Just to let you know Mike the Download latest CSpect link downloads 2.11.9

_trf said...

Hi, I tried using this emulator but i'm having a bit of an issue, I downloaded openal32.dll from here and put it in cspects folder but when I try to run cspect with sound I lose video, is this a known bug and if so is there anything I can do to fix it?

Tigerskunk707 said...

First off, thanks for you work on this.. :)

A question, though. How do I get into "next mode"? tried using -zxnext on commandline, but there seems to be no difference to normal mode after using that.. :/


luwii said...

I'm feeling like an idiot here. Can't seem to get it to run. There is a slight pause after starting it up, and then nothing.
With starting it up I mean, I tried the command line in the readme with my own image or one that has been downloaded. Also tried HDFM-Gooey. Same result

Using Windows 10 32bit, with default Windows Defender. Copied the two roms to CSpect folder, installed the sound software. Any thoughts or ideas? Would love to play around with this.

luwii said...

Digging a bit more, I found this in the Event Log. (Reported by .NET runtime)
I'm logged in as a local Admin, and ran this with Admin rights. CSpect folder is accessable by all. I also tried V2_12_2, same error.

Application: CSpect.exe
Framework Version: v4.0.30319
Description: The process was terminated due to an unhandled exception.
Exception Info: System.AccessViolationException
at OpenTK.Graphics.OpenGL.GL.CreateProgram()
at A.F.A(System.String, System.String, System.String)
at A.u.A(System.String[])

Unknown said...

Cspect not work on integrated Intel HD videocards since version 2.10.
Which shader model required for emulator? (intel HD supports pixel and vertex shaders v3.0 but cspect show black screen only)
Is it possible enable old render engine?