Search found 60 matches

by Maziac
Wed Sep 05, 2018 3:41 pm
Forum: Software
Topic: Sprite palette offset
Replies: 9
Views: 8333

Re: Sprite palette offset

That is interesting.

What about the palette offset? Is that added as well if the original color index in the sprite pattern is the transparency color index?

And what happens if the resulting index would become >= 256? Is it simply masked with 0xFF?
by Maziac
Mon Sep 03, 2018 7:32 pm
Forum: Software
Topic: Sprite Attribute Upload
Replies: 5
Views: 706

Re: Sprite Attribute Upload

OK, so it seems a redundant storage in the ZX Spectrum RAM is required.
That's a pity.
by Maziac
Mon Sep 03, 2018 7:29 pm
Forum: Software
Topic: Sprite palette offset
Replies: 9
Views: 8333

Sprite palette offset

If I use a palette offset as attribute in byte 3 of the Sprite Attributes what happens to the sprite transparency color. Will the offset be added to that as well? I.e. it's not so clear to me if the transparency color is an index to the color or the color itself. It would make sense if it would be a...
by Maziac
Mon Sep 03, 2018 6:42 pm
Forum: Software
Topic: Sprite Attribute Upload
Replies: 5
Views: 706

Sprite Attribute Upload

Another question: Is it possible to access the sprite attributes also individually. According the documentation (wiki) there are 4 bytes that can be written by writing to port 0x57. byte 0: X-pos byte 1: Y-pos byte 2: Palette offset etc byte 3: Visibility + pattern index etc. Is it possible to acces...
by Maziac
Mon Sep 03, 2018 5:50 pm
Forum: Software
Topic: Copper program - one scanline
Replies: 4
Views: 605

Re: Copper program - one scanline

For sure!
by Maziac
Mon Sep 03, 2018 4:45 pm
Forum: Software
Topic: Copper program - one scanline
Replies: 4
Views: 605

Re: Copper program - one scanline

That's good to know.
Hope I have some HW soon :-)
by Maziac
Mon Sep 03, 2018 4:03 pm
Forum: Software
Topic: Copper program - one scanline
Replies: 4
Views: 605

Copper program - one scanline

Hi, what I would like to do with the Copper is to change layer priorities in the middle of one scan line. The idea is that there is a layer 2 image which is used at the left side of the screen as background and at the right side of the screen as foreground. From the Copper documentation I was thinki...
by Maziac
Fri Aug 24, 2018 6:37 am
Forum: Software
Topic: How to check for Next HW
Replies: 4
Views: 729

How to check for Next HW

Hi, I would like to build a kind of „Universal“ app. I mean a program (a sna or tap file) that runs on original ZX Spectrum 48k/128k and on ZX Next. It should dynamically detect on which HW it is running and switch e.g. the usage of sprites; on the 48k it should use SW sprites and on the Next HW it ...
by Maziac
Wed Aug 22, 2018 5:24 pm
Forum: Software
Topic: z80dismblr v1.1
Replies: 8
Views: 1329

Re: z80dismblr v1.1

Hi, the RST 08 defb 9bh problem is solved now. In z80dismblr v1.4 you can add custom extensions to opcodes. E.g. use '--opcode 0xCF ", CODE=#n"' on the command line to extend the RST 08. It will now disassemble as: RST 08h, CODE=9bh ; Custom opcode For more info see here: https://github.com/maziac/z...
by Maziac
Wed Aug 15, 2018 9:54 pm
Forum: ZX Spectrum Next
Topic: DMA Audio
Replies: 11
Views: 1816

Re: DMA Audio

@Alcoholics Anonymous: thanks for the link collection.