I've confirmed that I can edit bitmaps and tilemaps with these routines, they just need to be put into an interactive system, and with some stuff to drive the VDP.

The additions to the system stand at 400 lines of commented Forth, including:

* A "fast type" eZ80 assembly routine (using a OS call to blit bytes to VDP, which should really be put in the core Forth)
* Colorized memory dumps for better readability
* Memory arenas for use as safe scratchpad buffers
* Linear interpolation
* Line, rect, fillrect drawing that can indirect to a plotting routine
* 2D cursor that wraps the drawing commands as a dynamic instance
* 2D array with bounds checks

#forthlang #agon

👾 Romforth: Ultra Portable, Small, Baremetal Forth for various processors

「 So far, it has been ported to the following instruction sets: x86 (16-bit, 32-bit and 64-bit), PDP11, 68000, SPARC, Z80, MSP430, ARM64, RISC-V(rv32, rv64), WASM, Padauk, 6502, 8051, 6809, IBM 1130 」

https://github.com/romforth/romforth

#romforth #forth #forthlang #plt

GitHub - romforth/romforth: Ultra Portable, Small, Baremetal Forth for various processors

Ultra Portable, Small, Baremetal Forth for various processors - romforth/romforth

GitHub
Compiling a Forth

A bytecode compiler and VM for a Forth-like language.

I actually couldn't resist, and made a new version, with an added reference to the programming language #FORTH instead. ;)

"May FORTH be with Boo" on Imgur.com

#MayFourth #Boo #BaldursGate #MiniatureGiantSpaceHamster #Minsc #ForthLang

Credits:

May FORTH be with Boo

Imgur: The magic of the Internet

Imgur

Fooling around with Pforth in Termux on my 8 inch tablet :)
Wonderful to have a small Linux system on your mobile device!

#forthlang #forth #termux