Search found 587 matches

by at67
27 Mar 2023, 11:42
Forum: Hardware and software hacking
Topic: gtBASIC
Replies: 389
Views: 78516

Re: gtBASIC

Looks pretty awesome. write a custom line routine for the vines, (very simple one that saves background pixels and then restores them).

I was going to do Pitfall as my next project, but I'll move onto River Raid.
by at67
18 Mar 2023, 12:37
Forum: Hardware and software hacking
Topic: gtBASIC
Replies: 389
Views: 78516

Re: gtBASIC

There's a good explanation of the difference between the two registers here, by Marcel: https://forum.gigatron.io/viewtopic.php?t=138 1) serialRaw is the raw bits read from the shift register every 60Hz. 2) buttonState is an edge triggered representation of serialRaw that the native ROM creates for ...
by at67
18 Mar 2023, 01:33
Forum: Hardware and software hacking
Topic: gtBASIC
Replies: 389
Views: 78516

Re: gtBASIC

The emulator does allow you to test with a simulated controller, if you press CTRL+H you will see the AWSD SPACE Z . / keys map to the controller, these are fully handled in the same way as a real controller. This means that you can detect any combination of them using code similar to what Axel post...
by at67
17 Mar 2023, 10:18
Forum: Hardware and software hacking
Topic: gtBASIC
Replies: 389
Views: 78516

Re: gtBASIC

Enter/Return to change the time, Delete/End to run application.
by at67
13 Mar 2023, 08:18
Forum: Hardware and software hacking
Topic: gtBASIC
Replies: 389
Views: 78516

Re: gtBASIC

There is a bunch of them, including transcendental's. The compiler generates static data using these functions at compile time. There are two reasons to use these static initialisation functions: 1) They generate no code on the Gigatron, so they are generally very cheap, (in terms of CPU cycles). 2)...
by at67
10 Mar 2023, 22:33
Forum: Hardware and software hacking
Topic: Playing gtmidi Files
Replies: 6
Views: 189

Re: Playing gtmidi Files

Sorry typo, there's different ways of referencing MIDI files, one is through MIDI ID's, (the one we are using in this example), so the play command should look like this:

Code: Select all

play MIDIDV, 0
P.S. I'll add better error output for this in the next release.
by at67
10 Mar 2023, 20:36
Forum: Hardware and software hacking
Topic: Playing gtmidi Files
Replies: 6
Views: 189

Re: Playing gtmidi Files

Because the sound is playing in the background, yeah you need to do something else, i.e. loop and draw some graphics, get some input, or just a busy loop, etc.
by at67
10 Mar 2023, 10:03
Forum: Hardware and software hacking
Topic: Playing gtmidi Files
Replies: 6
Views: 189

Re: Playing gtmidi Files

It's pretty simple to convert .midi files to .gtmidi and even easier to play them back in gtBASIC. 1) Make sure you have gtMIDI and miditones built and available at a command line/terminal. 2) Type gitmidi at the command line and it will tell you exactly what to do. 3) For the Gigatron the maximum c...
by at67
04 Mar 2023, 05:59
Forum: Hardware and software hacking
Topic: ROM adventures (dev7rom)
Replies: 18
Views: 882

Re: ROM adventures (dev7rom)

Ok, whatever, you don't want to let it go, here's some facts: 1) You were mad that ROMvX0 was taking too long. 2) Either you or Hans leaked it, (probably multiple times), when it was a private repo for about a year. 3) You wanted to control ROMvX0 by having me "give" you all my code so you...
by at67
04 Mar 2023, 00:34
Forum: Hardware and software hacking
Topic: ROM adventures (dev7rom)
Replies: 18
Views: 882

Re: ROM adventures (dev7rom)

And for the record after you showed me this new stuff, (which is great btw), you said you would not create a competing ROM, but within weeks you had. The reason "I saw competition" is because you created it and then started flaunting it, remember this comment "well what are you going...