Pop-Up Thingie
Sidebar
>>> Magnum BBS <<<
Home
Forum
Files
Dark
Log in
Username
Password
Sidebar
Forum
Usenet
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
Rixter
Tue Sep 15 12:01:35 2026
from
Madison, Nc
via
Telnet
Bob Worm
Tue Sep 15 11:25:46 2026
from
Wales, Uk
via
Telnet
Andrew Andrew
Tue Sep 15 02:46:28 2026
from
Chicago, Il
via
Telnet
Netmages
Tue Sep 15 01:13:15 2026
from
Santiago, Chile
via
SSH
Rixter
Tue Sep 15 00:01:34 2026
from
Madison, Nc
via
Telnet
Rixter
Mon Sep 14 12:01:34 2026
from
Madison, Nc
via
Telnet
Bob Worm
Mon Sep 14 08:34:31 2026
from
Wales, Uk
via
Telnet
Retrojimmyx
Mon Sep 14 00:27:04 2026
from
Derbyshire
via
Telnet
System Info
Sysop:
Keyop
Location:
Huddersfield, West Yorkshire, UK
Users:
765
Nodes:
16 (
1
/
15
)
Uptime:
02:53:02
Calls:
12,761
Calls today:
5
Files:
15,362
Messages:
6,557,012