Search found 14 matches

by qwertyface
Yesterday, 14:11
Forum: Hardware and software hacking
Topic: Alternative Languages
Replies: 4
Views: 94

Re: Alternative Languages

Yes, that all makes perfect sense. I'm continuing to learn a lot from the Gigatron - especially about what is and isn't easy!

I'd like to see Forth become a viable alternative to C for writing larger programs on the Gigatron - but C on vCPU, will likely prove to work better in practice.
by qwertyface
Yesterday, 09:48
Forum: Hardware and software hacking
Topic: Alternative Languages
Replies: 4
Views: 94

Re: Alternative Languages

Here are a few strands of thought on virtual machine design. I don't know if they add up to anything - but if you were to design a new language with the Gigatron in mind, choosing an appropriate execution model seems half the battle. I'm increasingly wondering if Forth isn't such a great fit for the...
by qwertyface
27 Mar 2020, 12:43
Forum: Hardware and software hacking
Topic: Python Assembler Query - RAM labels
Replies: 10
Views: 202

Re: Python Assembler Query - RAM labels

Hi Paul For nomal execution, the compiled Forth words are lists of 16-bit addresses, so you would load the X and Y regs and do an absolute jump I assume. For better or worse, I've managed to make it quite a bit more complicated than that :) As it's off the stated topic of this thread, I've started a...
by qwertyface
27 Mar 2020, 12:25
Forum: Hardware and software hacking
Topic: ROM Forth Internals
Replies: 0
Views: 48

ROM Forth Internals

For nomal execution, the compiled Forth words are lists of 16-bit addresses That sounds nice, but unfortunately it doesn't work like this in my Forth; we can't really have pointers in ROM. Because of the Gigatron Harvard architecture we can't treat the ROM like RAM and read arbitrary bytes - this i...
by qwertyface
26 Mar 2020, 21:37
Forum: Hardware and software hacking
Topic: Python Assembler Query - RAM labels
Replies: 10
Views: 202

Re: Python Assembler Query - RAM labels

The issue I had was trying to do label arithmetic in a position independent way - e.g. the sort of thing I was talking about further up the thread. The motivation was a bit hard to explain (it's to do with how I do branching within Forth threads), but I needed to emit ld instructions with the operan...
by qwertyface
23 Mar 2020, 08:49
Forum: Escape Meta Alt Control Shift
Topic: Two years of kit making and Open Source Hardware
Replies: 5
Views: 227

Re: Two years of kit making and Open Source Hardware

Congratulations on the success over two years, and thank you very much for open-sourcing the schematics.
by qwertyface
19 Mar 2020, 16:58
Forum: Hardware and software hacking
Topic: Python Assembler Query - RAM labels
Replies: 10
Views: 202

Re: Python Assembler Query - RAM labels

There isn't any such mechanism - asm.py doesn't really know much about memory at all. Depending on what you are trying to achieve you might be able to use the way in which the hi() and lo() functions work - they evaluate to 0, but also record the ROM offset where they were called, and the label they...
by qwertyface
14 Mar 2020, 13:42
Forum: Hardware and software hacking
Topic: A Forth for Gigatron?
Replies: 14
Views: 2855

Re: A Forth for Gigatron?

Thanks. Perhaps it would be useful to let people know where I'm at with the Forth effort. Right now the progress is hard to see - to date there isn't anything that is directly runnable on real hardware on an emulator. However I have quite a large part of the system implemented - including 34 of the ...
by qwertyface
12 Mar 2020, 11:16
Forum: Escape Meta Alt Control Shift
Topic: The Ultimate Acorn Archimedes talk
Replies: 1
Views: 359

The Ultimate Acorn Archimedes talk

I just watched this talk from 36C3 on the design of the Acorn Archimedes computer, and I really enjoyed it. I thought it might be of interest to people on here. In particular I was fascinated by some of the details of how how the chipset was designed to fit within constraints of pin-count on package...
by qwertyface
23 Nov 2019, 13:34
Forum: Hardware and software hacking
Topic: A Forth for Gigatron?
Replies: 14
Views: 2855

Re: A Forth for Gigatron?

You weren't kidding when you said that writing Forth in native code "will be a big undertaking, especially as a first project"! I thought I should just post to say that I'm still trying, and making steady if unimpressive progress. I think I have the timing sensitive code done (at least for now - it ...