Friday, May 20, 2022

#CSpect 2.16.3


SNASM V3.1.1
  • Fixed bug where LD A,(IX-??) wasn't recognised



#CSpect V2.16.3 changes


Mainly some CTC timer fixes, and fixing the disassembler to display LD ?,(IX/IY-??).
  • Fixed CTC timers, should now be correct
  • CTC cascading timers added (I think)
  • Fixed disassembler, "LD A,(IX-??)" should now be displayed correctly
  • Interrupts are now disabled im start of IM2





Sunday, April 24, 2022

#CSpect 2.16.2


#CSpect V2.16.2 changes


Minor update for SNASM V3.1.1 - I didn't realise it was so out of date.
  • Fixed bug where it didn’t report undefined symbols
  • Added SNA export back in (48k and 128k)
  • Fixed a bug with Macro usage in the first ASM file
  • Fixed 6502 assembling – and PRG export
  • Added “SET” back in for 6502 (can also use DEF)
  • Put in an error when defining a label called “Filesize”
  • Added 45GS02 CPU core for mega65 (opt 45gs02)
  • Added “ADCQ”, “ANDQ”, “ASLQ”.
  • Added CLD after all 32Bit instructions as “work around” for HW bug
  • Fixed “INC A” and “DEC A” instructions
  • Fixed a crash trying to read a file from a non-existant directory



#CSpect V2.16.0 changes


Lots of fixes and a few new additions. Improved the new divMMC autopaging for directly loaded NEX files. Added the -mouse option to try and help MAC users a little, and also fixed up the copper when large DMA blocks were running. A nice new feature is being able to visualise both copper and Raster IRQ splits using CTRL+ALT+S (via the copper plugin). Even for non-devs, this is a funky little tool to show just how complex things can get!
  • Added directory functions to RST$08 plugin
  • Fixed screen rendering time a little.
  • on .NEX load, regs $B8-$BB are set to $82,$00,$00,$F0 - same as the OS.
  • Added reg $0A = bit 2, to be able to disable DivMMC auto mapping
  • Fixed crash when typing "BR :" in debugger
  • Added a "-mouse" command line option. This will disable the "grabbing" of the mouse.
  • When specifying an SD card image, you no longer have to specify -zxnext and -nextrom on the command line as well
  • Fixed Copper when the DMA is running and blocking CPU, now counts DMA "TStates" instead of CPU ones
  • .NEX files will automatically disable DivMMC PC address memory mapping
  • Added -divmap command line, so you can force memory mapping of the DIVMMC "on" when directly loading a .NEX file
  • Fixed a raster interrupt issue
  • Added -copwait command line so you can easily visualise where the copper splits are
  • Added -irqwait command line so you can easily visualise where the raster irq splits are
  • You can now toggle the copper and irq visualiser with CTRL+ALT+S via the copper disassembler plugin
  • You can now "set" command line globals via the Plugin interface





Tuesday, March 29, 2022

#CSpect V2.15.2


#CSpect V2.15.2 changes


Updated so that the very latest OS now works by adding new Next Registers $B8-$BB, along with a few updates, changes and fixes.
Also please note, if you take over the "whole" machine to haved a full RAM machine, you will now need to set registers $B8-$BB to be able to jump to address $0000, or the DivMMC may well page in.
  • DeZogPlugin added to main distro so it remains upto date.
  • Added stackless NMI support
  • Reset register $02 added
  • Added NextRegs $B8 to $BB for DivMMC direct paging control
  • Current ROM and DivMMC registers added to rewind history
  • F6 now cycles through turbo speed settings
  • F5 Now takes a screen shot (was on CTRL+F3)
  • Fixed a rendering glitch when estimates for the right HBlank timing are "missed" and the line isn't drawn.
  • -log_cpu removed. Rewind probably replaces the need for this.
  • Updated RST$08 read/write to return values in BC,HL and DE as described in NextZXOS
  • Layer 2 banks can now be in the full 2Mb (regs $12 and $13)
  • Parallax demo updated to work with new $B8-$BA registers





