Monday, December 24, 2018

#CSpect 2.1.4

In this version of CSpect, I have the new sprite engine implemented. You can now have all 64 sprites in a line, except when expanded - which they can not be by 32,64 and 128 pixel sizes. You can also now have 16 colour shapes, allowing double the number of images a sprite can have.

On top of this, is the new L2 pixel priority engine and lighten/darken L2+ULA modes which you can get by setting the SLU order to %110 and %111 respectively.


CSpect V2.1.4 changes

  • Added logging debug command (see readme)
  • Added Layer 2 pixel priority mode - top bit of second colour palette byte (the single bit of blue) specifies over the top of everything.
  • Added Next OS streaming API ( see readme )
  • Added DMA reverse mode (R0 BASE, bit 2)
  • Added BSLA DE,B (ED 28) shift DE left by B places - uses bits 4..0 of B only
  • Added BSRA DE,B (ED 28) arithmetic shift right DE by B places - uses bits 4..0 of B only - bit 15 is replicated to keep sign
  • Added BSRL DE,B (ED 2A) logical shift right DE by B places - uses bits 4..0 of B only
  • Added BSRF DE,B (ED 2B) shift right DE by B places, filling from left with 1s - uses bits 4..0 of B only
  • Added BRLC DE,B (ED 2C) rotate DE left by B places - uses bits 3..0 of B only (to rotate right, use B=16-places)
  • Added JP (C) (ED 98) JP ( IN(C)*64 + PC&$c000 )
  • Added new sprite control byte
  • Added sprite expand on X (16,32,64 or 128)
  • Added sprite expand on Y (16,32,64 or 128)
  • Added 16 colour shape mode
  • Removed 12 sprite limit, limitations still apply when expanding on X (100 16x16s per line ma
  • Sprite pixel wrapping on X and Y (out one side, back in the other)
  • Added "lighten" mode. L2+ULA colours clamped. (selected using SLU layer order of 110)
  • Added "darken" mode. L2+ULA-555 colours clamped. (selected using SLU layer order of 111)

CSpect V2.2.0 updates
  • Fixed reg 0x43 bit 7- disable palette auto increment.
  • Fixed NextReg access for sprites. Was using the wrong index.


SNasm V2.0.15 changes
  • Removed MIRROR DE instruction
  • Added “JP(C)” instruction
  • Added “BSLA DE, B” instruction
  • Added “BSRA DE, B” instruction
  • Added “BSRL DE, B” instruction
  • Added “BSRF DE, B” instruction
  • Added “BRLC DE, B” instruction
  • Fixed error reporting on command like "and a" when a user gives "and a,7" etc.