M0CUV,
@M0CUV@mastodon.radio avatar

I know exactly what the problem is with eForth: I’m testing manually by poring over emulator execution traces; I’m not writing tests. I know the inner interpreter and some code words work, so I guess I’ll have to write a test framework out of that, and then test the effects of every other word until I’ve worked it all out.

jemo07,

@M0CUV

Care to share? High level, just interested in the gotchas of implementations.

M0CUV,
@M0CUV@mastodon.radio avatar

@jemo07 Hello Jose, I’ve taken an “experimental, untested” port of the late Dr. Ting’s eForth for the Inmos Transputer, and am attempting to finish it, making it work on my portable Transputer emulator. The eForth kernel has ~30 words defined in assembler, and the rest is all in Forth. I’m struggling with the intricacies of the assembler-defined words. They all look OK, but once eForth starts booting, something goes wrong and it emits garbage to the console then causes a memory violation.

serichards,
@serichards@mas.to avatar

@M0CUV

Is there more than one eForth emulator knocking about?

M0CUV,
@M0CUV@mastodon.radio avatar

@serichards yes it has been ported to many systems, I’m thinking of getting a known-good DOS version (the initial version) installed to verify words I’ve converted to assembler.

vk6flab,
@vk6flab@mastodon.radio avatar

@M0CUV @serichards do you really need to go back to the dark ages of DOS? CP/M anyone?

Can you instead fire up Docker containers with different versions and compare notes?

M0CUV,
@M0CUV@mastodon.radio avatar

@vk6flab @serichards I’ve found a Linux i386 version!

vk6flab,
@vk6flab@mastodon.radio avatar

@M0CUV @serichards with qemu libraries installed, you can run that inside an i386 Docker container.

  • All
  • Subscribed
  • Moderated
  • Favorites
  • forth
  • DreamBathrooms
  • everett
  • InstantRegret
  • magazineikmin
  • thenastyranch
  • rosin
  • GTA5RPClips
  • Durango
  • Youngstown
  • slotface
  • khanakhh
  • kavyap
  • ngwrru68w68
  • tacticalgear
  • JUstTest
  • osvaldo12
  • tester
  • cubers
  • cisconetworking
  • mdbf
  • ethstaker
  • modclub
  • Leos
  • anitta
  • normalnudes
  • megavids
  • provamag3
  • lostlight
  • All magazines