retroforth/vm/nga-c-native-x86
crc 20d71b6840 add a:indices and a:indices/string ; rewrite a:index and a:index/string to use them ; add a:temp
FossilOrigin-Name: 64666568dec02f6900c053557be9adc73c3cdf7a8a2fa6d5730001e852fd7fe0
2023-03-20 13:58:11 +00:00
..
bin finish reorg of main sources 2019-11-22 18:30:02 +00:00
x86 fix build errors in native x86 c vm 2021-07-04 02:57:22 +00:00
386.ld finish reorg of main sources 2019-11-22 18:30:02 +00:00
386.s finish reorg of main sources 2019-11-22 18:30:02 +00:00
386flat.ld finish reorg of main sources 2019-11-22 18:30:02 +00:00
image.c new example: pali to html (based on muri-to-html) 2023-02-28 15:26:39 +00:00
Makefile add a:indices and a:indices/string ; rewrite a:index and a:index/string to use them ; add a:temp 2023-03-20 13:58:11 +00:00
README.md finish reorg of main sources 2019-11-22 18:30:02 +00:00
retro.c nga-c-native-x86: sys/limits -> limits 2021-07-04 03:01:22 +00:00

RETRO/NATIVE

This directory contains some experiments in building a RETRO system to run directly on hardware. As a stepping stone, it also includes some builds which require a host kernel, but no standard C library.

Initial Objectives:

  • Reuse as much of the existing VM implementation (in C) as possible.
  • Don't require a full blown kernel & userland to run
  • Work with a completely standard RETRO image
  • Minimally viable system: the basic listener (REPL)
  • Work on 32-bit x86 systems

Future Goals:

  • Support for more processors

    • x86-64
    • ARM (32-bit)
    • ARM (64-bit)
    • RISC-V
    • MIPS M4K (PIC32)

Current Status:

  • Working builds w/minimal host dependencies:

    • FreeBSD (32-bit, x86)
    • FreeBSD (64-bit, x86)
    • Linux (32-bit, x86)
    • Native (32-bit, x86, multiboot)