Search found 55 matches

by Maziac
Sat Mar 23, 2019 12:35 pm
Forum: Z80 Assembly
Topic: asm-api-doc-tool
Replies: 1
Views: 1005

asm-api-doc-tool

Hi, I would like to share my latest tool. This is something for assembler programmers. A tool that grasps the comments from the labels to generate html output. It was developed to work with the output of the sjasmplus assembler and understands MODULE etc. (I.e. you can also document modules.) It is ...
by Maziac
Thu Feb 07, 2019 6:45 pm
Forum: Software
Topic: How to detect that DMA transfer is finished
Replies: 14
Views: 1588

Re: How to detect that DMA transfer is finished

As a result, in a release situation, you could simply not bother to worry about it.
Also a way to deal with this.
At least better than re-sampling and re-testing :-)
by Maziac
Thu Feb 07, 2019 5:54 pm
Forum: Software
Topic: How to detect that DMA transfer is finished
Replies: 14
Views: 1588

Re: How to detect that DMA transfer is finished

The question is, how difficult is to have two sets of DMA registers in FPGA, and how difficult it is to create this 1.5 channel dichotomy, and whether I overlooked some important detail making this whole idea invalid from start... But, if we talk about HW changes, here is another thought: wouldn't ...
by Maziac
Tue Feb 05, 2019 8:14 pm
Forum: Software
Topic: How to detect that DMA transfer is finished
Replies: 14
Views: 1588

Re: How to detect that DMA transfer is finished

If DMA is used in burst mode for audio for example.
Is it possible to interrupt DMA in order to to use DMA for byte block transfer (continuous mode) and then
continue to use DMA in burst mode for audio?
by Maziac
Thu Jan 31, 2019 6:11 pm
Forum: Software
Topic: How to detect that DMA transfer is finished
Replies: 14
Views: 1588

Re: How to detect that DMA transfer is finished

I was thinking more of the case that DMA and CPU is running in parallel.
I.e. in order not to loose any precious CPU cycle the burst mode could be used such that in almost every
CPU instruction also a DMA operation takes place.
What would be the "loss" for the CPU in that case?
by Maziac
Wed Jan 30, 2019 8:15 pm
Forum: Software
Topic: How to detect that DMA transfer is finished
Replies: 14
Views: 1588

Re: How to detect that DMA transfer is finished

Does this also mean that in burst mode the cpu is slowed down by the dma?
by Maziac
Wed Jan 30, 2019 5:50 pm
Forum: Software
Topic: How to detect that DMA transfer is finished
Replies: 14
Views: 1588

How to detect that DMA transfer is finished

Hi,

I could not find this in the docs or the example program:
Let's say I transfer a block of RAM to the HW sprites port via DMA.
How do I know that the DMA has finished and is ready to be used for other tasks?
by Maziac
Fri Jan 25, 2019 4:37 pm
Forum: Software
Topic: HW Sprites and how to use them
Replies: 6
Views: 877

Re: HW Sprites and how to use them

Thanks very much for this valuable and elaborated input.
In the end it seems to drill down to bit fiddling and optimization depending on the available registers.

I must admit that I was silently hoping that there is some kind of HW support available that I've overlooked.
by Maziac
Thu Jan 24, 2019 7:28 pm
Forum: Software
Topic: HW Sprites and how to use them
Replies: 6
Views: 877

HW Sprites and how to use them

Hi, I'm currently looking into the problem to efficiently use the HW sprites from SW i.e. from Assembler. But I ran into a few problems and I would like to hear your ideas or solutions. The problem is simply put: How to deal with the sprite's position efficiently. When working with sprites the usual...
by Maziac
Sat Dec 15, 2018 8:02 am
Forum: ZX Spectrum Next
Topic: Games & SD Card
Replies: 11
Views: 1417

Re: Games & SD Card

Thanks.