Search found 55 matches

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

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: 528

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: 650

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: 1207

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: 1634

Re: DMA Audio

@Alcoholics Anonymous: thanks for the link collection.
by Maziac
Wed Aug 15, 2018 7:47 pm
Forum: ZX Spectrum Next
Topic: DMA Audio
Replies: 11
Views: 1634

Re: DMA Audio

If there is no post-dac control there is also not much room to implement this in SW and use the DMA: i.e. it would mean that the whole sample would have to be stored in memory first, then pre-proceesed (multiplied with the volume) and afterwards put out to the DMA. On each volume change all samples ...
by Maziac
Wed Aug 15, 2018 9:57 am
Forum: ZX Spectrum Next
Topic: DMA Audio
Replies: 11
Views: 1634

Re: DMA Audio

Thanks all for the detailed replies. This helps a lot. This information about the prescaler was the missing piece for me. If there is a prescaler it is very much clear how it works. However, what is the supposed way to get this information. After the post about the prescaler I, again, looked at the ...
by Maziac
Tue Aug 14, 2018 9:12 pm
Forum: ZX Spectrum Next
Topic: DMA Audio
Replies: 11
Views: 1634

DMA Audio

Hi, could please someone explain how the DMA audio with DAC is working? I have read the Z8410 specs but if DMA is used for audio how can I adjust the sample rate. With 3.5MHz it should be around 850kHz. For a WAV playback I would require maybe 44kHz or 22kHz. How can I slow down the DMA to these sam...
by Maziac
Mon Jul 30, 2018 3:19 pm
Forum: Software
Topic: z80dismblr v1.1
Replies: 8
Views: 1207

Re: z80dismblr v1.1

Very cool! Any particular reason you chose to write it in TypeScript? Yes, indeed. The z80dismblr is a side-project of my other project: A z80-debug-adapter that connects vscode (Visual Studio Code) and the ZEsarUX emulator such that you can use vscode as IDE and debug from vscode. Therefore it was...
by Maziac
Mon Jul 30, 2018 3:14 pm
Forum: Software
Topic: z80dismblr v1.1
Replies: 8
Views: 1207

Re: z80dismblr v1.1

I was just giving it a spin on a compiled dot command. There might have to be some target-specific options added (like for the sna file type) as the disassembler correctly stumbles on esxdos calls "rst 8; defb service" and interprets the service byte as an instruction: z80dismblr --bin 0x2000 NDAWP...