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
Fred Blogs
Sun Nov 1 01:53:36 2026
from
Uk
via
SSH
Rixter
Sat Oct 31 23:01:35 2026
from
Madison, Nc
via
Telnet
Bob Worm
Sat Oct 31 21:42:41 2026
from
Wales, Uk
via
Telnet
Amstrad Ppc
Sat Oct 31 19:07:41 2026
from
Wiltshire
via
Telnet
Amstrad Ppc
Sat Oct 31 17:11:55 2026
from
Wiltshire
via
Telnet
Ashenfieldx
Sat Oct 31 16:47:35 2026
from
Guelph, Ontario
via
Telnet
Amstrad Ppc
Sat Oct 31 16:34:27 2026
from
Wiltshire
via
Telnet
Amstrad Ppc
Sat Oct 31 15:21:38 2026
from
Wiltshire
via
Telnet
System Info
Sysop:
Keyop
Location:
Huddersfield, West Yorkshire, UK
Users:
796
Nodes:
16 (
2
/
14
)
Uptime:
158:57:11
Calls:
13,194
Calls today:
1
Files:
15,485
Messages:
6,579,438