Search found 364 matches
- 17 Nov 2023, 00:09
- Forum: Hardware and software hacking
- Topic: ROM adventures (dev7rom)
- Replies: 32
- Views: 9844
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...
- 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...
- 16 Nov 2023, 03:09
- Forum: Hardware and software hacking
- Topic: Sierpinski Triangle [test]
- Replies: 6
- Views: 2471
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
- 14 Nov 2023, 00:02
- Forum: Hardware and software hacking
- Topic: Time for a contest? Simplest maze-like printing..
- Replies: 21
- Views: 6675
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...
- 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.
- 13 Nov 2023, 10:44
- Forum: Hardware and software hacking
- Topic: Time for a contest? Simplest maze-like printing..
- Replies: 21
- Views: 6675
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=...
- 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 #...
- 13 Nov 2023, 00:07
- Forum: Hardware and software hacking
- Topic: Time for a contest? Simplest maze-like printing..
- Replies: 21
- Views: 6675
Re: Time for a contest? Simplest maze-like printing..
It is shorter but less effective. You're right! I tried to be too smart when sampling addresses in a single 16 bits quantity. This new version is almost like your code except for using SYS_Random to shuffle the entropy on each try. That cost me five bytes to setup. Somehow I save two bytes in the f...
- 11 Nov 2023, 18:13
- Forum: Hardware and software hacking
- Topic: Time for a contest? Simplest maze-like printing..
- Replies: 21
- Views: 6675
Re: Time for a contest? Simplest maze-like printing..
A different effect, without scroll, 88 bytes. maze2.gcl maze2.gt1 gcl0x $78f8 mask= [do \SYS_Random_34 _sysFn= [do [do 34!! mask& _sysArgs4= \sysArgs4, 160- if>=0loop] \sysArgs5, 8- if<0loop ] 1 x= 34!! [if<0 -1 x= _sysArgs4 7+ _sysArgs4=] \SYS_VDrawBits_134 _sysFn= $3f00 _sysArgs0= 1 [do \sysAr...
- 11 Nov 2023, 15:52
- Forum: Hardware and software hacking
- Topic: Time for a contest? Simplest maze-like printing..
- Replies: 21
- Views: 6675
Re: Time for a contest? Simplest maze-like printing..
Lots of neat tricks in Phibrizzo's code.