permacomputing

Source repository for the main permacomputing wiki site
git clone http://git.permacomputing.net/repos/permacomputing.git # read-only access
Log | Files | Refs

commit 4e4329973c0876d5699e86a6f7cad6e1ff4c8984
parent 0736066708e07324b3f6e3429e56ea635978f46d
Author: neau <neau@web>
Date:   Wed, 22 Jun 2022 16:37:42 +0200

empty web commit

Diffstat:
MUxn.mdwn | 10+++++-----
1 file changed, 5 insertions(+), 5 deletions(-)

diff --git a/Uxn.mdwn b/Uxn.mdwn @@ -3,9 +3,7 @@ **Uxn** is a simple [[virtual machine]] geared towards graphical applications, with features reminiscent of classic home computers. -Unlike most "fantasy platforms" such as [[TIC-80]], Uxn was designed with an implementation-first mindset with a focus on creating portable tools and games for pre-existing devices(emulators exist even for devices such as the Gameboy Advance). - -The [[C]] implementation of the virtual machine is about 100 lines. A self-hosted assembler for the Uxntal assembly language is about 400 lines of Uxntal, and assembles to a 1200 bytes rom. +Unlike most "fantasy platforms", Uxn was designed with an implementation-first mindset with a focus on creating portable tools and games for pre-existing devices(see [[salvage computing]]). This stack-machine has 32 opcodes, no registers, Program Counter(PC), Memory(M), Devices(D) and Return Stack(rs). Given stack a b c, the c item being the last to be added, and the first to be removed: @@ -19,15 +17,17 @@ This stack-machine has 32 opcodes, no registers, Program Counter(PC), Memory(M), 07 a b c b 0f a b {rs.c} 17 a {D[c8]=b} 1f a b>>c8l<<c8h 2x a16 b16+c16 4x a b c {rs.b+rs.c} 8x a b c b+c +The [[C]] implementation of the virtual machine is about 100 lines. A self-hosted assembler for the Uxntal assembly language is about 400 lines of Uxntal, and assembles to a 1200 bytes rom. + Relationship to permacomputing: * Simplicity of implementation may make Uxn usable as a [[bedrock platform]] for the kind of programs that are small enough to run in it. Uxn applications are released as "roms" that have no [[dependencies|dependency]] other than the VM itself. * The design characteristics call for small applications that use little computing power. * The general issues with [[virtual machine]]s apply: running a virtualized program takes much more processing power than an equivalent native program would. It is therefore advisable to use VMs only for computationally simple applications. -Parts of the project are geared toward the specification of a [[Universal Virtual Computer]], such as the Uxn sign language, and its glyph writing system. +Parts of the project are geared toward the specification of a [[Universal Virtual Computer]], such as the Uxn sign language and writing system. It is capable of hosting [[Collapse OS]]. See also: * [Uxn at 100r.co](https://100r.co/site/uxn.html) -* [Uxn devlog at xxiivv.com](https://wiki.xxiivv.com/site/devlog.html) +* [Uxn at xxiivv.com](https://wiki.xxiivv.com/site/devlog.html)