Search found 7 matches

by pdr0663
27 Mar 2020, 03:32
Forum: Hardware and software hacking
Topic: Python Assembler Query - RAM labels
Replies: 10
Views: 5550

Re: Python Assembler Query - RAM labels

qwertyface, 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 BRANCH, can use a 16-bit absolute address again. For 0BRANCH or ?BRANCH etc the branch target could be inter-page, which is where I guess ...
by pdr0663
26 Mar 2020, 08:51
Forum: Hardware and software hacking
Topic: Python Assembler Query - RAM labels
Replies: 10
Views: 5550

Re: Python Assembler Query - RAM labels

Marcel,

Can we manipulate the _romSize variable on the fly to "ORG" to other ROM locations?

Paul
by pdr0663
20 Mar 2020, 08:26
Forum: Hardware and software hacking
Topic: Reading from ROM, LUP and trampolines
Replies: 2
Views: 2633

Re: Reading from ROM, LUP and trampolines

Marcel, Thanks for the comprehensive and informative reply, much appreciated. I might leave trampolining alone for the time being, as STORE D, [Y:X++] serves my needs for ROM to RAM transfer, and I'll have room in RAM for LUTs I need. The trampolining is a truly insightful process, a credit to some ...
by pdr0663
19 Mar 2020, 23:29
Forum: Hardware and software hacking
Topic: Python Assembler Query - RAM labels
Replies: 10
Views: 5550

Re: Python Assembler Query - RAM labels

Marcel, Thanks your explanation is clear. I may need to customize asm.py or the traditional assembler. Just one last question. In your "trampoline" routines it seems that you are transferring data from ROM to RAM (I'm not familar with trampolining as a term) for lookup tables and the like. Strange t...
by pdr0663
19 Mar 2020, 13:27
Forum: Hardware and software hacking
Topic: Python Assembler Query - RAM labels
Replies: 10
Views: 5550

Python Assembler Query - RAM labels

Team, I'm writing some software ( Forth ) where i need to address RAM locations. I can see that the assembler allows labels for ROM locations, but how do we label RAM locations? Where data is trampolined from EPROM into RAM, how do we keep track of these by labels, and how to retrieve the labels? Th...
by pdr0663
15 Mar 2020, 07:31
Forum: Hardware and software hacking
Topic: A Forth for Gigatron?
Replies: 14
Views: 11416

Re: A Forth for Gigatron?

Well done. I'll have a look at some of the Forth words to extend it further. Do you have a native assembler for the G?

Paul
by pdr0663
13 Mar 2020, 10:57
Forum: Hardware and software hacking
Topic: A Forth for Gigatron?
Replies: 14
Views: 11416

Re: A Forth for Gigatron?

Here's my wishlist for Forth features: 1) SPI -> SD card 2) Simple file IO to read and write sequential files to and from the SD card. I applaud the efforts to implement Forth in the native assembly language, I think that's truly in the spirit of Forth and this machine. Thanks for all of the Forth e...