Search found 645 matches

by at67
16 Jan 2023, 17:43
Forum: Hardware and software hacking
Topic: gtBASIC
Replies: 435
Views: 115258

Re: gtBASIC

It looks like you have found a bug, but I can't recreate it: - If I compile without "_arraysStart_ &hFFFF" then the compiler gives me "not enough contiguous memory for CentralCavernData" - If I compile with "_arraysStart_ &hFFFF" then everything works fine, no m...
by at67
14 Jan 2023, 12:13
Forum: Hardware and software hacking
Topic: gtBASIC
Replies: 435
Views: 115258

Re: gtBASIC

Lots of useful information here: https://github.com/at67/gigatron-rom/tree/master/Contrib/at67/tools/gtmidi Some of the documentation is a little outdated, for example gtMIDI does support the -v volume/velocity option now. It's basically a Gigatron specific version of the miditones format, there is ...
by at67
13 Jan 2023, 14:16
Forum: Hardware and software hacking
Topic: gtBASIC
Replies: 435
Views: 115258

Re: gtBASIC

Another way to do a main loop, (rather than having busy waits), is to have it running at 60Hz or 30Hz, (depending on how complex your code is), and trigger events off that main loop at different frequencies. e.g. ' you can use MOD to get finer granularity in timing, but it is much more expensive tha...
by at67
13 Jan 2023, 13:59
Forum: Hardware and software hacking
Topic: gtBASIC
Replies: 435
Views: 115258

Re: gtBASIC

Lots of ways to poll for keyboard during wait's, interrupts as you suggested is one, an easier way though is to write your own wait routine.

e.g.

Code: Select all

proc myWait, ticks
    local i

    for i=0 to ticks
        call handleInput
        wait 1
    next i
endproc
by at67
13 Jan 2023, 12:06
Forum: Hardware and software hacking
Topic: gtBASIC
Replies: 435
Views: 115258

Re: gtBASIC

Is this the actual code sample that causes the problem? I created a version of it as below: _runtimePath_ "../runtime" _codeRomType_ ROMvX0 cls KeyPressed = 0 EnterWait: CALL HandleInput IF KeyPressed = 10 THEN EndEnterWait 'wait 120 CALL HandleInput IF KeyPressed = 10 THEN EndEnterWait GO...
by at67
13 Jan 2023, 09:34
Forum: Hardware and software hacking
Topic: gtBASIC
Replies: 435
Views: 115258

Re: gtBASIC

gtBASIC exposes every way possible way that the Gigatron has for input through GET("PS2_KEYBD"), GET("SERIAL_RAW") and GET("BUTTON_STATE"), PS2_KEYBD is just an alias for SERIAL_RAW. - Are you trying to get PS2 keyboard scan-codes through an Arduino interface? PS2 keys ...
by at67
11 Jan 2023, 09:57
Forum: Hardware and software hacking
Topic: gtBASIC
Replies: 435
Views: 115258

Re: gtBASIC

That static noise is the code telling you that you are using the wrong ROM version. Make a "roms" folder, (all lower case under Linux), in the same folder as where the gtemuAT67 executable is, copy whatever ROM's you like into it and then the inbuilt ROM browser will find them.
by at67
11 Jan 2023, 08:49
Forum: Hardware and software hacking
Topic: gtBASIC
Replies: 435
Views: 115258

Re: gtBASIC

Looks hilariously awesome, can't wait to play it, (I never played this one as a kid).
by at67
07 Jan 2023, 11:31
Forum: Hardware and software hacking
Topic: ROMvX0
Replies: 21
Views: 4531

Re: ROMvX0

Update: - Updated VideoPoker thank you Delpozzo! - Updated SDCARD Browser, can use up to 38 char filenames now. - Updated clock. - Updated executables gtemuAT67 and gtBASIC. - The full source code for the ROMvX0 aware gtemuAT67 and gtBASIC are now available at https://github.com/at67/gigatron-rom/tr...
by at67
27 Dec 2022, 00:57
Forum: Hardware and software hacking
Topic: ROMvX0
Replies: 21
Views: 4531

Re: ROMvX0

Update: - Removed 6502 emulation from ROMvX0. - Removed WozMon from ROMvX0. - Removed Apple-1 from ROMvX0. - Removed Racer from ROMvX0. - Added an interim version of Delpozzo's VideoPoker to ROMvX0, (update coming). - Updated SDCard Browser to look more spiffy and to use 32 char file and path names....