Search found 10 matches

by hnaves
18 May 2021, 21:41
Forum: Hardware and software hacking
Topic: Expanding ROM space
Replies: 7
Views: 2906

Re: Expanding ROM space

I realized that I forgot to also upload the source code of the Secret.gt1 file. Here it is.

PS: Do you know why the forum does not accept .py files?
by hnaves
15 May 2021, 20:53
Forum: Hardware and software hacking
Topic: Expanding ROM space
Replies: 7
Views: 2906

Re: Expanding ROM space

It's an interesting idea, but I'm not sure that it works in practice. For one thing, you can't really get out of the page without setting y. You also can't practically write much native code without writing to page zero. Bear in mind that the packing density also depends on the amount of the page g...
by hnaves
15 May 2021, 03:27
Forum: Hardware and software hacking
Topic: Expanding ROM space
Replies: 7
Views: 2906

Re: Expanding ROM space

Maybe I was not so clear, so I will try to explain a little further. So LUP represents a small percentage, (under 10%), of the actual ROM access from vCPU, the majority of, (pre ROMvX0), ROM space is used in storing the packed pictures and the vCPU applications. As far as I understand the code of th...
by hnaves
14 May 2021, 23:38
Forum: Hardware and software hacking
Topic: Expanding ROM space
Replies: 7
Views: 2906

Expanding ROM space

I am not sure if this is a new idea on this forum, but it might be possible extend the ROM storage space by 50% or more. That means, according to my estimates, more than 30k bytes of extra room for applications in ROM. As far as I understand, data is stored in ROM and LUP is the vCPU instruction res...
by hnaves
14 May 2021, 21:30
Forum: Hardware and software hacking
Topic: GtForth - Forth on top of the vCPU
Replies: 9
Views: 3525

Re: GtForth - Forth on top of the vCPU

Perhaps this is something that we could collaborate on? I can imagine a common abstraction that allows the same tests to validate your implementations using the vCPU emulator, and my implementations using gtemu. It would quickly find any observable differences. Sure, we can collaborate on that. I t...
by hnaves
14 May 2021, 00:04
Forum: Hardware and software hacking
Topic: GtForth - Forth on top of the vCPU
Replies: 9
Views: 3525

Re: GtForth - Forth on top of the vCPU

This is really cool, congratulations! It must have been a ton of work. If I may say so, it's lovely neat source as well. I'm sure I have a lot to learn from it, in particular the work on how the Python assembler module packs code into memory. I also like your approach to self-hosting. For obvious r...
by hnaves
12 May 2021, 21:41
Forum: Hardware and software hacking
Topic: GtForth - Forth on top of the vCPU
Replies: 9
Views: 3525

Re: GtForth - Forth on top of the vCPU

Opps, I really shouldn't post ideas when I have just awoken, you can still do what I suggested, just not in the way I suggested it. You would need to do it in the same way that Marcel did for his MSBASIC implementation, (which is more complicated than my fail suggestion). It seems that Marcel only ...
by hnaves
12 May 2021, 20:12
Forum: Hardware and software hacking
Topic: GtForth - Forth on top of the vCPU
Replies: 9
Views: 3525

Re: GtForth - Forth on top of vCPU

Thanks for the quick reply! Works great over here, with a slightly modified print routine you could use the blank scanlines as free RAM as well, (of course if the user manually modified the scanline mode it would produce a pretty pixel mess, but the extra RAM available might be worth the risk). Is t...
by hnaves
12 May 2021, 17:38
Forum: Hardware and software hacking
Topic: GtForth - Forth on top of the vCPU
Replies: 9
Views: 3525

GtForth - Forth on top of the vCPU

Hi everyone, I would like to share a preliminary implementation of GtForth -- a Forth compiler / interpreter for the Gigatron, running on top of the vCPU. It is still in very early stage of development and so it still lacks a few features. Here is a preview of GtForth running on the gtemuAT67 screen...