Search found 17 matches

by qwertyface
26 Jun 2020, 12:09
Forum: Hardware and software hacking
Topic: Parsec - I'm making a game
Replies: 14
Views: 476

Re: Parsec - I'm making a game

Given I'm a Ruby developer, I've taken a bunch of inspiration from the existing vASM assembler written in Python and gone about learning the architecture and instruction set. It's been super fun! I'm a Python guy, but I must say that I think your vASM as a Ruby embedded DSL looks really nice - very...
by qwertyface
29 May 2020, 10:25
Forum: Hardware and software hacking
Topic: Interrupts:
Replies: 11
Views: 5724

Re: Interrupts:

[Partly replying just to keep conversations going on this forum] I'd been wondering if a good use for the vBlank interrupt would be to implement a keyboard buffer for programs like BASIC. Perhaps using a small ring buffer, of say 32 characters, or less. I think it would be easy for slow programs to ...
by qwertyface
27 May 2020, 08:14
Forum: Escape Meta Alt Control Shift
Topic: In memoriam Marcel
Replies: 16
Views: 2732

Re: In memoriam Marcel

Thank you for letting us know Walter, and I'm so sorry for your loss. You said that you hoped that his brilliance and optimism has inspired others; they certainly inspired me! I've learned a huge amount in a short time from my journey with the Gigatron, and in particular from Marcel's code. But just...
by qwertyface
01 Apr 2020, 14:11
Forum: Hardware and software hacking
Topic: Alternative Languages
Replies: 4
Views: 1956

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
01 Apr 2020, 09:48
Forum: Hardware and software hacking
Topic: Alternative Languages
Replies: 4
Views: 1956

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

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

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

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: 7
Views: 2577

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

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...