Tuesday, December 07, 2021

#CSpect V2.15.1

#CSpect V2.15.1 changes

  • Fixed SD card access - SpecNext IMG files now boot again


#CSpect V2.15.0 changes


Some fixes and a couple of new open source extension.
  • Fixed a crash when trying to get file info on a file that can't be found (or opened)
  • Fixed ULA colour 3 (where colours are 0-15) on a loaded NEX file.
  • Fixed Border colour when ULA Palette scale set to 255, but ULANext mode is disabled
  • All RST $08 operations have been moved to a new open source extension esxDOS.dll - lightly tested
  • Added Copper Read/Write to extension system - allowing for a copper debugger/assembler etc
  • Added single byte peek/pokes to extension interface for simpler access
  • OpenTK upgraded to v3.3.2, any newer version won't install as it's incompatible with .NET frameworks
  • Added initial open source Copper disassembler/viewer - "ctrl+altc" to open
  • Open source extensions added to Github





Sunday, August 29, 2021

#CSpect V2.14.8

#CSpect V2.14.8 changes

  • Fixed a L2 scrolling issue - that I'd just added.... *sigh*

#CSpect V2.14.7 changes

  • Fixed a L2 clip scroll offset issue

#CSpect V2.14.6 changes

  • Forgot to switch on the new rendering again - now done.

#CSpect V2.14.5 changes

  • Fixed L2 left clip (I think)

#CSpect V2.14.4 changes


A few fixes have been requested by devs, so I've done a quick new version.
  • Fixed L2 320 and 640 clip window
  • Fixed LD_R_A in debugger to "LD R,A"
  • Fixed a bug when writing the copper control byte, where it would reset the lower byte of the copper write address
  • Added the raster offset register ($62) but mostly untested.
  • Screen rendering now starts in the HBlank, not at the end of the line, allowing changes for the next line to take place in the HBlank.





Wednesday, June 02, 2021

#CSpect V2.14.3

#CSpect V2.14.1 changes

A few fixes and some new features, and I've also added in a beta of my SD Card Editor, allowing you to easily copy files off the SD card using a nice explorer sty;e window.

I will also draw peoples attention to the new analytics that have been added. I've been wondering where I should direct my effort, so this is trying to get a feel for how people are using it. It's mainly startup counters, major function key presses, and command line options. There is a switch to disable if you feel uncomfortable, but please keep it enabled if you can, it'll help the future of the emulator. I may also share some stats in the future as I'm sure folk will be interested in usage numbers etc...

Minor update V2.14.3
  • Fixed BIS and Warhawk crash
  • Odd crash with last version, rebuilding zip to try and fix
  • Now alerts you to a new version
  • Did more sprite window fixes
  • Altered FLASH rendering

Minor update V2.14.1
  • Added a check for AY regs above 16, as a common music driver has a bug in it
  • Timers are now reset on F3
  • IRQ TStates are reset back to 30 Pre-Tstates. This isn't correct but helps some games work better.
  • Stopped a crash on exit from fullscreen

Changes V2.14.0
  • Fixed esxDOS Read/Write so it's now returning NEXT pointer IX instead of HL.
  • You no longer need to extract ROM files to run in full SD card mode, they will be copied out the SD card image directly.
  • Sprite right edge clip fixed - I think.
  • AY registers are now readable
  • Some very basic analytics are now collected. Each startup, command line options etc. "-analytics" to disable. Please leave it on if you can, as it'll help me direct developement effort.
  • I have added my new SDCardEditor into the archive. This is very much just a beta, but lets you easy copy files from the SD card. Full editing coming on this.
  • The latest windows update now causes some nasty stalling. To reduce (but not remove), go into "settings" and search for "game mode" and switch it off. This will help a little.





Wednesday, March 03, 2021

#CSpect V2.13.01

#CSpect V2.13.01 changes

