Pop-Up Thingie

>>> Magnum BBS <<<
  • Home
  • Forum
  • Files
  • Log in

  1. Forum
  2. Usenet
  3. COMP.LANG.FORTH
  • Writing a VM on top of gForth.

    From SpainHackForth@21:1/5 to All on Thu Dec 15 11:22:28 2022
    Hi all, just a little fun with Gforth, while it’s not working code, I wrote it : https://gist.githubusercontent.com/jemo07/ef81c852b08d8d4bb31b225300f2da78/raw/6650b9af51dfee69703b3199b9a118f1a884537c/uxn_jm.fs

    looking at the uxn code… https://git.sr.ht/~rabbits/uxn/tree/main/item/src/uxn.c

    I’m missing a couple of things, like reading the rom…. the case switch for the opcodes in hex, which should be part of the rom pase, sort of like:

    : parse-rom ( add u - - )
    begin
    token dup
    dup while
    case
    ‘0x00 of uxn_brk endof
    …
    endcase
    repeat
    ;

    etc, Would be great if some of the Forth Experts would chine in and give some ideas… make it work?

    --- SoupGate-Win32 v1.05
    * Origin: fsxNet Usenet Gateway (21:1/5)
  • Who's Online

  • Recent Visitors

    • Bob Worm
      Wed Jul 2 08:43:00 2025
      from Wales, Uk via Telnet
    • Dindjarin
      Wed Jul 2 06:31:28 2025
      from Mandalore via SSH
    • Dindjarin
      Wed Jul 2 06:16:35 2025
      from Mandalore via SSH
    • Dindjarin
      Wed Jul 2 05:31:07 2025
      from Mandalore via SSH
    • Dindjarin
      Wed Jul 2 05:23:25 2025
      from Mandalore via SSH
    • Dindjarin
      Wed Jul 2 02:18:23 2025
      from Mandalore via SSH
    • Dindjarin
      Wed Jul 2 02:06:28 2025
      from Mandalore via SSH
    • Bob Worm
      Tue Jul 1 14:38:17 2025
      from Wales, Uk via Telnet
  • System Info

    Sysop: Keyop
    Location: Huddersfield, West Yorkshire, UK
    Users: 503
    Nodes: 16 (2 / 14)
    Uptime: 235:06:32
    Calls: 9,885
    Calls today: 7
    Files: 13,794
    Messages: 6,206,960
    Posted today: 2

© >>> Magnum BBS <<<, 2025