Monday, May 27, 2019

#CSpect V2.8.0

EDIT: You can now download pre-created SD Card images http://www.zxspectrumnext.online/cspect/index.html

This version has the new ZX Spectrum ROM support, along with the SD Card image emulator. This allows you run the full ZX Spectrum Next ROM and all it's OS features. This allows you to write BASIC programs, DOT commands or just browse the SD card using the built in menus.
There are also a couple of bug fixes, and a couple of new SNasm commands added.


SNasm V2.0.17
  • Fixed “PUSH $1234” opcode (push order wrong)
  • Added “Bank” and “BankOffset” commands to get the physical address of a label.


#CSpect V2.8.0 changes
  • Fixed -esc command line, hadn't been ported from 1.x version
  • Swapped Right Shift for SYMSHIFT to Right Control. Both shifts map to CAPS SHIFT. "," still works as SYMSHIFT
  • Fixed PUSH XXXX opcode in debugger. Was displaying low/high. Now fixed to display high/low.
  • Added "-log_cpu" for tracing the CPU instruction stream
  • Added back in Label "switch" to debugger
  • Missing "LDWS" opcode added to disassembler
  • Fixed bug in ULA off mode where the border was still being drawn
  • Fixed bug in 512 tile mode, where it was always above the ULA screen
  • Added +3 ROM emulation (without RAM only mode)
  • Added divMMC ROM/RAM hardware support via port $E3
  • Added divMMC SD card support via ports $E7 and $EB
  • SD Card SPI commands supported:CMD0,CMD1,CMD8,CMD9,CMD12,CMD13,CMD16,CMD17,CMD24,CMD55,CMD58,ACMD41



SDCARD setup

  • Download the latest SD card from https://www.specnext.com/category/downloads/
  • Copy onto an SD card (preferably between 2GB and 16GB as it's your Next HD for all your work - I use a 16GB image)
  • Copy the files "enNextZX.rom" and "enNxtmmc.rom" from this SD Card into the root of the CSpect folder
  • Download Win32DiskImager ( https://sourceforge.net/projects/win32diskimager/ )
  • make an image of the SD card
  • start CSpect with the command line...

    "CSpect.exe -w3 -zxnext -nextrom -mmc=[sd_card_path]\sdcard.img"

I'd also recommend downloading HDFMonkey, which lets you copy files to/from the SD image.
This tool can be used while CSpect is running, meaning you can just reset and remount the image
if you put new files on it - just like the real machine.
This tool also lets you rescue files saved onto the image by CSpect - like a BASIC program
you may have written, or a hiscore file from a game etc.
I found a copy of this tool here: http://uto.speccy.org/downloads/hdfmonkey_windows.zip

At some point, I'll allow mapping of the cursor keys to what BASIC would like to save using SHIFT all the time...


2 comments:

Unknown said...

This is very cool - thanks for adding SD card support, that was one of the few things where I still needed to use Zesarux and I'm happy that I can now do it all in Cspect.

IncaIB said...

Gracias por todo su trabajo