Search found 360 matches

by lb3361
05 Jan 2024, 02:05
Forum: Hardware and software hacking
Topic: LCC for the Gigatron. Take two.
Replies: 106
Views: 45198

Re: LCC for the Gigatron. Take two.

And some small changes are required (all just declare outside loops): I believe you just have to use the option gcc --std=c99. At that time the default was -std=gnu89. That was changed in gcc5. See https://gcc.gnu.org/onlinedocs/gcc-4.2.4/gcc/C-Dialect-Options.html#C-Dialect-Options On the other ha...
by lb3361
04 Jan 2024, 18:22
Forum: Hardware and software hacking
Topic: GT1 compression
Replies: 6
Views: 669

Re: GT1 compression

I also like to have a ROM, that containts more nice little games (Tetronis, Bricks, Snake, ...) and that is able to load uncompressed and compressed gt1 files. Looking forward to such a new ROM(8) somewhere down the new year ;) SYS_Exec in the current dev7 rom already can load either compressed or ...
by lb3361
04 Jan 2024, 02:33
Forum: Hardware and software hacking
Topic: GT1 compression
Replies: 6
Views: 669

Re: GT1 compression

Following on this work. The Gigatron ROM does not just contain GT1 files but also images and basic programs using ad-hoc schemes to encode them economically and load them as needed. Instead, we can encode this data as GT1 files, compress them as GT1Z files, and load them using SYS_Exec. For instance...
by lb3361
02 Jan 2024, 20:46
Forum: Hardware and software hacking
Topic: Gigatron 128k emulator online.
Replies: 10
Views: 1202

Gigatron 128k emulator online.

The purpose of http://www.gigatron128k.com is shamelessly show that the Gigatron 128k is a sweet machine. Emulation The site runs a variant of Phil Thomas' excellent JavaScript Gigatron emulator with added code to simulate a 128k RAM&IO expansion board and a SD card connected to the first SPI po...
by lb3361
29 Dec 2023, 23:46
Forum: Hardware and software hacking
Topic: GT1 compression
Replies: 6
Views: 669

GT1 compression

One of Marcel's comments in the ROM code suggests to look into pucrunch or eximozer for ways to compress GT1 files and fit more in the ROM. As a reference point, simply using gzip on at67's repository of GT1 files https://forum.gigatron.io/viewtopic.php?p=3958&hilit=dropbox#p3958 reduces the cod...
by lb3361
20 Nov 2023, 00:31
Forum: Hardware and software hacking
Topic: Time for a contest? Simplest maze-like printing..
Replies: 21
Views: 6532

Re: Time for a contest? Simplest maze-like printing..

I saw it in MSBASIC.gcl, where Marcel uses it to work around GCL's inability to evaluate constant expressions at compile time.
https://github.com/kervinck/gigatron-ro ... C.gcl#L836
by lb3361
17 Nov 2023, 00:09
Forum: Hardware and software hacking
Topic: ROM adventures (dev7rom)
Replies: 32
Views: 9426

Re: ROM adventures (dev7rom)

One of the key enablers for new vCPU instructions is the increase of MaxTicks pioneered by at67 ( https://forum.gigatron.io/viewtopic.php?p=1995#p1995 ). Although this change has pervasive effects in the operation of the Gigatron, increasing MaxTicks from 14 to 15 ticks has been amazingly free of ba...
by lb3361
16 Nov 2023, 22:51
Forum: Hardware and software hacking
Topic: Command SAVE in MSBASIC
Replies: 3
Views: 1764

Re: Command SAVE in MSBASIC

This is now fixed. It turns out that the PluggyReloaded firmware attempts to start the Loader when one presses CTRL+Fn, sending a couple ButtonDown and a ButtonA. When loading a saved program, these codes are read by MSBASIC and cause syntax errors in cascade. Rather than fixing the firmware, I foun...
by lb3361
16 Nov 2023, 03:09
Forum: Hardware and software hacking
Topic: Sierpinski Triangle [test]
Replies: 6
Views: 2448

Re: Sierpinski Triangle [test]

I am curious. If you're using CPU.v5, why not using CALLI FC_Fill ?

Code: Select all

_CPU    v5.vcpu
      LDWI    FC_Fill
      CALL    vAC
by lb3361
14 Nov 2023, 00:02
Forum: Hardware and software hacking
Topic: Time for a contest? Simplest maze-like printing..
Replies: 21
Views: 6532

Re: Time for a contest? Simplest maze-like printing..

Yes, I trying Your idea. Works exelent! Now final file have 73 bytes. Thanks a lot. But 68 bytes is like masterpiece :-) Every line contains some of your ideas, so the credit must be shared. Also I think that you can use the same tricks and squeeze your code to 63 bytes (73 - 5 for SYS_Random). May...