Search found 364 matches

by lb3361
11 Jan 2024, 00:51
Forum: Hardware and software hacking
Topic: Gigatron 128k emulator online.
Replies: 10
Views: 1365

Re: Gigatron 128k emulator online.

petersieg wrote: 09 Jan 2024, 12:46 (Your solution does not work under python 3.6 (import http gives error) and old Mac OS Lion - so I stick with my solution for my local copy)
It seems indeed that support for the directory argument (-d_ was added to http.server in version 3.7. Sigh.
by lb3361
09 Jan 2024, 03:07
Forum: Hardware and software hacking
Topic: Gigatron 128k emulator online.
Replies: 10
Views: 1365

Re: Gigatron 128k emulator online.

I changed to python's http server. In fact I wrote a subclass in file 'http-server.py' that disables the caches and serves pre-compressed files when available. See https://github.com/lb3361/gigatron-rom/tree/master/Utils/runjs From the gigatron rom directory, you can type : make runjs DEV=dev128k7.r...
by lb3361
08 Jan 2024, 21:11
Forum: Hardware and software hacking
Topic: Gigatron 128k emulator online.
Replies: 10
Views: 1365

Re: Gigatron 128k emulator online.

I tried the python solution. In fact you have convinced me that I should change the repository to use python when you write "make runjs".
However the online version benefits a lot from compression the binary files (gigatron.rom and sd.vhd), so it will have to be different.
by lb3361
08 Jan 2024, 14:04
Forum: Hardware and software hacking
Topic: Gigatron 128k emulator online.
Replies: 10
Views: 1365

Re: Gigatron 128k emulator online.

You might have to ask for ‘gigatron.rom.gz’ and ‘sd.vhd.gz’ because the web server is configured to use precompressed files if available. Or just go to the source (see initial post) https://github.com/lb3361/gigatron-rom/tree/master/Utils/runjs As for note, doing brew install ‘node’ and ‘http-server...
by lb3361
05 Jan 2024, 02:05
Forum: Hardware and software hacking
Topic: LCC for the Gigatron. Take two.
Replies: 106
Views: 46181

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: 733

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: 733

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: 1365

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: 733

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: 6674

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