Search found 367 matches

by lb3361
02 Jan 2024, 20:46
Forum: Hardware and software hacking
Topic: Gigatron 128k emulator online.
Replies: 10
Views: 1383

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

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

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

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

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

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

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...
by lb3361
13 Nov 2023, 22:58
Forum: Hardware and software hacking
Topic: Command SAVE in MSBASIC
Replies: 3
Views: 1787

Re: Command SAVE in MSBASIC

Alas, Hans61 reports some issues at LOAD time with his PluggyReloaded. When loading, Babelfish must be careful not to send the characters too fast otherwise MSBASIC cannot follow. This is a tricky balance. Or maybe this is something else.
by lb3361
13 Nov 2023, 10:44
Forum: Hardware and software hacking
Topic: Time for a contest? Simplest maze-like printing..
Replies: 21
Views: 6679

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

Nightly idea using inline assembly in GCL and trashing all memory above $800. One can still save 5 bytes by giving up on SYS_Random... maze4.gt1 gcl0x [ \SYS_Random_34 _sysFn= [do 34!! $f8& \sysArgs4. $7, $78& \sysArgs5. if=0loop] \SYS_VDrawBits_134 _sysFn= $3f01 _sysArgs0= b= x 2& 1- x=...
by lb3361
13 Nov 2023, 03:06
Forum: Hardware and software hacking
Topic: Command SAVE in MSBASIC
Replies: 3
Views: 1787

Command SAVE in MSBASIC

I was playing with the native code that pulses the VGA sync to speak to Babelfish, looking for some good tests. Curiously the SAVE command in TinyBasic works, but the SAVE command MSBASIC just hangs. It turns out that this has nothing to do with my own experiments. This has been described in issue #...