Search found 54 matches

by denjhang
19 Mar 2022, 13:34
Forum: Hardware and software hacking
Topic: Try compiling gtemuAT67 with Cygwin
Replies: 16
Views: 3046

Re: Try compiling gtemuAT67 with Cygwin

I tried to downgrade Cygwin's gcc, g++, etc. to 7.3, and successfully compiled it, but it didn't work properly. A console window flashed by and it seemed to show these:

Code: Select all

Cpu::initialise() : failed to initialise SDL.
by denjhang
19 Mar 2022, 12:58
Forum: Hardware and software hacking
Topic: Try compiling gtemuAT67 with Cygwin
Replies: 16
Views: 3046

Try compiling gtemuAT67 with Cygwin

$ cmake -DCMAKE_BUILD_TYPE=Release CMake Warning: No source or binary directory provided. Both will be assumed to be the same as the current working directory, but note that this warning will become a fatal error in future CMake releases. -- Found SDL2: /usr/lib/libSDL2main.a;/usr/lib/libSDL2.dll.a...
by denjhang
19 Mar 2022, 07:59
Forum: Hardware and software hacking
Topic: Explore the Gigatron music engine, using GLCC
Replies: 22
Views: 3533

Re: Explore the Gigatron music engine, using GLCC

I guess one could also try rudimentary enveloppe control. One could also write the waveforms on the fly, just in time, but there wouldn't be much cpu time left for anything else. At67 has really spent a lot of time working on sound. He probably has thought of all this already... I want to make a vi...
by denjhang
18 Mar 2022, 23:21
Forum: Hardware and software hacking
Topic: Explore the Gigatron music engine, using GLCC
Replies: 22
Views: 3533

Re: Explore the Gigatron music engine, using GLCC

First observation: the Gigatron does not hang, but the program loops. You can see that because the blinkenlights keep going . Second observation: this is not a GLCC bug but a logic error in the program. In the case of step5.c, the bug is that note_index is not incremented by the number of played re...
by denjhang
18 Mar 2022, 02:39
Forum: Hardware and software hacking
Topic: Explore the Gigatron music engine, using GLCC
Replies: 22
Views: 3533

Re: Explore the Gigatron music engine, using GLCC

#include <stdio.h> #include <gigatron/sys.h> #include <gigatron/console.h> #include <gigatron/libc.h> int temp_fc,stepCount=0; int note_index=0;//note array index struct Note { int ch,noteoffset,volume,waveform,start_step; }; struct Note notes[] = {//channel, pitch, volume, waveform, start step {1,...
by denjhang
18 Mar 2022, 02:00
Forum: Hardware and software hacking
Topic: Explore the Gigatron music engine, using GLCC
Replies: 22
Views: 3533

Re: Explore the Gigatron music engine, using GLCC

I am interested to know about GLCC bugs. Best is to give me a small program that shows the bug. Also the glcc version as printed by "glcc -V". Both step5.c and step6.c make Gigatron stuck. Neither program played all the notes as expected, they were stuck on the first note or group of note...
by denjhang
16 Mar 2022, 06:51
Forum: Hardware and software hacking
Topic: Explore the Gigatron music engine, using GLCC
Replies: 22
Views: 3533

Re: Explore the Gigatron music engine, using GLCC

The issue here is that it is way more powerful than you think, experiment more, lament less... I should be asleep, but I am annoyed, why am I annoyed? Who the F knows, anyway here is a video of code that I wrote in the last 45minutes that conclusively proves what the Gigatron is capable of, if you ...
by denjhang
15 Mar 2022, 13:26
Forum: Hardware and software hacking
Topic: Explore the Gigatron music engine, using GLCC
Replies: 22
Views: 3533

Re: Explore the Gigatron music engine, using GLCC

It seems that ROMvX0 has many more functions, such as the ability to play voice samples. You can play voice samples without ROMvX0, ROMvX0 just lets you do it with about 10% of the vCPU cycles, the first voice sample I played on the Gigatron was done purely in vCPU code, you just have to think outs...
by denjhang
15 Mar 2022, 01:41
Forum: Hardware and software hacking
Topic: Explore the Gigatron music engine, using GLCC
Replies: 22
Views: 3533

Re: Explore the Gigatron music engine, using GLCC

When the Gigatron audio channel uses only one channel (any of the four channels), and only the square wave is used, the wavA will be able to control the volume of the square wave, in the range of 64-128, with decreasing volume. You can also use wavX to introduce random noise or effects at 60Hz, (ve...
by denjhang
14 Mar 2022, 16:43
Forum: Hardware and software hacking
Topic: Explore the Gigatron music engine, using GLCC
Replies: 22
Views: 3533

Explore the Gigatron music engine, using GLCC

I know C, but I know Chiptune better. I love Chiptune, and I've always wanted Gigatron to have a powerful music creation software, like some trackers or MML, that can use all of Gigatron's musical features to make unique chip music. Just like PSG, SID or FM synthesis. Now I'm going to realize my dre...