Search found 116 matches

by utz
Sat Jul 04, 2020 11:38 am
Forum: Emulators
Topic: Zymosis and ZXEmuT
Replies: 20
Views: 5817

Re: Zymosis and ZXEmuT

A Tcl interpreter, you say? Excellent! That should be quite workable. I'm controlling MAME through a stdio pipe. I could in theory do sockets, but it needs to work on Windows as well, so pipe is easier to do for me, I believe. One feature that would be great to have is to be able to execute code on ...
by utz
Sat Jul 04, 2020 9:42 am
Forum: Emulators
Topic: Zymosis and ZXEmuT
Replies: 20
Views: 5817

Re: Zymosis and ZXEmuT

Is it possible to control ZXEmuT through stdin? If so, I could actually use it as an alternative to MAME in my Bintracker music editor.
by utz
Fri Jul 03, 2020 10:14 am
Forum: Programming
Topic: Suggestions on formatting of code
Replies: 56
Views: 7921

Re: Suggestions on formatting of code

What a waste. That key should be remapped as a second Ctrl key, of course :mrgreen:
by utz
Thu Jul 02, 2020 9:57 pm
Forum: Programming
Topic: Suggestions on formatting of code
Replies: 56
Views: 7921

Re: Suggestions on formatting of code

So no-one indenting for loops, conditional code etc ??? it is not even always possible, considering that jumps can create a fine web. it is much easier (and cleaner, i believe) to split the code to "logical blocks" with empty lines. Exactly, it's not always possible/useful to apply best f...
by utz
Tue Jun 16, 2020 11:47 pm
Forum: Emulators
Topic: Zymosis and ZXEmuT
Replies: 20
Views: 5817

Re: Zymosis and ZXEmuT

Ah yes, I studied Zymosis quite extensively when I wrote my own z80 emulation library a few years ago. It's an excellent piece of code. Glad to see you're still working on it.
by utz
Wed May 13, 2020 11:59 am
Forum: Showcase your work!
Topic: Digital AY synth
Replies: 38
Views: 6345

Re: Digital AY synth

OK, that shouldn't be a problem. I think using LGPL may complicate things given that the Spectrum that doesn't any formal kind of dynamic linking, unless you count something like including the player as a separate block on the tape. I have changed the license to 2-clause BSD, is this acceptable? Gr...
by utz
Tue May 12, 2020 4:33 pm
Forum: Showcase your work!
Topic: Digital AY synth
Replies: 38
Views: 6345

Re: Digital AY synth

It just occured to me that I didn't voice my excitement about this yet! So: This is a fantastic project, I love it! I would actually want to support the driver in my upcoming new tracker/chiptune audio workstation . However, I have some concerns regarding the license. Generally speaking, chip music ...
by utz
Fri Apr 17, 2020 4:19 pm
Forum: ZX Spectrum Next
Topic: Games behaving differently on the Next
Replies: 263
Views: 41235

Re: Games behaving differently on the Next

* You can try to speed up the spectrum to fit the right number of Ts in one vertical frame and halt the clock during portions of the horizontal scan to match the hdmi horizontal rate. This doesn't work either as it breaks audio. Beeper sound is sh*t and ay doesn't work for sampled music or stuff th...
by utz
Tue Feb 18, 2020 9:57 am
Forum: Programming
Topic: Optimizing a Conditional (asm)
Replies: 4
Views: 944

Re: Optimizing a Conditional (asm)

Ast A. Moore: Some nice voodoo with parity there ;) But looks like it doesn't produce the desired output, unfortunately. djnzx48: Hmm, maybe I should've just posted a naïve asm implementation instead of being clever in the middle of the night. In any case, your second snippet does the right thing. S...
by utz
Mon Feb 17, 2020 11:25 pm
Forum: Programming
Topic: Optimizing a Conditional (asm)
Replies: 4
Views: 944

Optimizing a Conditional (asm)

Hi, Been twisting my head over this little assembly problem for quite some time without much progress. I have a nested conditional that I want to calculate as fast as possible and in constant time . Assuming three 8-bit integers a , b , and d , I want to calculate the following: if (abs(a - b) > d) ...
by utz
Sat Feb 01, 2020 12:04 pm
Forum: Programming
Topic: Short beeper routines in assembly
Replies: 55
Views: 33463

Re: Short beeper routines in assembly

Very kind of you wanting to credit me for this ;) Just "utz" is fine, or if you like you could throw in a link to my website, https://irrlichtproject.de.
by utz
Sun Jan 05, 2020 6:56 pm
Forum: Other Retro Stuff
Topic: Retrogaming in Germany
Replies: 16
Views: 3832

Re: Retrogaming in Germany

Besides the Computerspielemuseum, there's also the Signallabor at Humboldt University. Not sure if they have any GDR Speccy clones, but there is at least one KC85/4 ready to be used ;) It's a semi-public place, so best to make an appointment with Stefan Höltgen before visiting. He also does some the...
by utz
Fri Sep 20, 2019 10:47 pm
Forum: Programming
Topic: EX (SP),HL
Replies: 10
Views: 2999

Re: EX (SP),HL

