brainm68k
amiga m68k bf 

所属分类:人工智能/神经网络/深度学习
开发工具:Brainfuck
文件大小:0KB
下载次数:0
上传日期:2023-03-22 10:22:59
上 传 者sh-1993
说明:  用于使用原始Amiga 1993 bfc版本的实用程序。在高炉中。,
(Utilities for working with the original Amiga 1993 bfc release. In bf.,)

文件列表:
data/ (0, 2023-03-22)
data/bad_cookie_03F4.bin (16, 2023-03-22)
data/bad_cookie_04F3.bin (16, 2023-03-22)
gen_bfc.bf (18843, 2023-03-22)
gengen.bf (2182, 2023-03-22)
m68kd.bf (1849, 2023-03-22)

# brainm68k [![bf tests](https://github.com/hornc/brainm68k/actions/workflows/bf_tests.yml/badge.svg)](https://github.com/hornc/brainm68k/actions/workflows/bf_tests.yml) In 1993 Urban Müller invented a Turing tarpit programming language for which he created a tiny 240 byte compiler for the Amiga. This repo collects some basic utilities, written in bf, for working with the original `bfc` compiler and its compiled output. * [m68kd.bf](m68kd.bf) decompiler: Takes an AmigaOS 2.0 executable generated by Urban Müller's original 240 byte bf compiler `bfc` and decompiles it back into bf source. * [gengen.bf](gengen.bf) generator: Takes a text (NULL terminated binary) or AmigaOS 2.0 executable file as input and outputs bf code to reproduce those bytes as output. * [gen_bfc.bf](gen_bfc.bf) `bfc` generator: Generated by `gengen.bf`. Outputs the `bfc` compiler AmigaOS executable. It compiles to 41,120 bytes using `bfc`, which is greater than its 32K `CODSIZE` limit and therefore overlaps the memory tape. The `gengen.bf` algorithm aligns it so the single utilised memory cell falls on an already NULL byte, which doesn't cause the program to crash despite the instruction pointer having to cross the tape and adjacent cells to read the full program. Assumes 8-bit wrapping cells. Tested using Urban Müller's 240 byte bf compiler `bfc` running under [vamos](https://github.com/cnvogelg/amitools/blob/master/docs/vamos.md) (virtual AmigaOS runtime) on Linux. ### Testing Another feature of this repo is its AmiNet and bf CI [github workflow](.github/workflows/bf_tests.yml). To test functionality, the workflow downloads `bfc` from ***AmiNet*** (it's still there!), and uses that in conjunction with the [vamos](https://github.com/cnvogelg/amitools/blob/master/docs/vamos.md) Amiga emulator to compile and run bf code and check the results are as expected. ### External resources * [Original AmiNet bf distribution.](https://aminet.net/package/dev/lang/brainfuck-2) * [AmiTools](https://github.com/cnvogelg/amitools), Python based tools for running AmigaOS executables on other platforms.

近期下载者

相关文件


收藏者