A few fixes and some new Next hardware that's coming soon....
  • Put some guards around break point setting to check ranges a little.
  • Symbols are uppercased on load (they aren't case sensitive)
  • Fixed memory window. Any address < $10000 is not a physical address, its the 64k mapped. If you need this, use bank/offset
  • Fixed some BASIC key issues - holding down control keys etc
  • Fixed a ULA global transparancy issue
  • Fixed NEX loading and initialising of ULA colours
  • Rewrote the ULA colour system - was a mess.
  • Fixed some Timex rendering issues
  • Basic CTC timers (4) added. Timer mode only, no cascading. Timers can generate IRQs.
  • NextReg $CC and $CD - IRQ DMA suspend mode for timers, liner interrupts and ULA added
  • Z80 CTC Timer example source included in demo





Sunday, November 22, 2020

#CSpect V2.13.00

#CSpect V2.13.00 changes

Note: I am aware most virus scanners are rejecting this. Apparently it's because I open files in "shared" read/write mode. This is so that SD cards can still be written to while the emulator is running. You'll need to add an exception if you wish to use it.

This is a special 'experimental' release so that everyone can try out the new "rewind" feature in the debugger. Specifying -rewind on the command line, or typing 'REWIND' in the debugger will enable/disable it.
This will then let you step 'backwards' using SHIFT+F7, undoing whatever the CPU has just exectued. Memory and CPU state should be solid (along with MMU and ROM usage), and I've started to add in sprite access as well - but this is more untested.
It's good fun, and super handy for debugging when you need to just roll back a little bit....
  • Fixed physical breakpoints in the plugins
  • (Highly) Experiminetal "rewind" debugger feature. Simply press SHIFT+F7 to step back. Currently tracks all RAM access and Sprite port access.There's bound to be HEAPs of issues and bugs with this, but for simple debugging, it should be fine.
  • Added UnStep in plugin system
  • Added "REWIND" debugger command, to allow you to switch the CPU history on/off dynamically
  • Added Debugger message display. Now reports errors when you use a non-existant label etc.
  • Fixed a bug in the rewind of MMUs
  • Swapped to 2.13 coz I was bored of 12.??





Thursday, November 19, 2020

#CSpect V2.12.38

#CSpect V2.12.38 changes

Minor changes and fixes...
  • Added NextRegs $2C and $2E (DAC mirrors)
  • DMA read flags (Bit 5 and Bit 1) added and fixed.
  • Added "_" to BASIC key detection
  • I "think" I've fixed the stuck BASIC mode keys (where : just gets stuck and repeats....)
  • Added OpenAL32.dll to the zip.... turns out that's allowed.
  • on loading of a NEX file, NextRegs are set to what the OS NexLoad sets
  • 32bit mode should work this time....in theory





Wednesday, November 11, 2020

#CSpect V2.12.37

#CSpect V2.12.36/35 changes
  • RAM is now filled with random bytes on power up to help simulate the real machine
  • -fill=$XXXXX allows you top specify a specific byte sequence to fill RAM with
  • Debugger: general layout adjustment.
  • Debugger: text colour changes when user bar over the top for easier reading
  • Debugger: $ added to all hex numbers
  • Debugger: Hex numbers are now coloured for easier spotting
  • Debugger: Added "peek()" of all memory access to the left of the disassembly line
  • Debugger: Added 16bit "peek()" of all 16bit register load/store locations
  • Debugger: Added a small permanent memory dump using 16bit registers as the base address
  • Debugger: ` now displays the current screen in the debugger (Keypad-Enter also works)
  • Debugger: Memory window bookmarks added. CTRL+SHIFT+[0-9] to set, CTRL+[0-9] to jump to.
  • CSpect should now run on 32bit and 64bit machines
  • Now detects if the shader fails to compile, and switches off the shader mode
  • Fixed port $123b 16k bank offset mode
  • Fixed unified attached sprites

#SNasm V3.0.3
Brand new C# version, which will now run on Linux and macOS. I'm sure there are still bugs in here, so released for community testing. It assembles everything I've got, so should be fine.