Perhaps not so useful for most coders, but I often use 2 of them in sequence for timing purposes. Just 2 bytes for wasting 38 t-states - can't get any more bang for the buck than this on Z80.
by utz
Thu Jun 06, 2019 3:47 pm
Forum: Programming
Topic: DEVASM-Z80 - Cross Development Environment in Assembler for ZX-Spectrum based on PASMO
Replies: 32
Views: 6702

Re: DEVASM-Z80 - Cross Development Environment in Assembler for ZX-Spectrum based on PASMO

Distribution of PASMO without source is technically also illegal, since it's released under GPL.
by utz
Tue May 07, 2019 9:22 am
Forum: Programming
Topic: ChesSkelet: micro chess program - 363 Bytes
Replies: 95
Views: 16089

Re: ChesSkelet: micro chess program - 363 Bytes

Excellent write-up, I'm thoroughly enjoying this. Gears creaking quite a bit in me ol' brain, but so far I could mostly follow your explanations.
by utz
Sun Feb 10, 2019 7:39 pm
Forum: Programming
Topic: C on the Spectrum (z88dk)
Replies: 39
Views: 10720

Re: C on the Spectrum (z88dk)

Doesn't quite work for me with latest nightly. On step 'Verify the Install': $ zcc +zx -vn test.c -o test -lndos warning: unknown option '-iquote.' warning: unknown option '-isystem/home/myuser/path/to/z88dk/lib/config/../..//include' spurious duplicate filename '/tmp/tmpXXkntuNK.i2' - vs. 'test.c'...
by utz
Sat Feb 09, 2019 2:07 pm
Forum: Programming
Topic: C on the Spectrum (z88dk)
Replies: 39
Views: 10720

Re: C on the Spectrum (z88dk)

The current correct way of building z88dk is described here: https://github.com/z88dk/z88dk/wiki/installation#linux--unix Doesn't quite work for me with latest nightly. On step 'Verify the Install': $ zcc +zx -vn test.c -o test -lndos warning: unknown option '-iquote.' warning: unknown option '-isy...
by utz
Fri Nov 30, 2018 8:34 pm
Forum: Music
Topic: Vortex Tracker help
Replies: 32
Views: 25158

Re: Vortex Tracker help

https://chipmusic.org/forums/topic/27/v ... racker-ii/ ;)

Btw the most recent version of VTII is available at https://bitbucket.org/ivanpirog/vortext ... downloads/ . The above tutorial is for original VTII though, but it should be enough to get you started either way.
by utz
Thu Nov 15, 2018 9:49 am
Forum: Programming
Topic: How do I make background sound?
Replies: 12
Views: 3446

Re: How do I make background sound?

And which of them have ingame music?
by utz
Wed Nov 14, 2018 5:16 pm
Forum: Programming
Topic: How do I make background sound?
Replies: 12
Views: 3446

Re: How do I make background sound?

Ahh, background beeper music, the holy grail of ZX 48K programming :mrgreen: While the Joffa approach certainly works, it won't help much if you plan on making a 50 Hz or 25 Hz game. There is another solution, but it's so tedious that it has never been done. Ok, so your idea about dedicating half a ...
by utz
Sun Sep 02, 2018 10:35 am
Forum: Music
Topic: irrlicht project live @ Ohrbit 2018
Replies: 3
Views: 6570

Re: irrlicht project live @ Ohrbit 2018

Thanks :) Just playing preprogrammed tracks, so it's more of a DJ set, really. Unlike some more talented folks ;) My calculator software does give me possibility for live interaction (muting channels, triggering effects etc), but I definately need to build some more live tools for the ZX beeper.
by utz
Thu Aug 30, 2018 11:16 pm
Forum: Music
Topic: irrlicht project live @ Ohrbit 2018
Replies: 3
Views: 6570

irrlicht project live @ Ohrbit 2018

Thought I'd share this lil' recording of the live set I recently played at the Ohrbit chiptune festival in Duisburg, Germany. ZX beeper music, with a few TI calculator tracks and an Atari VCS tune thrown in. Style-wise it's pretty heavy, mostly metal and hard-rock, occasionally with some screaming v...
by utz
Tue Jul 24, 2018 10:38 pm
Forum: Programming
Topic: Questions about FZX
Replies: 28
Views: 5235

Re: Questions about FZX

Don't skip the position bytes. Pass them to the driver after you've passed the AT token. The way you have it now, the first two chars of "TEST" are interpreted as the position ;)

In other words, throw out the "or a, jp z,..." and you should be fine.
by utz
Tue Jul 24, 2018 5:49 pm
Forum: Programming
Topic: Questions about FZX
Replies: 28
Views: 5235

Re: Questions about FZX

3. Is there a way to implement the FZX driver in a pure Z80 assembly code, pointing to a string defined by DEFM? You can simply call FXZdriver.asm::START with a character held in the A register. The character can be 0x16 (representing an AT keyword), which can then be followed up with a horizontal ...
by utz
Sun Apr 22, 2018 3:57 pm
Forum: Music
Topic: #BeepolaFriday
Replies: 55
Views: 49535

Re: #BeepolaFriday

Excellent work! Looking forward to many more #BeepolaFridays :)