Search found 60 matches

by Maziac
Sun Aug 04, 2019 3:14 pm
Forum: Software
Topic: Unit Tests Framework
Replies: 4
Views: 198

Unit Tests Framework

Hi, I would like to inform you about the new update to my vscode debug extension for ZX Spectrum and ZX Next. The v0.9 introduces a Unit Test Framework to test your assembler sources/binaries. It is the first UT framework for assembler code. At least to my knowledge :-) This is a bit strange because...
by Maziac
Tue Jul 23, 2019 6:54 pm
Forum: Basic
Topic: Converting to NextBasic
Replies: 8
Views: 398

Re: Converting to NextBasic

OK, I was now able to load the program with tape emulation and I could save it to a .bas file.
So, thanks for the help. That's what I wanted to achieve.
by Maziac
Tue Jul 23, 2019 6:41 pm
Forum: Basic
Topic: Converting to NextBasic
Replies: 8
Views: 398

Re: Converting to NextBasic

OK, I see: using the sources to compile on x86 might become difficult.

However, I tried
merge "prg.tap"
as suggested by Ped7g but this results in an
"R Tape loading error, 0:1"

Can I really load .tap files with 'merge' or only .bas files?

(I'm on ZEsarUX).
by Maziac
Mon Jul 22, 2019 8:42 pm
Forum: Basic
Topic: Converting to NextBasic
Replies: 8
Views: 398

Re: Converting to NextBasic

That sounds very interesting. But I was unlucky creating an iso image (mmc file for zesarux). Is there a recent description available somewhere? And looking at the repository I could find the dot commands for TXT2BAS and BAS2TXT. But I couldn't find the sources. Would be interesting to compile that ...
by Maziac
Mon Jul 22, 2019 3:37 pm
Forum: Basic
Topic: Converting to NextBasic
Replies: 8
Views: 398

Converting to NextBasic

Hi, I would like to convert an old ZX Spectrum 48K basic program to NextBasic to enhance it with new features. At first I thought that would be easy, but I'm not so sure anymore. What would be the exact steps to do so? The program is available as .tap file, but I also have an ASCII listing (created ...
by Maziac
Sat Mar 23, 2019 12:35 pm
Forum: Z80 Assembly
Topic: asm-api-doc-tool
Replies: 1
Views: 1621

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

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

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

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

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?