Close

The RetroChallenge Has Started

A project log for Fungesector

A Befunge-93 interpreter which runs on x86 real mode

louis-paulLouis Paul 10/02/2024 at 01:500 Comments

Now it's October 1st and the RetroChallenge has started (at least for my timezone). I spent the month of September doing research about the real mode, BIOS interrupts, 8086 assembly and how to build the Befunge-93 interpreter. Now with the research done I have a basic skeleton code which I can improve and add missing features.

Initially, the interpreter will be monochrome, I'll decide later if I'll add color to the program, because I'm more concerned about building and testing the interpreter to verify if it behaves accordingly to the spec rather than adding bells and whistles.

I updated the main image of the project page with the Fungesector title screen, the logo was made using the figlet command. And the background photo looks like gibberish, but it's Hunt the Wumpus, the most complex code written in Befunge-93 that I know (it occupies almost all playfield). The interpreter will be accomplished when I manage to play it.

I forgot one thing to tell about the tools used to develop the interpreter. How can I debug the code if the code had an error? I'll use Insight, which is a DOS program that can debug real-mode DOS programs. I can convert the second stage to a COM executable format and analyse it.

Discussions