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
Keyop
Sun May 5 19:26:27 2024
from
Huddersfield, West Yorkshire
via
SSH
Keyop
Sun May 5 19:26:11 2024
from
Huddersfield, West Yorkshire
via
SSH
Bob Worm
Mon May 6 11:44:29 2024
from
Wales, Uk
via
Telnet
Bob Worm
Tue May 7 09:06:52 2024
from
Wales, Uk
via
Telnet
System Info
Sysop:
Keyop
Location:
Huddersfield, West Yorkshire, UK
Users:
300
Nodes:
16 (
2
/
14
)
Uptime:
39:41:22
Calls:
6,708
Calls today:
1
Files:
12,241
Messages:
5,353,642