larsbrinkhoff / lbForth

Self-hosting metacompiled Forth, bootstrapping from a few lines of C; targets Linux, Windows, ARM, RISC-V, 68000, PDP-11, asm.js.
GNU General Public License v3.0
414 stars 113 forks source link

load-address #85

Closed Phi-Ho closed 3 years ago

Phi-Ho commented 3 years ago

It seems that "load-address" is missing for meta compiling?

larsbrinkhoff commented 3 years ago

load-address should be defined in a target-specific file. For example targets/x86/linux/params.fth has it set to 08048000.

Phi-Ho commented 3 years ago

Hello,

Thank you so much for your reply.

Please excuse my ignorance, would you please point me in the right direction as to how to find out these constants (they are defined as constants?) for Windows and RISC V

It is quite emotional when seeing your forth for PDP-1. I am strongly attached to PDP 8, 11, 16 and 10.

Best regards,

phiho

On Thu, Nov 12, 2020 at 2:28 AM Lars Brinkhoff notifications@github.com wrote:

load-address should be defined in a target-specific file. For example targets/x86/linux/params.fth has it set to 08048000.

— You are receiving this because you authored the thread. Reply to this email directly, view it on GitHub https://github.com/larsbrinkhoff/lbForth/issues/85#issuecomment-725894135, or unsubscribe https://github.com/notifications/unsubscribe-auth/ABDAWSWQF4AIHQJ3EIXX6W3SPOFB3ANCNFSM4TS5I6YA .

Phi-Ho commented 3 years ago

PS: Sorry, I found where these constants are defined.

On Thu, Nov 12, 2020 at 2:45 AM ph h hohoangphi@gmail.com wrote:

Hello,

Thank you so much for your reply.

Please excuse my ignorance, would you please point me in the right direction as to how to find out these constants (they are defined as constants?) for Windows and RISC V

It is quite emotional when seeing your forth for PDP-1. I am strongly attached to PDP 8, 11, 16 and 10.

Best regards,

phiho

On Thu, Nov 12, 2020 at 2:28 AM Lars Brinkhoff notifications@github.com wrote:

load-address should be defined in a target-specific file. For example targets/x86/linux/params.fth has it set to 08048000.

— You are receiving this because you authored the thread. Reply to this email directly, view it on GitHub https://github.com/larsbrinkhoff/lbForth/issues/85#issuecomment-725894135, or unsubscribe https://github.com/notifications/unsubscribe-auth/ABDAWSWQF4AIHQJ3EIXX6W3SPOFB3ANCNFSM4TS5I6YA .

larsbrinkhoff commented 3 years ago

I'm glad you found what you were looking for.

Some of the target directories are only half-baked ideas. For example, there is no working code for the PDP-1 or 10. There is a PDP-8 cross compiler in my xForth repository.